group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #25068
[Bug 1735317] Re: Invalid YAML in docs
** Changed in: netplan
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1735317
Title:
Invalid YAML in docs
Status in netplan:
Fix Released
Status in nplan package in Ubuntu:
Fix Released
Status in nplan source package in Xenial:
Fix Released
Status in nplan source package in Artful:
Fix Released
Bug description:
[Impact]
Netplan users referring to documentation to know how to write configurations.
[Test case]
1) check 'man netplan'
[Regression potential]
None, this change is limited to correcting incorrect documentation.
---
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