forked from pool/cloud-init
Robert Schweikert
ca001a03ce
New upstream release OBS-URL: https://build.opensuse.org/request/show/295648 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=33
27 lines
938 B
Diff
27 lines
938 B
Diff
Index: cloud-init-0.7.6/cloudinit/config/cc_resolv_conf.py
|
|
===================================================================
|
|
--- 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__)
|
|
|
|
frequency = PER_INSTANCE
|
|
|
|
-distros = ['fedora', 'rhel', 'sles']
|
|
+distros = ['fedora', 'opensuse', 'rhel', 'sles']
|
|
|
|
|
|
def generate_resolv_conf(template_fn, params, target_fname="/etc/resolv.conf"):
|
|
Index: cloud-init-0.7.6/cloudinit/distros/__init__.py
|
|
===================================================================
|
|
--- cloud-init-0.7.6.orig/cloudinit/distros/__init__.py
|
|
+++ cloud-init-0.7.6/cloudinit/distros/__init__.py
|
|
@@ -41,7 +41,7 @@ OSFAMILIES = {
|
|
'redhat': ['fedora', 'rhel'],
|
|
'gentoo': ['gentoo'],
|
|
'freebsd': ['freebsd'],
|
|
- 'suse': ['sles'],
|
|
+ 'suse': ['opensuse', 'sles'],
|
|
'arch': ['arch'],
|
|
}
|
|
|