mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-16 06:05:33 +08:00
Update ipv4_static_interfaces.cfg
This commit is contained in:
parent
71753d595f
commit
10048ab7a8
1 changed files with 10 additions and 13 deletions
|
@ -35,19 +35,16 @@ chpasswd:
|
||||||
|
|
||||||
# configure network
|
# configure network
|
||||||
network:
|
network:
|
||||||
version: 1
|
version: 2
|
||||||
config:
|
ethernets:
|
||||||
- type: physical
|
eth0:
|
||||||
name: eth0
|
dhcp4: false
|
||||||
subnets:
|
addresses:
|
||||||
- type: static
|
- IPv4/ipPrefix
|
||||||
address: IPv4
|
gateway4: GATE
|
||||||
netmask: MASK
|
nameservers:
|
||||||
gateway: GATE
|
addresses: [ipDNS1, ipDNS2]
|
||||||
dns_nameservers:
|
dhcp6: true
|
||||||
- ipDNS1
|
|
||||||
- ipDNS2
|
|
||||||
- type: dhcp6
|
|
||||||
|
|
||||||
# later commands
|
# later commands
|
||||||
runcmd:
|
runcmd:
|
||||||
|
|
Loading…
Reference in a new issue