Skip to content

Commit

Permalink
Merge pull request #31 from AkihiroSuda/dev-nogui
Browse files Browse the repository at this point in the history
qemu: -boot splash-time=0,menu=on
  • Loading branch information
AkihiroSuda authored May 21, 2021
2 parents 77fdb5e + 2c7974e commit 41fd9cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/qemu/qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ func Cmdline(cfg Config) (string, []string, error) {
} else if y.Arch != limayaml.X8664 {
logrus.Warnf("field `firmware.legacyBIOS` is not supported for architecture %q, ignoring", y.Arch)
}
args = append(args, "-boot", "order=c,splash-time=0,menu=on")

// Root disk
args = append(args, "-drive", fmt.Sprintf("file=%s,if=virtio", filepath.Join(cfg.InstanceDir, "diffdisk")))
args = append(args, "-boot", "c")

// cloud-init
args = append(args, "-cdrom", filepath.Join(cfg.InstanceDir, "cidata.iso"))
Expand Down

0 comments on commit 41fd9cc

Please sign in to comment.