forked from pool/cloud-init
27 lines
897 B
Diff
27 lines
897 B
Diff
|
Index: cloud-init-0.7.5/cloudinit/config/cc_resolv_conf.py
|
||
|
===================================================================
|
||
|
--- cloud-init-0.7.5.orig/cloudinit/config/cc_resolv_conf.py
|
||
|
+++ cloud-init-0.7.5/cloudinit/config/cc_resolv_conf.py
|
||
|
@@ -55,7 +55,7 @@ from cloudinit import util
|
||
|
|
||
|
frequency = PER_INSTANCE
|
||
|
|
||
|
-distros = ['fedora', 'rhel', 'sles']
|
||
|
+distros = ['fedora', 'opensuse', 'rhel', 'sles']
|
||
|
|
||
|
|
||
|
def generate_resolv_conf(cloud, log, params):
|
||
|
Index: cloud-init-0.7.5/cloudinit/distros/__init__.py
|
||
|
===================================================================
|
||
|
--- cloud-init-0.7.5.orig/cloudinit/distros/__init__.py
|
||
|
+++ cloud-init-0.7.5/cloudinit/distros/__init__.py
|
||
|
@@ -41,7 +41,7 @@ OSFAMILIES = {
|
||
|
'redhat': ['fedora', 'rhel'],
|
||
|
'gentoo': ['gentoo'],
|
||
|
'freebsd': ['freebsd'],
|
||
|
- 'suse': ['sles'],
|
||
|
+ 'suse': ['opensuse', 'sles'],
|
||
|
'arch': ['arch'],
|
||
|
}
|
||
|
|