[Bug 1735317] Re: Invalid YAML in docs
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Mon Feb 26 15:15:05 UTC 2018
** Also affects: nplan (Ubuntu Artful)
Importance: Undecided
Status: New
** Also affects: nplan (Ubuntu Xenial)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
https://bugs.launchpad.net/bugs/1735317
Title:
Invalid YAML in docs
Status in netplan:
Fix Committed
Status in nplan package in Ubuntu:
Fix Released
Status in nplan source package in Xenial:
New
Status in nplan source package in Artful:
New
Bug description:
In the documentation there are examples of YAML definitions that are
not valid YAML syntax. Take for example:
addresses: [192.168.14.2/24, 2001:1::1/64]
This will error with:
(<unknown>): found unexpected ':' while scanning a plain scalar at
line 1 column 31
This is because the IPv6 address has a ':' and it is not escaped.
Putting quotes around the IPv6 address or avoiding the one line list
format would be best.
This occurs again in the nameservers example with:
addresses: [8.8.8.8, FEDC::1]
To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1735317/+subscriptions
More information about the foundations-bugs
mailing list