From bfcbb1b70cb8fee7291db8ea151bfd82ed5027dd Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Thu, 6 Aug 2020 18:04:16 -0400 Subject: [PATCH] qemu: fix coreos-installer karg injection command This was changed to `coreos-installer iso appended-kargs` in later reviews: https://github.com/coreos/coreos-installer/pull/341 --- mantle/platform/qemu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mantle/platform/qemu.go b/mantle/platform/qemu.go index d1c8453188..b2b3674bed 100644 --- a/mantle/platform/qemu.go +++ b/mantle/platform/qemu.go @@ -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