← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1882300] [NEW] not possible to override dns servers when using dhcp

 

Public bug reported:

I need to override the nameserver provided by DHCP with a config like
this:

network:
  version: 2
  ethernets:
    ens160:
      dhcp4: true
      nameservers:
        addresses: [8.8.8.8]

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1882300

Title:
  not possible to override dns servers when using dhcp

Status in cloud-init:
  New

Bug description:
  I need to override the nameserver provided by DHCP with a config like
  this:

  network:
    version: 2
    ethernets:
      ens160:
        dhcp4: true
        nameservers:
          addresses: [8.8.8.8]

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


Follow ups