Public bug reported:

Trying to bring up a system with both IPv4 and IPv6 available should be
generating files in /run/net6-$iface.conf and /run/net-$iface.conf.

Both of these files may contain the DEVICE variable, as well as HOSTNAME
and DNSDOMAIN.

I made some small changes to the dhclient hook for the initramfs to
write that to both, since it does make sense for both IP protocols.
However, this causes cloud-init to fail since the device name is defined
in both files (ValueError, "defined multiple times" -- see screenshot).

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "Screenshot_generic-2_2016-10-21_16:09:30.png"
   
https://bugs.launchpad.net/bugs/1635716/+attachment/4765078/+files/Screenshot_generic-2_2016-10-21_16%3A09%3A30.png

** Package changed: maas (Ubuntu) => cloud-init (Ubuntu)

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

Title:
  Can't bring up a machine on a dual network (ipv4 and ipv6)

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

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

Reply via email to