forked from pool/cloud-init
25 lines
985 B
Diff
25 lines
985 B
Diff
|
diff -urN cloud-init-0.7.4.orig/cloudinit/config/cc_resolv_conf.py cloud-init-0.7.4/cloudinit/config/cc_resolv_conf.py
|
||
|
--- cloud-init-0.7.4.orig/cloudinit/config/cc_resolv_conf.py 2014-01-04 10:11:25.900655759 -0500
|
||
|
+++ cloud-init-0.7.4/cloudinit/config/cc_resolv_conf.py 2014-01-04 10:51:27.900181158 -0500
|
||
|
@@ -55,7 +55,7 @@
|
||
|
|
||
|
frequency = PER_INSTANCE
|
||
|
|
||
|
-distros = ['fedora', 'rhel', 'sles']
|
||
|
+distros = ['fedora', 'opensuse', 'rhel', 'sles']
|
||
|
|
||
|
|
||
|
def generate_resolv_conf(cloud, log, params):
|
||
|
diff -urN cloud-init-0.7.4.orig/cloudinit/distros/__init__.py cloud-init-0.7.4/cloudinit/distros/__init__.py
|
||
|
--- cloud-init-0.7.4.orig/cloudinit/distros/__init__.py 2014-01-04 10:11:25.919655399 -0500
|
||
|
+++ cloud-init-0.7.4/cloudinit/distros/__init__.py 2014-01-04 10:53:09.936206936 -0500
|
||
|
@@ -39,7 +39,7 @@
|
||
|
OSFAMILIES = {
|
||
|
'debian': ['debian', 'ubuntu'],
|
||
|
'redhat': ['fedora', 'rhel'],
|
||
|
- 'suse': ['sles']
|
||
|
+ 'suse': ['opensuse', 'sles']
|
||
|
}
|
||
|
|
||
|
LOG = logging.getLogger(__name__)
|