Skip to content

Latest commit

 

History

History
162 lines (112 loc) · 4.81 KB

pxe.md

File metadata and controls

162 lines (112 loc) · 4.81 KB
parent nav_order
Command line reference
5

coreos-installer pxe

{: .no_toc }

  1. TOC {:toc}

coreos-installer pxe customize

Create a custom live PXE boot config

Usage: coreos-installer pxe customize [OPTIONS] --output <path> <path>

Arguments:
  <path>
          CoreOS live initramfs image

Options:
      --dest-ignition <path>
          Ignition config fragment for dest sys

          Automatically run installer and merge the specified Ignition config into the config
          for the destination system.

      --dest-device <path>
          Install destination device

          Automatically run installer, installing to the specified destination device.  The
          resulting boot media will overwrite the destination device without confirmation.

      --dest-console <spec>
          Kernel and bootloader console for dest

          Automatically run installer, configuring the specified kernel and bootloader console
          for the destination system.  The argument uses the same syntax as the parameter to
          the "console=" kernel argument.

      --dest-karg-append <arg>
          Destination kernel argument to append

          Automatically run installer, adding the specified kernel argument for every boot of
          the destination system.

      --dest-karg-delete <arg>
          Destination kernel argument to delete

          Automatically run installer, deleting the specified kernel argument for every boot of
          the destination system.

      --network-keyfile <path>
          NetworkManager keyfile for live & dest

          Configure networking using the specified NetworkManager keyfile. Network settings
          will be applied in the live environment, including when Ignition is run.  If
          installer is enabled via additional options, network settings will also be applied in
          the destination system, including when Ignition is run.

      --network-nmstate <path>
          Nmstate file for live & dest

          Configure networking using NetworkManager keyfiles generated from the specified
          Nmstate files. Network settings will be applied in the live environment, including
          when Ignition is run.  If installer is enabled via additional options, network
          settings will also be applied in the destination system, including when Ignition is
          run.

      --ignition-ca <path>
          Ignition PEM CA bundle for live & dest

          Specify additional TLS certificate authorities to be trusted by Ignition, in PEM
          format.  Authorities will be trusted by Ignition in the live environment and, if
          installer is enabled via additional options, in the destination system.

      --pre-install <path>
          Script to run before installation

          If installer is run at boot, run this script before installation. If the script
          fails, the live environment will stop at an emergency shell.

      --post-install <path>
          Script to run after installation

          If installer is run at boot, run this script after installation. If the script fails,
          the live environment will stop at an emergency shell.

      --installer-config <path>
          Installer config file

          Automatically run coreos-installer and apply the specified installer config file.
          Config files are applied in the order that they are specified.

      --live-ignition <path>
          Ignition config fragment for live env

          Merge the specified Ignition config into the config for the live environment.

  -o, --output <path>
          Output file

  -h, --help
          Print help (see a summary with '-h')

coreos-installer pxe ignition wrap

Wrap an Ignition config in an initrd image

Usage: coreos-installer pxe ignition wrap [OPTIONS]

Options:
  -i, --ignition-file <path>  Ignition config to wrap [default: stdin]
  -o, --output <path>         Write to a file instead of stdout
  -h, --help                  Print help

coreos-installer pxe ignition unwrap

Show the wrapped Ignition config in an initrd image

Usage: coreos-installer pxe ignition unwrap [initrd]

Arguments:
  [initrd]  initrd image [default: stdin]

Options:
  -h, --help  Print help

coreos-installer pxe network wrap

Wrap network settings in an initrd image

Usage: coreos-installer pxe network wrap [OPTIONS] --keyfile <path>

Options:
  -k, --keyfile <path>  NetworkManager keyfile to embed
  -o, --output <path>   Write to a file instead of stdout
  -h, --help            Print help

coreos-installer pxe network unwrap

Extract wrapped network settings from an initrd image

Usage: coreos-installer pxe network unwrap [OPTIONS] [initrd]

Arguments:
  [initrd]  initrd image [default: stdin]

Options:
  -C, --directory <path>  Extract to directory instead of stdout
  -h, --help              Print help