summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loaders/zpxe.rexx6
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'