Turns out the current version of linux-system-roles network doesn't like setting ipv6 no and setting search domains since NetworkManager wants to set them for both ipv4 and ipv6. There's some upstream fix, but not in our current version. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2.8 KiB
— datacenter: rdu-cc dns1: 8.8.8.8 dns2: 8.8.4.4 eth0_ipv4: 8.43.85.49 eth0_ipv4_gw: 8.43.85.254 eth0_ipv4_nm: 23 eth1_ipv4: 172.23.1.3 eth1_ipv4_nm: 24 eth2_ipv4: 172.23.5.3 eth2_ipv4_nm: 24 freezes: false has_ipv4: yes ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL8-x86_64/ ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-8-ext lvm_size: 20000 mac0: 52:54:00:46:ed:ba mac1: 52:54:00:24:8e:bc mac2: 52:54:00:d6:ab:66 mem_size: 8192 network_connections:
-
autoconnect: yes ip: address:
- "{{ eth0_ipv4 }}/{{ eth0_ipv4_nm }}"
dhcp4: no dns:
- "{{ dns1 }}"
- "{{ dns2 }}"
dns_search:
- rdu-cc.fedoraproject.org
- fedoraproject.org
gateway4: "{{ eth0_ipv4_gw }}" mac: "{{ mac0 }}" name: eth0 type: ethernet
-
autoconnect: yes ip: address:
- "{{ eth1_ipv4 }}/{{ eth1_ipv4_nm }}"
dhcp4: no mac: "{{ mac1 }}" name: eth1 type: ethernet
-
autoconnect: yes ip: address:
- "{{ eth2_ipv4 }}/{{ eth2_ipv4_nm }}"
dhcp4: no mac: "{{ mac2 }}" name: eth2 type: ethernet
num_cpus: 4 public_hostname: cloud-noc-os01.rdu-cc.fedoraproject.org tcp_ports: ['67', '68'] udp_ports: ['67', '68', '69'] virt_install_command: virt-install -n {{ inventory_hostname }} –memory={{ mem_size }},maxmemory={{ max_mem_size }} –memballoon virtio –disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} –vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x 'net.ifnames=0 ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0 hostname={{ inventory_hostname }} nameserver={{ dns1 }} ip={{ eth0_ipv4 }}::{{ eth0_ipv4_gw }}:{{ eth0_ipv4_nm }}:{{ inventory_hostname }}:eth0:none ip={{ eth1_ipv4 }}:::{{ eth1_ipv4_nm }}:{{ inventory_hostname_short }}-nfs:eth1:none' –network bridge={{ main_bridge }},model=virtio,mac={{ mac0 }} –network=bridge={{ nfs_bridge }},model=virtio,mac={{ mac1 }} –autostart –noautoconsole –watchdog default –rng /dev/random virt_install_command_two_nic: virt-install -n {{ inventory_hostname }} –memory={{ mem_size }},maxmemory={{ max_mem_size }} –memballoon virtio –disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} –vcpus={{ num_cpus }},maxvcpus={{ max_cpu }} -l {{ ks_repo }} -x 'net.ifnames=0 ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0 hostname={{ inventory_hostname }} nameserver={{ dns }} ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none ip={{ eth1_ip }}:::{{ nm }}:{{ inventory_hostname_short }}-nfs:eth1:none' –network bridge={{ main_bridge }},model=virtio,mac={{ mac0 }} –network=bridge={{ nfs_bridge }},model=virtio,mac={{ mac1 }} –autostart –noautoconsole –watchdog default –rng /dev/random vmhost: vmhost-x86-cc05.rdu-cc.fedoraproject.org volgroup: /dev/rhel_vmhost-x86-05 vpn: true