Skip to content

Commit 41fd9cc

Browse files
authored
Merge pull request #31 from AkihiroSuda/dev-nogui
qemu: -boot splash-time=0,menu=on
2 parents 77fdb5e + 2c7974e commit 41fd9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/qemu/qemu.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ func Cmdline(cfg Config) (string, []string, error) {
127127
} else if y.Arch != limayaml.X8664 {
128128
logrus.Warnf("field `firmware.legacyBIOS` is not supported for architecture %q, ignoring", y.Arch)
129129
}
130+
args = append(args, "-boot", "order=c,splash-time=0,menu=on")
130131

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

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

0 commit comments

Comments
 (0)