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 6, 2020
1 parent d8b26a0 commit 62d3155
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
@@ -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

0 comments on commit 62d3155

Please sign in to comment.