summaryrefslogtreecommitdiff
path: root/cloudinit/net/netplan.py
diff options
context:
space:
mode:
authorEduardo Otubo <otubo@redhat.com>2019-01-18 15:36:19 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-01-18 15:36:19 +0000
commit3861102fcaf47a882516d8b6daab518308eb3086 (patch)
tree049c97cb206e138272195e0d19c170904d93ce57 /cloudinit/net/netplan.py
parentad170db966492e845b9dc23346cc7297e8a99032 (diff)
downloadvyos-cloud-init-3861102fcaf47a882516d8b6daab518308eb3086.tar.gz
vyos-cloud-init-3861102fcaf47a882516d8b6daab518308eb3086.zip
net: Make sysconfig renderer compatible with Network Manager.
The 'sysconfig' renderer is activated if, and only if, there's ifup and ifdown commands present in its search dictonary or the network-scripts configuration files are found. This patch adds a check for Network- Manager configuration file as well. This solution is based on the use of the plugin 'ifcfg-rh' present in Network-Manager and is designed to support Fedora 29 or other distributions that also replaced network-scripts by Network-Manager.
Diffstat (limited to 'cloudinit/net/netplan.py')
0 files changed, 0 insertions, 0 deletions