[Bug 1751151] Re: Installing via IPv6 results in invalid netplan yaml

Thomas 1751151 at bugs.launchpad.net
Fri Jun 1 21:04:17 UTC 2018


Hi, I am at Ubuntu 18.04 LTS (complete updated) and also can't apply my
01-netcfg.yaml:

root at bk1:~# cat /etc/netplan/01-netcfg.yaml
# This file describes the network interfaces available on your system
# For more information, see netplan(5).
network:
  version: 2
  renderer: networkd
  ethernets:
    ens18:
      dhcp4: false
      dhcp6: false
      accept-ra: false
      addresses: [2a01:4f8:XX:XXXX::XX/64]
      gateway6: 2a01:4f8:XX:XXXX::X
      nameservers:
        addresses: addresses: [2a01:4f8:0:1::add:1010, 2a01:4f8:0:1::add:9999, 2a01:4f8:0:1::add:9898]

root at bk1:~# netplan apply
Invalid YAML at //etc/netplan/01-netcfg.yaml line 10 column 22: found unexpected ':'

It seams that the Bug still exist?!

root at bk1:~# apt policy netplan
netplan:
  Installiert:           (keine)
  Installationskandidat: 1.10.1-5build1
  Versionstabelle:
     1.10.1-5build1 500
        500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

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

Title:
  Installing via IPv6 results in invalid netplan yaml

Status in netcfg package in Ubuntu:
  Fix Released
Status in nplan package in Ubuntu:
  Confirmed

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