1.0.0 Release IaaS
This commit is contained in:
5
config/node/common/networkd/00-eth0.link
Normal file
5
config/node/common/networkd/00-eth0.link
Normal file
@@ -0,0 +1,5 @@
|
||||
[Match]
|
||||
MACAddress={{ hostvars[target_vm]['vm']['lan_mac'] }}
|
||||
|
||||
[Link]
|
||||
Name=eth0
|
||||
13
config/node/common/networkd/20-eth0.network
Normal file
13
config/node/common/networkd/20-eth0.network
Normal file
@@ -0,0 +1,13 @@
|
||||
[Match]
|
||||
Name=eth0
|
||||
|
||||
[Network]
|
||||
# IPv4
|
||||
Address={{ hostvars['fw']['network4'][target_vm]['server'] }}/24
|
||||
Gateway={{ hostvars['fw']['network4']['firewall']['server'] }}
|
||||
DNS={{ hostvars['fw']['network4']['blocky']['server'] }}
|
||||
# IPv6
|
||||
IPv6AcceptRA=false
|
||||
Address={{ hostvars['fw']['network6'][target_vm]['server'] }}/64
|
||||
Gateway={{ hostvars['fw']['network6']['firewall']['server'] }}
|
||||
DNS={{ hostvars['fw']['network6']['blocky']['server'] }}
|
||||
Reference in New Issue
Block a user