Based on your output, I believe you are using the new Ubuntu Server installer.
I have attempted to reproduce the issue at hand, and I have managed to complete the installation with dhcpv6 + static ipv4 connectivity with DNS server propagating correctly to the installed system. The end networking info generated was:
# This file is generated from information provided by
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following:
# network: {config: disabled}
network:
ethernets:
ens3: addresses:
- 192.168.122.7/24
dhcp6: true gateway4: 192.168.122.1 nameservers: addresses:
- 192.168.122.1 search: [] optional: true
version: 2
Which is what I would expect, after filling out static network configuration (subnet, ip, gateway, nameserver).
Please provide more detailed instruction on how to reproduce the issue? Or maybe inspect the system using additional tty's? And provide more detailed steps and screenshots / photos?
Based on your output, I believe you are using the new Ubuntu Server installer.
I have attempted to reproduce the issue at hand, and I have managed to complete the installation with dhcpv6 + static ipv4 connectivity with DNS server propagating correctly to the installed system. The end networking info generated was:
# This file is generated from information provided by cloud.cfg. d/99-disable- network- config. cfg with the following:
addresses:
gateway4: 192.168.122.1
nameserver s:
addresses:
search: []
optional: true
# the datasource. Changes to it will not persist across an instance.
# To disable cloud-init's network configuration capabilities, write a file
# /etc/cloud/
# network: {config: disabled}
network:
ethernets:
ens3:
- 192.168.122.7/24
dhcp6: true
- 192.168.122.1
version: 2
Which is what I would expect, after filling out static network configuration (subnet, ip, gateway, nameserver).
Please provide more detailed instruction on how to reproduce the issue? Or maybe inspect the system using additional tty's? And provide more detailed steps and screenshots / photos?