nmcli --get-values mangles all output with colons :. this breaks configure-ovs.sh
IPv6 and MAC addresses are mangled with backslashes and unsuitable for re-input.
Version-Release number of selected component (if applicable):
4.19
How reproducible:
Always
Steps to Reproduce:
1. nmcli --get-values ipv6.dns conn show ovs-if-br-ex 2. nmcli --get-values DHCP4.OPTION conn show ovs-if-br-ex 3.
Actual results:
ipv6_dns='2620\:52\:0\:19d\:7ffd\:44ff\:fe4b\:4b40' Error: Failed to add 'ovs-if-br-ex' connection: ipv6.dns: 1. DNS server address is invalid broadcast_address = 192.168.111.255 | dhcp_client_identifier = 01\:30\:d0\:42\:56\:66\:af
Expected results:
ipv6_dns='2620:52:0:19d:7ffd:44ff:fe4b:4b40'
Additional info:
This is very bad for IPv6, we should address this in nmcli
- blocks
-
OCPBUGS-44732 DNS from nmstate configuration is not set when using DHCP
-
- Closed
-
- links to