net-eth0.conf:

DEVICE=eth0
HOSTNAME=mysystem
IPV4ADDRESS=10.10.10.10
[...]


net6-eth0.conf:

DEVICE=eth0
HOSTNAME=mysystem
IPV6ADDRESS=fe80:dead:beef::fe
[...]

The concept of DEVICE, HOSTNAME, and DNSDOMAIN are universal; DHCP may
provide a hostname and domain name as a response when assigning an IP
address, and the device used can be useful to have in both the IPv4 and
IPv6 case -- we should assume that anything that is relevant to IPv4
that isn't specific to IPv4 will still be relevant in the world of IPv6
for any software that expects to bring up a remote rootfs.

If cloud-init is making an assumption that a specific key such as DEVICE
is specific to IPv4, that is an incorrect assumption and needs to be
fixed to properly support IPv6 in a separate file than IPv4 settings in
the initramfs.

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