Netplan in disco has support for dhcp overrides[A], and this is
available in Disco now.  Netplan 0.95 is being backported to bionic
which will include this functionality.

Once present, for cloud-init; we will need a few things.

1) cloudinit/sources/helpers/vmware/imc/config_nic.py current generates
a v1 network config after parsing IMC network configuration.  This will
need to be updated to indicate the DNSFROMDHCP value in the network
config.

2) cloudinit/net/network_state.py will need an update to capture this setting
3) cloudinit/net/{eni,netplan,sysconfig).py will need updates to react to the 
setting and emit the appropriate config needed to represent the DNSFROMDHCP 
value.

A.
https://github.com/CanonicalLtd/netplan/pull/48/commits/be9dbb43355db4d4576954cdf79df0a9b3c4a219

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1776452

Title:
  Fail to set DNS server and search domain when customize Ubuntu18.04 to
  DHCP IP by cloud-init

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1776452/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to