Robert Schweikert
1475962d05
+ Do not guess if we are running on OpenStack or not. Only recognize the known markers and enable cloud-init if we know for sure. OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=227
27 lines
773 B
Diff
27 lines
773 B
Diff
--- tools/ds-identify.orig
|
|
+++ tools/ds-identify
|
|
@@ -1261,12 +1261,6 @@ dscheck_OpenStack() {
|
|
return ${DS_FOUND}
|
|
fi
|
|
|
|
- # LP: #1715241 : arch other than intel are not identified properly.
|
|
- case "$DI_UNAME_MACHINE" in
|
|
- i?86|x86_64) :;;
|
|
- *) return ${DS_MAYBE};;
|
|
- esac
|
|
-
|
|
return ${DS_NOT_FOUND}
|
|
}
|
|
|
|
--- tests/unittests/test_ds_identify.py.orig
|
|
+++ tests/unittests/test_ds_identify.py
|
|
@@ -574,7 +574,7 @@ class TestDsIdentify(DsIdentifyBase):
|
|
|
|
nova does not identify itself on platforms other than intel.
|
|
https://bugs.launchpad.net/cloud-init/+bugs?field.tag=dsid-nova"""
|
|
-
|
|
+ return
|
|
data = copy.deepcopy(VALID_CFG["OpenStack"])
|
|
del data["files"][P_PRODUCT_NAME]
|
|
data.update(
|