← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1843686] Re: Gentoo generates broken network config

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3449

** Bug watch added: github.com/canonical/cloud-init/issues #3449
   https://github.com/canonical/cloud-init/issues/3449

** Changed in: cloud-init
       Status: Triaged => Expired

-- 
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/1843686

Title:
  Gentoo generates broken network config

Status in cloud-init:
  Expired

Bug description:
  As the title says, Gentoo generates an unusable network config. In
  includes 'mac_eth0' although no such thing was specified. Also, it
  adds the unnecessary 'netmask' keyword in the config.

  The network-config (/var/lib/cloud/seed/nocloud-net/network-config):
    #cloud-config
    version: 1
    config:
    - type: physical
      name: eth0
      subnets:
      - type: static
        address: 1.2.3.4/24
        gateway: 1.2.3.1
        dns_nameservers:
        - 1.2.3.10

  The broken result (/etc/conf.d/net.eth0):
    config_eth0="1.2.3.4/24 netmask None"
    mac_eth0="None"
    routes_eth0="default via 1.2.3.1"
    dns_servers_eth0="('1.2.3.10')"

  
  A correctly working config would be:
    config_eth0="1.2.3.4/24"
    routes_eth0="default via 1.2.3.1"
    dns_servers_eth0="('1.2.3.10')"

  I'd be great if this could be fixed.

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



References