mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 21:54:40 +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
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue