From 2c7974eefacd05057c3cabc165da0389c92c502d Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Fri, 21 May 2021 14:58:27 +0900 Subject: [PATCH] qemu: -boot splash-time=0,menu=on Thanks to Tarik02 for suggestion. Close #25 Signed-off-by: Akihiro Suda --- pkg/qemu/qemu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/qemu/qemu.go b/pkg/qemu/qemu.go index c13268073f1..83298d1445f 100644 --- a/pkg/qemu/qemu.go +++ b/pkg/qemu/qemu.go @@ -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"))