[Bug 1751151] Re: Installing via IPv6 results in invalid netplan yaml
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Mon Feb 26 14:58:43 UTC 2018
Good catch, this is a bug in netcfg.
** Package changed: debian-installer (Ubuntu) => netcfg (Ubuntu)
** Changed in: netcfg (Ubuntu)
Importance: Undecided => Critical
** Changed in: netcfg (Ubuntu)
Status: New => Triaged
** Changed in: netcfg (Ubuntu)
Assignee: (unassigned) => Mathieu Trudel-Lapierre (cyphermox)
** Changed in: nplan (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1751151
Title:
Installing via IPv6 results in invalid netplan yaml
Status in netcfg package in Ubuntu:
Triaged
Status in nplan package in Ubuntu:
Invalid
Bug description:
I installed ubuntu 17.10 using the mini iso. The network is IPv6 only, so I used that (successfully) to do a network install of ubuntu 17.10. However, the resulting system
was unreachable over the network. The installer generated 01-netcfg.yaml looked like:
```
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
version: 2
renderer: networkd
ethernets:
enp24s0f0:
addresses: [ XXXX:XXX:X:XX::XX:XX/112 ]
gateway6: XXXX:XXX:X:XX::XX:X
nameservers:
search: [ XXXXXXXXX.XX ]
addresses:
- XXXX:XXX:X:X::X
```
However,
`netplan apply` complains:
`Invalid YAML at //etc/netplan/01-netcfg.yaml line 7 column 23: found
unexpected ':'`
This is remedied, by putting the ipv6 address into quotes, i.e.:
```
addresses: [ "XXXX:XXX:X:XX::XX:XX/112" ]
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/1751151/+subscriptions
More information about the foundations-bugs
mailing list