Pass CGI arguments to kickstart - Bring back uristring encoding?
|
2015-05-19, 03:31
Post: #1
|
|||
|
|||
Pass CGI arguments to kickstart - Bring back uristring encoding?
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? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Pass CGI arguments to kickstart - Bring back uristring encoding? - nichivo - 2015-05-19 03:31
RE: Pass CGI arguments to kickstart - Bring back uristring encoding? - NiKiZe - 2015-06-02, 23:56
RE: Pass CGI arguments to kickstart - Bring back uristring encoding? - nichivo - 2015-06-05, 03:13
|
User(s) browsing this thread: 1 Guest(s)