Sha256: 5bb2bbce610ee6c804f0ecea2157ffce3e323ab77c92044c92c79e98edd70315

Contents?: true

Size: 1.45 KB

Versions: 4

Compression:

Stored size: 1.45 KB

Contents

# export-autoyast — Export System Description as AutoYasST profile

## SYNOPSIS

`machinery export-autoyast` -a | --autoyast-dir NAME
   --force

`machinery` help export-autoyast


## DESCRIPTION

The `export-autoyast` subcommand exports a stored system description as a AutoYaST
profile.


## ARGUMENTS

  * `NAME` (required):
    Name of the system description.


## OPTIONS

  * `-a AUTOYAST_DIR`, `--autoyast-dir=AUTOYAST_DIR` (required):
    Write the AutoYaST profile to a subdirectory at the specified directory. The directory
    will be created if it does not exist yet.

  * `--force` (optional):
    Overwrite existing system description


## SYSTEM REGISTRATION

  * To register a SLES 12 system automatically with AutoYaST, it is required to
    edit the generated profile. The following example registers the system with
    the SUSE Customer Center.

```xml
<suse_register>
  <do_registration config:type="boolean">true</do_registration>
  <email>tux@example.com</email>
  <reg_code>MY_SECRET_REGCODE</reg_code>
  <install_updates config:type="boolean">true</install_updates>
  <slp_discovery config:type="boolean">false</slp_discovery>
</suse_register>
```

  * More information can be found at the SUSE AutoYaST documentation.
    https://www.suse.com/documentation/sles-12/singlehtml/book_autoyast/book_autoyast.html


## EXAMPLES

 * Export the `myhost` system description to `/tmp/myhost-autoyast`:

    $ `machinery` export-autoyast myhost --autoyast-dir=/tmp

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
machinery-tool-1.21.0 manual/docs/machinery-export-autoyast.1.md
machinery-tool-1.20.0 manual/docs/machinery-export-autoyast.1.md
machinery-tool-1.19.0 manual/docs/machinery-export-autoyast.1.md
machinery-tool-1.18.0 manual/docs/machinery-export-autoyast.1.md