Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-109046

virt-install(1) possibly outdated documentation for --extra-args and kickstarter

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • virt-manager
    • No
    • Low
    • rhel-virt-core-libvirt-2
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Nowadays, passing a kickstarter file requires something like:

      $ virt-install ... --extra-args "inst.ks=file://kickstart.ks.template" ...

      Note the prepended "inst." before "ks".

      However, the man page of virt-install says:

      $ man 1 virt-install

         -x, --extra-args
             Syntax: -x, --extra-args KERNELARGS

             Additional  kernel  command line arguments to pass to the installer when performing a guest install from --location. One common usage is specifying
             an anaconda kickstart file for automated installs, such as --extra-args "ks=https://myserver/my.ks"

      which is without the required "inst" keyword. More recent versions of Anaconda no longer seem to pick this parameter up without the "inst" keyword, which could cause the installation to become stuck without the user noticing immediately. It might be beneficial to update the man page to include the necessary 'inst' keyword in some form.

      This is obviously a very minor inconvenience, but I thought I might still create a Jira issue just in case anyway.

              phrdina@redhat.com Pavel Hrdina
              rh-ee-mweckbec Matthias Weckbecker
              virt-maint virt-maint
              Hongzhou Liu Hongzhou Liu
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: