Skip to content

Commit

Permalink
Change --initrd <filename> to be a single argument. (#128)
Browse files Browse the repository at this point in the history
Apparently the "--initrd <filename>" syntax does not work on the PLC
SafeBoot system, likely due to an older kexec version.

"--initrd=<filename>" worked when run manually in SafeBoot.
  • Loading branch information
robertodauria authored Jul 10, 2019
1 parent 02d0d04 commit 06b63b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions actions/stage3_coreos/stage1to2.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
"/sbin/kexec",
"--force",
"--command-line={{.vars.kargs}} {{.vars.cmdline}}",
"--initrd",
"{{.files.initram.name}}",
"--initrd={{.files.initram.name}}",
"{{.files.vmlinuz.name}}"
]
]
Expand Down
3 changes: 1 addition & 2 deletions actions/stage3_mlxupdate/stage1to2.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
"/sbin/kexec",
"--force",
"--command-line={{.vars.kargs}} {{.vars.cmdline}}",
"--initrd",
"{{.files.initram.name}}",
"--initrd={{.files.initram.name}}",
"{{.files.vmlinuz.name}}"
]
]
Expand Down

0 comments on commit 06b63b4

Please sign in to comment.