diff options
author | Brad Hinson <bhinson@redhat.com> | 2009-02-26 07:32:43 -0500 |
---|---|---|
committer | James Laska <jlaska@redhat.com> | 2009-03-03 11:42:26 -0500 |
commit | 7f1bc9f53ee9fc837cf10e69b1d577689ec6542d (patch) | |
tree | 8d80fc6a487321a63d40bffbef364db7f7579cc9 /loaders | |
parent | 46cde3d149b2a5205bbbbe433762fe27fb1a5abe (diff) | |
download | cobbler-7f1bc9f53ee9fc837cf10e69b1d577689ec6542d.tar.gz cobbler-7f1bc9f53ee9fc837cf10e69b1d577689ec6542d.tar.xz cobbler-7f1bc9f53ee9fc837cf10e69b1d577689ec6542d.zip |
Accept a third argument in zpxe config file
Diffstat (limited to 'loaders')
-rw-r--r-- | loaders/zpxe.rexx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/loaders/zpxe.rexx b/loaders/zpxe.rexx index 3ce6f576..257c28a6 100644 --- a/loaders/zpxe.rexx +++ b/loaders/zpxe.rexx @@ -231,11 +231,15 @@ DownloadBinaries: say 'Downloading kernel ['kernelpath']...' call GetTFTP kernelpath 'kernel.img.t' octet - inputline = linein(profiledetail) /* next line is initrd */ + inputline = linein(profiledetail) /* second line is initrd */ parse var inputline initrdpath say 'Downloading initrd ['initrdpath']...' call GetTFTP initrdpath 'initrd.img.t' octet + inputline = linein(profiledetail) /* third line is ks kernel arg */ + parse var inputline ksline + call lineout zpxeparm, ksline /* add ks line to end of parm */ + /* convert to fixed record length */ 'pipe < KERNEL IMG T | fblock 80 00 | > KERNEL IMG T' 'pipe < INITRD IMG T | fblock 80 00 | > INITRD IMG T' |