forked from canonical/cloud-init
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix metric setting for ifcfg network connections for rhel (canonical#…
…5777) Most RHEL systems use Network manager to bring up manage network connections. Network manager does not recognize "METRIC" option for network connections. It uses IPV4_ROUTE_METRIC and IPV6_ROUTE_METRIC options. Please see https://people.freedesktop.org/~lkundrak/nm-docs/nm-settings-ifcfg-rh.html This change ensures that cloud-init generates ifcfg network connection files with IPV{4/6}_ROUTE_METRIC options that are compatible with RHEL and network manager. Fixes canonicalGH-5776 Signed-off-by: Ani Sinha <anisinha@redhat.com>
- Loading branch information
Showing
3 changed files
with
37 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters