diff options
author | Brad Hinson <bhinson@redhat.com> | 2009-02-26 07:32:43 -0500 |
---|---|---|
committer | James Laska <jlaska@redhat.com> | 2009-02-27 08:28:44 -0500 |
commit | dd3646b4b83186458e2c334dbcef0ea1d13cc7ed (patch) | |
tree | d8a5805fd0ae85721426ee98beea3f8fcd6cdcfc | |
parent | 8f6da233c9531929c78bd6069447945eeac4ca13 (diff) | |
download | cobbler-dd3646b4b83186458e2c334dbcef0ea1d13cc7ed.tar.gz cobbler-dd3646b4b83186458e2c334dbcef0ea1d13cc7ed.tar.xz cobbler-dd3646b4b83186458e2c334dbcef0ea1d13cc7ed.zip |
Accept a third argument in zpxe config file
-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' |