host: vmhost0: Set host-specific network config

*vmhost0.pyrocufflink.blue* no longer uses `dhcpcd` for network
configuration, but *systemd-networkd*.

The host-specific network settings for a VM host include the
configuration for the management interface, as well as the configuration
of the physical ports that make up the bonded interfaces.
jenkins-master
Dustin 2021-10-10 12:08:49 -05:00
parent 55920c0025
commit 3f49175c1d
2 changed files with 46 additions and 10 deletions

View File

@ -1,13 +1,48 @@
dhcpcd_nodev: true
dhcpcd_allow_interfaces:
- enp5s0
- bond1
dhcpcd_interfaces:
- name: bond1
config:
- noipv4
- static ip6_address=fd68:c2d2:500e:3ea3:3c35:bbaf:f9a3:ad9a/64
storage_iface: bond1
storage_net_address: fd68:c2d2:500e:3ea3:3c35:bbaf:f9a3:ad9a/64
networkd_networks:
- name: 30-enp5s0
Match:
Name: enp5s0
Network:
Address: 172.30.0.18/26
Gateway: 172.30.0.1
DNS: 172.30.0.4
- name: 35-enp6s0f0
Match:
Name: enp6s0f0
Network:
Description: Storage NIC bonded port 0
Bond: bond1
DHCP: 'no'
LinkLocalAddressing: 'no'
- name: 35-enp6s0f1
Match:
Name: enp6s0f1
Network:
Description: Storage NIC bonded port 0
Bond: bond1
DHCP: 'no'
LinkLocalAddressing: 'no'
- name: 35-enp7s0f0
Match:
Name: enp7s0f0
Network:
Description: VM NIC bonded port 0
Bond: bond0
DHCP: 'no'
LinkLocalAddressing: 'no'
- name: 35-enp7s0f1
Match:
Name: enp7s0f1
Network:
Description: VM NIC bonded port 1
Bond: bond0
DHCP: 'no'
LinkLocalAddressing: 'no'
samba_interfaces:
- enp5s0
collectd_network_servers:

View File

@ -21,6 +21,7 @@ koji0.pyrocufflink.blue
koji0.pyrocufflink.blue
[networkd]
vmhost0.pyrocufflink.blue
[pyrocufflink]
koji0.pyrocufflink.blue