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/DataSourceSmartOS.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/DataSourceSmartOS.py')
-rw-r--r-- | cloudinit/sources/DataSourceSmartOS.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py index f1f903bc..fd292baa 100644 --- a/cloudinit/sources/DataSourceSmartOS.py +++ b/cloudinit/sources/DataSourceSmartOS.py @@ -30,6 +30,7 @@ import random import re import socket +from cloudinit import dmi from cloudinit import log as logging from cloudinit import serial from cloudinit import sources @@ -767,7 +768,7 @@ def get_smartos_environ(uname_version=None, product_name=None): return SMARTOS_ENV_LX_BRAND if product_name is None: - system_type = util.read_dmi_data("system-product-name") + system_type = dmi.read_dmi_data("system-product-name") else: system_type = product_name |