From a32bf4f09ff5381f8bdb311c137892ce60d13727 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sun, 3 Mar 2024 18:19:27 +0000 Subject: [PATCH] Start with an empty CD-ROM --- roles/home-cli/files/virtinst.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/home-cli/files/virtinst.sh b/roles/home-cli/files/virtinst.sh index 4033492..3d28b77 100755 --- a/roles/home-cli/files/virtinst.sh +++ b/roles/home-cli/files/virtinst.sh @@ -24,6 +24,10 @@ if ! [ -d "$_acp_vm_root" ] then mkdir -p "$_acp_vm_root" fi +if ! [ -f "$_acp_vm_root/empty.iso" ] +then + touch "$_acp_vm_root/empty.iso" +fi case "$_acp_vm_distro" in "debian") @@ -64,4 +68,6 @@ virt-install --connect $_acp_vm_session \ --video bochs \ --autoconsole none \ --import \ + --cdrom $_acp_vm_root/empty.iso \ + --boot menu=on \ --name "$@"