From: Kurt Garloff Subject: Identify OpenTelekomCloud as OpenStack cloud References: LP #1756471 cloud-init tries to be smart and identify what env we are running on using the ds-identify script which looks at DMI information. Unfortunately, the Xen hosts in OpenTelekomCloud do not have a nova label in there, but just Xen HVM domU. We can however use the chassis asset tag to identify OpenTelekomCloud. Signed-off-by: Kurt Garloff --- cloud-init/ds-identify.orig 2018-03-16 21:29:14.947288849 +0100 +++ cloud-init/ds-identify 2018-03-16 21:33:08.168871245 +0100 @@ -817,10 +817,10 @@ dscheck_OpenStack() { @@ -832,7 +832,10 @@ dscheck_OpenStack() { if [ "${DI_PID_1_PRODUCT_NAME}" = "$nova" ]; then return ${DS_FOUND} fi - + if dmi_chassis_asset_tag_matches "OpenTelekomCloud"; then + return ${DS_FOUND} + fi + # LP: #1715241 : arch other than intel are not identified properly. case "$DI_UNAME_MACHINE" in i?86|x86_64) :;;