diff options
author | Kurt Garloff <kurt@garloff.de> | 2018-03-21 20:07:29 -0600 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-03-21 20:07:29 -0600 |
commit | 7713713265224d9f34410028de6bd50d1451aed9 (patch) | |
tree | 82f175552d3e27ad80a044e6224ae8da8b18d4b2 /tools | |
parent | 685f9901b820a457912959bdd4f389835e965524 (diff) | |
download | vyos-cloud-init-7713713265224d9f34410028de6bd50d1451aed9.tar.gz vyos-cloud-init-7713713265224d9f34410028de6bd50d1451aed9.zip |
Identify OpenTelekomCloud Xen as OpenStack DS.
Open Telekom Cloud gen1 (Xen) hosts do not provide nova product
names in DMI but Xen HVM domU. They can however be safely identified
by the OpenTelekomCloud Chassis asset tag. OpenTelekomCloud does
use the network OpenStack DataSource, so we better detect it.
LP: #1756471
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ds-identify | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/ds-identify b/tools/ds-identify index e3f93c90..e2552c8b 100755 --- a/tools/ds-identify +++ b/tools/ds-identify @@ -894,6 +894,10 @@ dscheck_OpenStack() { 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) :;; |