diff options
author | Rick Harding <rharding@mitechie.com> | 2020-11-04 08:06:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-04 08:06:54 -0500 |
commit | a9a3f4a074434bf66ab59ba5538fbf866fb0296f (patch) | |
tree | c0230052d131d330a89fb96e593c516efd2cac0d /cloudinit/sources/DataSourceAltCloud.py | |
parent | ce040b58781fa01627927bdfeaa072ef3816d53a (diff) | |
parent | 8dfd8801ab1329efe066876c037f71a73dcf3de1 (diff) | |
download | cloud-init-git-dependabot/pip/cryptography-3.2.tar.gz |
Merge branch 'master' into dependabot/pip/cryptography-3.2dependabot/pip/cryptography-3.2
Diffstat (limited to 'cloudinit/sources/DataSourceAltCloud.py')
-rw-r--r-- | cloudinit/sources/DataSourceAltCloud.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceAltCloud.py b/cloudinit/sources/DataSourceAltCloud.py index ac3ecc3d..cd93412a 100644 --- a/cloudinit/sources/DataSourceAltCloud.py +++ b/cloudinit/sources/DataSourceAltCloud.py @@ -16,6 +16,7 @@ import errno import os import os.path +from cloudinit import dmi from cloudinit import log as logging from cloudinit import sources from cloudinit import subp @@ -109,7 +110,7 @@ class DataSourceAltCloud(sources.DataSource): CLOUD_INFO_FILE) return 'UNKNOWN' return cloud_type - system_name = util.read_dmi_data("system-product-name") + system_name = dmi.read_dmi_data("system-product-name") if not system_name: return 'UNKNOWN' |