From 081138a776a8ac23c61749ef71277b26f6b886cc Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 15 Jul 2021 20:43:09 -0700 Subject: [PATCH] Adjust virt-install for network_connections versions of vars Signed-off-by: Kevin Fenzi --- inventory/group_vars/all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inventory/group_vars/all b/inventory/group_vars/all index b270392a84..23d1082426 100644 --- a/inventory/group_vars/all +++ b/inventory/group_vars/all @@ -114,8 +114,8 @@ virt_install_command_one_nic_unsafe: virt-install -n {{ inventory_hostname }} --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }},cache=unsafe,io=threads --vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x 'net.ifnames=0 inst.ksdevice=eth0 inst.ks={{ ks_url }} console=tty0 console=ttyS0 - hostname={{ inventory_hostname }} nameserver={{ dns }} - ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none' + hostname={{ inventory_hostname }} nameserver={{ dns1 }} + ip={{ eth0_ipv4 }}::{{ eth0_ipv4_gw }}:{{ eth0_ipv4_nm }}:{{ inventory_hostname }}:eth0:none' --network bridge={{ main_bridge }},model=virtio,mac={{ mac_address }} --autostart --noautoconsole --watchdog default --rng /dev/random --cpu host