From 88f5c6b4a5f4814a0f20a696251db4542d5ae174 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Mon, 25 Sep 2023 20:22:51 +0100 Subject: [PATCH] Create a serial console in VMs --- roles/home-cli/files/virtinst.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/home-cli/files/virtinst.sh b/roles/home-cli/files/virtinst.sh index 1a7f4ea..b1b7f00 100755 --- a/roles/home-cli/files/virtinst.sh +++ b/roles/home-cli/files/virtinst.sh @@ -43,6 +43,7 @@ virt-install --connect $_acp_vm_session \ --disk "$_acp_vm_root/$_acp_vm_name.qcow2,size=20" \ --graphics vnc \ --console pty,target.type=virtio \ + --serial pty \ --channel unix,target.type=virtio,target.name=org.qemu.guest_agent.0 \ --video virtio \ --autoconsole none \