Update ipv4_static_interfaces.cfg

This commit is contained in:
Molly Lau 2023-06-08 12:08:14 +09:00 committed by GitHub
parent 71753d595f
commit 10048ab7a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,19 +35,16 @@ chpasswd:
# configure network
network:
version: 1
config:
- type: physical
name: eth0
subnets:
- type: static
address: IPv4
netmask: MASK
gateway: GATE
dns_nameservers:
- ipDNS1
- ipDNS2
- type: dhcp6
version: 2
ethernets:
eth0:
dhcp4: false
addresses:
- IPv4/ipPrefix
gateway4: GATE
nameservers:
addresses: [ipDNS1, ipDNS2]
dhcp6: true
# later commands
runcmd: