Uploaded image for project: 'Hybrid Cloud Infrastructure Documentation'
  1. Hybrid Cloud Infrastructure Documentation
  2. HCIDOCS-332

iPXE CLI instructions need improvement

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • Assisted Installer
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • True
    • HCIDOCS 2024#9
    • 1

      In https://access.redhat.com/documentation/en-us/assisted_installer_for_openshift_container_platform/2024/html/installing_openshift_container_platform_with_the_assisted_installer/assembly_booting-hosts-with-the-discovery-image#booting-hosts-using-ipxe_booting-hosts-with-the-discovery-image

      The instruction for using iPXE have CLI arguments like: 

      $ awk '/^initrd /{print $NF}' ipxe-script | curl -o initrd.img

      In step 2i and 2ii. In these situations, I believe it requires xargs. Additionally, it may benefit from -L for forwarding if the resource has been moved elsewhere. The following worked for me:

      $ awk '/^initrd /{print $NF}' ipxe-script | xargs curl -o initrd.img -L

      The following also worked: 

      $ awk '/^kernel /{print $2}' ipxe-script | xargs curl -o kernel -L

      Lastly, this worked too:

      $ grep ^kernel ipxe-script | xargs n1| grep ^coreos.live.rootfs_url | cut -d = -f 2 | xargs curl -o rootfs.img -L

       

            rhn-support-jowilkin John Wilkins
            rhn-support-jowilkin John Wilkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: