2015-04-13 17:57:34 +02:00
|
|
|
Index: cloud-init-0.7.6/cloudinit/config/cc_resolv_conf.py
|
2014-04-14 21:15:14 +02:00
|
|
|
===================================================================
|
2015-04-13 17:57:34 +02:00
|
|
|
--- cloud-init-0.7.6.orig/cloudinit/config/cc_resolv_conf.py
|
|
|
|
+++ cloud-init-0.7.6/cloudinit/config/cc_resolv_conf.py
|
|
|
|
@@ -58,7 +58,7 @@ LOG = logging.getLogger(__name__)
|
2014-04-14 21:15:14 +02:00
|
|
|
|
|
|
|
frequency = PER_INSTANCE
|
|
|
|
|
|
|
|
-distros = ['fedora', 'rhel', 'sles']
|
|
|
|
+distros = ['fedora', 'opensuse', 'rhel', 'sles']
|
|
|
|
|
|
|
|
|
2015-04-13 17:57:34 +02:00
|
|
|
def generate_resolv_conf(template_fn, params, target_fname="/etc/resolv.conf"):
|
|
|
|
Index: cloud-init-0.7.6/cloudinit/distros/__init__.py
|
2014-04-14 21:15:14 +02:00
|
|
|
===================================================================
|
2015-04-13 17:57:34 +02:00
|
|
|
--- cloud-init-0.7.6.orig/cloudinit/distros/__init__.py
|
|
|
|
+++ cloud-init-0.7.6/cloudinit/distros/__init__.py
|
2014-04-14 21:15:14 +02:00
|
|
|
@@ -41,7 +41,7 @@ OSFAMILIES = {
|
|
|
|
'redhat': ['fedora', 'rhel'],
|
|
|
|
'gentoo': ['gentoo'],
|
|
|
|
'freebsd': ['freebsd'],
|
|
|
|
- 'suse': ['sles'],
|
|
|
|
+ 'suse': ['opensuse', 'sles'],
|
|
|
|
'arch': ['arch'],
|
|
|
|
}
|
|
|
|
|