virt-install: try this.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2019-11-21 01:01:53 +00:00 committed by Pierre-Yves Chibon
parent 1dde1b519a
commit 41f9c3ebcf

View file

@ -119,9 +119,8 @@ virt_install_command_two_nic_unsafe: virt-install -n {{ inventory_hostname }}
--memory={{ mem_size }},maxmemory={{ max_mem_size }} --memballoon virtio
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }},cache=unsafe,io=threads
--vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x
'net.ifnames=0 ipv6.disable=1 ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
'net.ifnames=0 ks={{ ks_url }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }} nameserver={{ dns }}
ip={{ eth1_ip }}:::{{ nm }}:{{ inventory_hostname_short }}-nfs:eth1:off
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:off'
--network bridge={{ main_bridge }},model=virtio,mac={{ mac_address }}
--network bridge={{ nfs_bridge }},model=virtio,mac={{ mac_address1 }}