diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2017-06-15 11:51:54 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-07-20 14:58:34 -0400 |
commit | 31fa6f9d0f945868349c033fa049d2467ddcd478 (patch) | |
tree | 85b73913b0d2bb3b9d0c88a78ffe8bbca8fd21e7 /cloudinit/cs_utils.py | |
parent | 51febf7363692d7947fe17a4fbfcb85058168ccb (diff) | |
download | vyos-cloud-init-31fa6f9d0f945868349c033fa049d2467ddcd478.tar.gz vyos-cloud-init-31fa6f9d0f945868349c033fa049d2467ddcd478.zip |
sysconfig: fix ipv6 gateway routes
Currently only the subnet is checked for 'ipv6' setting, however, the
routes array may include a mix of v4 or v6 configurations, in particular,
the gateway in a route may be ipv6, and if so, should export the value via
IPV6_DEFAULTGW in the ifcfg-XXXX file.
Additionally, if the route is v6, it should rendering a routes6-XXXX file;
this is present but missing the 'dev <interface>' scoping.
LP: #1694801
Diffstat (limited to 'cloudinit/cs_utils.py')
0 files changed, 0 insertions, 0 deletions