refine systemd_networkd

This commit is contained in:
2023-08-12 20:19:07 +10:00
parent 24f3a7c485
commit a2ec933cf8
15 changed files with 97 additions and 90 deletions

View File

@ -0,0 +1,16 @@
$ANSIBLE_VAULT;1.1;AES256
30653030376238643536303332376530306565363333613230303263653935626332383862646539
3739623265323837613333343363343461353837643637650a616637656563313265636366616134
61636335613330393239656262663735316365613435303766643964353964666537353338646666
3536363034316632390a363234343466363937613631316130333566313037306636386130303137
33366462303461393866633233643033356231343232313832636335336232383234626163623533
64656339346264306265353839373362373034306261316238346365373639326566313866363263
62613639313566373233303734666331633038383638316361353838313634383163626563333137
62393835663963646431353431396238663062363031613735623937373835383630653165373634
32356365363162333661323765333236363934636461366664666431333338326362656439366339
62313265616666386164343336623032386536343134336232613164363236656236646332356335
36643362613832656666376233363436313030626566356134306533643862333536336662653630
32663936333434346530343639383330633538306536346432333136393765316366356362353735
30636536333436346166616232643238373964306139313265623934616636663234336162306338
34343934613136623837353436353462303036643837656636386533333266663265643538633333
373133383866666465383332373336343739

View File

@ -0,0 +1,6 @@
hypervisor:
storage: dir
device: /dev/sda
qemu_bridges:
- br0

View File

@ -0,0 +1 @@
console_device: ttyS0

View File

@ -52,7 +52,7 @@ systemd_networkd_configs:
mac_address: 64-62-66-21-e9-c6
arp: false
lldp: false
dhcp: false
dhcp: true
- name: 10-br0.netdev
src: bridge.netdev.j2
vlan_filtering: true
@ -63,7 +63,7 @@ systemd_networkd_configs:
dhcp: false
lldp: true
vlans:
- 110
- vlan110
- name: 20-vlan110.netdev
src: vlan.netdev.j2
vlan_id: 110
@ -80,12 +80,3 @@ systemd_networkd_configs:
nameserver:
ipv4:
- 10.192.110.254
qemu_bridges:
- br0
hypervisor:
storage: dir
device: /dev/sda
console_device: ttyS0