Skip to content

Commit 226dbc8

Browse files
committed
platform/metal: update coreos-installer iso extract minimal-iso call
This matches the latest syntax supported by coreos/coreos-installer#559.
1 parent 05005a4 commit 226dbc8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mantle/platform/metal.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,7 @@ func (inst *Install) InstallViaISOEmbed(kargs []string, liveIgnition, targetIgni
646646
// of the test workflow, but that's complex... Sadly, probably easiest is to spin up
647647
// a VM just to get the minimal ISO.
648648
cmd := exec.Command("coreos-installer", "iso", "extract", "minimal-iso", srcisopath,
649-
"--output", minisopath, "--rootfs-output", rootfs_path,
650-
"--rootfs-url", baseurl+"/rootfs.img")
649+
minisopath, "--output-rootfs", rootfs_path, "--rootfs-url", baseurl+"/rootfs.img")
651650
cmd.Stderr = os.Stderr
652651
if err := cmd.Run(); err != nil {
653652
return nil, errors.Wrapf(err, "running coreos-installer iso extract minimal")

0 commit comments

Comments
 (0)