summaryrefslogtreecommitdiff
path: root/cloudinit/net
diff options
context:
space:
mode:
authoreb3095 <45504889+eb3095@users.noreply.github.com>2021-07-21 16:48:05 -0400
committerGitHub <noreply@github.com>2021-07-21 15:48:05 -0500
commit4257e30ac4b8730af35c078f2df0a2234dd19ffa (patch)
tree83920051229a287f584a48cc16ac349dc4538d33 /cloudinit/net
parentf0ab1e64852d50f4fe0de84e0bca0ee8bb516a9f (diff)
downloadvyos-cloud-init-4257e30ac4b8730af35c078f2df0a2234dd19ffa.tar.gz
vyos-cloud-init-4257e30ac4b8730af35c078f2df0a2234dd19ffa.zip
Add VZLinux support (#951)
Virtuozzo Linux is a distro based off of CentOS 8, similar to Alma Linux and Rocky Linux.
Diffstat (limited to 'cloudinit/net')
-rw-r--r--cloudinit/net/sysconfig.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/net/sysconfig.py b/cloudinit/net/sysconfig.py
index 8031cd3a..49f52e9d 100644
--- a/cloudinit/net/sysconfig.py
+++ b/cloudinit/net/sysconfig.py
@@ -18,7 +18,8 @@ from .network_state import (
is_ipv6_addr, net_prefix_to_ipv4_mask, subnet_is_ipv6, IPV6_DYNAMIC_TYPES)
LOG = logging.getLogger(__name__)
-KNOWN_DISTROS = ['almalinux', 'centos', 'fedora', 'rhel', 'rocky', 'suse']
+KNOWN_DISTROS = ['almalinux', 'centos', 'fedora', 'rhel', 'rocky', 'suse',
+ 'virtuozzo']
NM_CFG_FILE = "/etc/NetworkManager/NetworkManager.conf"