Add cpumodel setting to config to work around an issue we've seen possibly related to RH bug 1439933 that impacts deb 9 as well
parent
4e6f63bd08
commit
5d6e58b363
6
config
6
config
|
@ -29,3 +29,9 @@ nameserver2="1.1.1.1"
|
||||||
|
|
||||||
# Create ISO via method (genisoimage, xorriso, or cloud-localds)
|
# Create ISO via method (genisoimage, xorriso, or cloud-localds)
|
||||||
iso_method="xorriso"
|
iso_method="xorriso"
|
||||||
|
|
||||||
|
# CPU model to present to guests
|
||||||
|
# Options: specific cpu type, host-passthrough, host, host-model-only
|
||||||
|
# By default, we'll use host-passthrough since it offers the best perfs for the guests
|
||||||
|
# Don't use host-passthrough if you intend to migrate guests to different hw types live
|
||||||
|
cpumodel="host-passthrough"
|
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Heavily Modified Script By: Brielle Bruns
|
# Heavily Modified Script By: Brielle Bruns
|
||||||
# Date: 05/13/2018
|
# Date: 06/08/2018
|
||||||
# URL: https://git.sosdg.org/brielle/virt-install-cloud
|
# URL: https://git.sosdg.org/brielle/virt-install-cloud
|
||||||
# Version: 1.0
|
# Version: 1.1
|
||||||
#
|
#
|
||||||
# Originally based on:
|
# Originally based on:
|
||||||
# virt-install-cloud.sh : script to start an OpenStack cloud image on kvm
|
# virt-install-cloud.sh : script to start an OpenStack cloud image on kvm
|
||||||
# version : 1.2
|
# version : 1.2.1
|
||||||
#
|
#
|
||||||
# Author : Claude Durocher
|
# Author : Claude Durocher
|
||||||
# License : GPLv3
|
# License : GPLv3
|
||||||
|
@ -214,7 +214,7 @@ fi
|
||||||
echo "Creating guest ${hostname}.${domain}..."
|
echo "Creating guest ${hostname}.${domain}..."
|
||||||
virt-install \
|
virt-install \
|
||||||
--name ${hostname}.${domain} \
|
--name ${hostname}.${domain} \
|
||||||
--cpu host \
|
--cpu ${cpumodel} \
|
||||||
--memory ${ram} \
|
--memory ${ram} \
|
||||||
--vcpus=${cpucount} \
|
--vcpus=${cpucount} \
|
||||||
--noautoconsole \
|
--noautoconsole \
|
||||||
|
|
Loading…
Reference in New Issue