sysconfig use subnet prefix and set DEFROUTE key

Bug #1704872 reported by Ryan Harper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-init
Fix Released
Medium
Unassigned

Bug Description

Sysconfig network files should set DEFROUTE and IPV6_DEFROUTE if the key is configured. Additionally, ipv6 routes should use the subnet 'prefix' value instead of netmask.

Related branches

~smoser/cloud-init:feature/curtin-centos2
Server Team CI bot: Approve (continuous-integration)
Ryan Harper: Approve
Diff: 101 lines (+15/-14)
3 files modified
cloudinit/net/sysconfig.py (+9/-11)
tests/unittests/test_distros/test_netconfig.py (+4/-2)
tests/unittests/test_net.py (+2/-1)
api
Scott Moser (smoser)
Changed in cloud-init:
status: New → Confirmed
importance: Undecided → Medium
Scott Moser (smoser)
Changed in cloud-init:
status: Confirmed → Fix Committed
Revision history for this message

This bug is believed to be fixed in cloud-init in 17.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in cloud-init:
status: Fix Committed → Fix Released
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.

AltStyle によって変換されたページ (->オリジナル) /