2015-05-19, 03:31
I'm migrating from PXELINUX and currently pass CGI parameters to a CentOS kickstart file dynamically generated by PHP. iPXE 1.0.0 works fine but the latest git release no longer supports uristring as removed by:
https://git.ipxe.org/ipxe.git/commit/09b...46d875cdf4
I think git iPXE automatically URI encodes the first argument to the kernel command which is usually vmlinuz. But I want to pass the parameters onto the kickstart.
Here is a simplified extract of what I'm trying to do:
# read custom settings
echo -n Use RAID [0|1]: ${} && read raid
echo -n Use LVM [0|1]: ${} && read lvm
# create query string
set query raid=${raid:uristring}
set query ${query}&lvm=${lvm:uristring}
kernel centos7/vmlinuz root=live:centos7/squashfs.img ks=${base-url}/ks/ks7.php?${query}
Am I stuck with 1.0.0 or is there a better way to pass args to the kickstart?
https://git.ipxe.org/ipxe.git/commit/09b...46d875cdf4
I think git iPXE automatically URI encodes the first argument to the kernel command which is usually vmlinuz. But I want to pass the parameters onto the kickstart.
Here is a simplified extract of what I'm trying to do:
# read custom settings
echo -n Use RAID [0|1]: ${} && read raid
echo -n Use LVM [0|1]: ${} && read lvm
# create query string
set query raid=${raid:uristring}
set query ${query}&lvm=${lvm:uristring}
kernel centos7/vmlinuz root=live:centos7/squashfs.img ks=${base-url}/ks/ks7.php?${query}
Am I stuck with 1.0.0 or is there a better way to pass args to the kickstart?