From 12ce30e20205ef4c6a70835205e4fbb9fd2da476 Mon Sep 17 00:00:00 2001 From: Brielle Bruns Date: Wed, 19 Feb 2020 09:19:51 -0700 Subject: [PATCH] Fix for newer versions of qemu and virt-install that use q35 by default, which seems to break cloud-init... --- virt-install-cloud.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/virt-install-cloud.sh b/virt-install-cloud.sh index 9fb5d6d..fb799df 100755 --- a/virt-install-cloud.sh +++ b/virt-install-cloud.sh @@ -1,8 +1,8 @@ #!/bin/bash # Heavily Modified Script By: Brielle Bruns -# Date: 10/30/2019 +# Date: 02/19/2020 # URL: https://git.sosdg.org/brielle/virt-install-cloud -# Version: 1.1.2 +# Version: 1.1.3 # # Originally based on: # virt-install-cloud.sh : script to start an OpenStack cloud image on kvm @@ -215,6 +215,7 @@ echo "Creating guest ${hostname}.${domain}..." virt-install \ --name ${hostname}.${domain} \ --cpu ${cpumodel} \ + --machine pc \ --memory ${ram} \ --vcpus=${cpucount} \ --noautoconsole \