mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-08-13 09:44:11 +00:00
server: provide network config direct to netplan
This commit is contained in:
parent
5f5a686760
commit
8c4996cce7
@ -18,20 +18,6 @@ ssh_pwauth: yes
|
|||||||
chpasswd:
|
chpasswd:
|
||||||
expire: false
|
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.
|
# We used to have a custom final_message here. Just use the default instead.
|
||||||
|
|
||||||
# Example datasource config
|
# Example datasource config
|
||||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user