From b883b7106a73117edddeefdf9ec1914ba056d08bcbab74aab8c4a4ee55b20ddf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 23 Jul 2014 05:40:07 +0000 Subject: [PATCH] - add cloudinit-datasources.patch: Fixes datasource list OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=20 --- cloud-init.changes | 1 + cloud-init.spec | 2 ++ cloudinit-datasources.patch | 13 +++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 cloudinit-datasources.patch diff --git a/cloud-init.changes b/cloud-init.changes index 1a97257..2614a91 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -2,6 +2,7 @@ Tue Jul 22 22:31:17 UTC 2014 - dmueller@suse.com - fix typo in cloud.cfg (gowpart -> growpart) +- add cloudinit-datasources.patch: Fixes datasource list ------------------------------------------------------------------- Mon Jul 7 17:21:54 UTC 2014 - rschweikert@suse.com diff --git a/cloud-init.spec b/cloud-init.spec index 15f07b4..4956c86 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -37,6 +37,7 @@ Patch5: openSUSEhostsTemplate.diff Patch6: dynamicInitCmd.diff # FIXME suseSetInitCmd.patch send upstream once the SUSE handlers are accepted Patch7: suseSetInitCmd.patch +Patch8: cloudinit-datasources.patch BuildRequires: fdupes BuildRequires: filesystem BuildRequires: python-devel @@ -124,6 +125,7 @@ Unit tests for the cloud-init tools %patch5 %patch6 %patch7 +%patch8 -p1 %if 0%{?suse_version} <= 1130 # disable ecdsa for SLE 11 (not available) diff --git a/cloudinit-datasources.patch b/cloudinit-datasources.patch new file mode 100644 index 0000000..3c1152f --- /dev/null +++ b/cloudinit-datasources.patch @@ -0,0 +1,13 @@ +Index: cloud-init-0.7.5/cloudinit/settings.py +=================================================================== +--- cloud-init-0.7.5.orig/cloudinit/settings.py ++++ cloud-init-0.7.5/cloudinit/settings.py +@@ -37,7 +37,7 @@ CFG_BUILTIN = { + 'OVF', + 'MAAS', + 'GCE', +- 'OpenStack' ++ 'OpenStack', + 'Ec2', + 'CloudSigma', + 'CloudStack',