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
8
config
8
config
|
@ -28,4 +28,10 @@ nameserver1="8.8.8.8"
|
|||
nameserver2="1.1.1.1"
|
||||
|
||||
# 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
|
||||
# Heavily Modified Script By: Brielle Bruns
|
||||
# Date: 05/13/2018
|
||||
# Date: 06/08/2018
|
||||
# URL: https://git.sosdg.org/brielle/virt-install-cloud
|
||||
# Version: 1.0
|
||||
# Version: 1.1
|
||||
#
|
||||
# Originally based on:
|
||||
# virt-install-cloud.sh : script to start an OpenStack cloud image on kvm
|
||||
# version : 1.2
|
||||
# version : 1.2.1
|
||||
#
|
||||
# Author : Claude Durocher
|
||||
# License : GPLv3
|
||||
|
@ -214,7 +214,7 @@ fi
|
|||
echo "Creating guest ${hostname}.${domain}..."
|
||||
virt-install \
|
||||
--name ${hostname}.${domain} \
|
||||
--cpu host \
|
||||
--cpu ${cpumodel} \
|
||||
--memory ${ram} \
|
||||
--vcpus=${cpucount} \
|
||||
--noautoconsole \
|
||||
|
|
Loading…
Reference in New Issue