Skip to content

Commit

Permalink
qemu: fix coreos-installer karg injection command
Browse files Browse the repository at this point in the history
This was changed to `coreos-installer iso appended-kargs` in later
reviews:

coreos/coreos-installer#341
  • Loading branch information
jlebon committed Aug 8, 2020
1 parent 7bae90e commit bfcbb1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mantle/platform/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ func (builder *QemuBuilder) setupIso() error {
builder.configInjected = true

consoleArg := fmt.Sprintf("console=%s", consoleKernelArgument[system.RpmArch()])
instCmdKargs := exec.Command("coreos-installer", "iso", "embed-kargs", "--kargs", consoleArg, isoEmbeddedPath)
instCmdKargs := exec.Command("coreos-installer", "iso", "appended-kargs", "embed", "--kargs", consoleArg, isoEmbeddedPath)
instCmdKargs.Stderr = os.Stderr
if err := instCmdKargs.Run(); err != nil {
// Don't make this a hard error yet; we may be operating on an old
Expand Down

0 comments on commit bfcbb1b

Please sign in to comment.