-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
2
-
False
-
-
True
-
-
-
HCIDOCS 2024#9
-
1
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