server: provide network config direct to netplan

This commit is contained in:
Dan Bungert 2025-04-11 18:00:51 -06:00
parent 5f5a686760
commit 8c4996cce7
2 changed files with 19 additions and 14 deletions

View File

@ -18,20 +18,6 @@ ssh_pwauth: yes
chpasswd:
expire: false
# This is the initial network config.
# It can be overwritten by cloud-init or subiquity.
network:
version: 2
ethernets:
zz-all-en:
match:
name: "en*"
dhcp4: true
zz-all-eth:
match:
name: "eth*"
dhcp4: true
# We used to have a custom final_message here. Just use the default instead.
# Example datasource config

View File

@ -0,0 +1,19 @@
# This is the initial network config.
# It can be overwritten by cloud-init or subiquity.
# For more information, see netplan(5)
network:
version: 2
ethernets:
zz-all-en:
match:
name: "en*"
dhcp4: true
dhcp6: true
accept-ra: true
zz-all-eth:
match:
name: "eth*"
dhcp4: true
dhcp6: true
accept-ra: true