Skip to content

Commit

Permalink
platform/metal: update coreos-installer iso extract minimal-iso call
Browse files Browse the repository at this point in the history
This matches the latest syntax supported by
coreos/coreos-installer#559.
  • Loading branch information
jlebon committed Nov 5, 2021
1 parent b1f80e5 commit 4eaab3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mantle/platform/metal.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,8 +646,7 @@ func (inst *Install) InstallViaISOEmbed(kargs []string, liveIgnition, targetIgni
// of the test workflow, but that's complex... Sadly, probably easiest is to spin up
// a VM just to get the minimal ISO.
cmd := exec.Command("coreos-installer", "iso", "extract", "minimal-iso", srcisopath,
"--output", minisopath, "--rootfs-output", rootfs_path,
"--rootfs-url", baseurl+"/rootfs.img")
minisopath, "--output-rootfs", rootfs_path, "--rootfs-url", baseurl+"/rootfs.img")
cmd.Stderr = os.Stderr
if err := cmd.Run(); err != nil {
return nil, errors.Wrapf(err, "running coreos-installer iso extract minimal")
Expand Down

0 comments on commit 4eaab3c

Please sign in to comment.