diff --git a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg index dc85584..33f2b83 100644 --- a/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg +++ b/Linux_reinstall/Ubuntu/CloudInit/ipv4_static_interfaces.cfg @@ -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: