Sha256: d68256dd32875b0e6d257f4ada90341c7b518e51d3262d4be091c4531404df55

Contents?: true

Size: 1.46 KB

Versions: 8

Compression:

Stored size: 1.46 KB

Contents

# export-autoyast — Export System Description as AutoYasST profile

## Synopsis

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

`machinery` help export-autoyast

## Description

The `export-autoyast` subcommand exports a stored system description as an 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 an existing output directory.

## 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

8 entries across 8 versions & 1 rubygems

Version Path
machinery-tool-1.24.1 manual/docs/docs/machinery-export-autoyast.1.md
machinery-tool-1.24.0 manual/docs/machinery-export-autoyast.1.md
machinery-tool-1.23.1 manual/docs/machinery-export-autoyast.1.md
machinery-tool-1.23.0 manual/docs/machinery-export-autoyast.1.md
machinery-tool-1.22.3 manual/docs/machinery-export-autoyast.1.md
machinery-tool-1.22.2 manual/docs/machinery-export-autoyast.1.md
machinery-tool-1.22.1 manual/docs/machinery-export-autoyast.1.md
machinery-tool-1.22.0 manual/docs/machinery-export-autoyast.1.md