From 02087054e86c1ef1761c6971a29e4c94596d501c Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 5 Jan 2018 19:42:50 +0000 Subject: [PATCH] Use cpu=host for now. This limits live migration thus needs to be reconsidered later. Signed-off-by: Patrick Uiterwijk --- inventory/group_vars/all | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inventory/group_vars/all b/inventory/group_vars/all index 1adcf0d772..2e13911491 100644 --- a/inventory/group_vars/all +++ b/inventory/group_vars/all @@ -78,7 +78,7 @@ virt_install_command_one_nic: virt-install -n {{ inventory_hostname }} hostname={{ inventory_hostname }} nameserver={{ dns }} ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none' --network bridge={{ main_bridge }},model=virtio - --autostart --noautoconsole --watchdog default + --autostart --noautoconsole --watchdog default --cpu host virt_install_command_two_nic: virt-install -n {{ inventory_hostname }} --memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio @@ -89,7 +89,7 @@ virt_install_command_two_nic: virt-install -n {{ inventory_hostname }} ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none ip={{ eth1_ip }}:::{{ nm }}:{{ inventory_hostname }}-nfs:eth1:none' --network bridge={{ main_bridge }},model=virtio --network=bridge={{ nfs_bridge }},model=virtio - --autostart --noautoconsole --watchdog default + --autostart --noautoconsole --watchdog default --cpu host virt_install_command_aarch64_one_nic: virt-install -n {{ inventory_hostname }} --memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio @@ -128,7 +128,7 @@ virt_install_command_rhel6: virt-install -n {{ inventory_hostname }} --vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x "ksdevice=eth0 ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }} gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0 - hostname={{ inventory_hostname }}" + hostname={{ inventory_hostname }}" --cpu host --network=bridge=br0 --autostart --noautoconsole --watchdog default max_mem_size: "{{ mem_size * 5 }}"