summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceSmartOS.py
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-08-23 16:48:41 -0400
committerScott Moser <smoser@brickies.net>2016-08-23 16:48:41 -0400
commit7b925df28f84c824e9e4697723d879903a81e780 (patch)
tree2314e210f13cc5cc7bdc59971b9f4b657f755825 /cloudinit/sources/DataSourceSmartOS.py
parentd0c794919d9a9bf176eb96e25e72836a65e841f1 (diff)
parenta551cb080388c2016bcf23981f99a4a6aa0fe198 (diff)
downloadvyos-cloud-init-7b925df28f84c824e9e4697723d879903a81e780.tar.gz
vyos-cloud-init-7b925df28f84c824e9e4697723d879903a81e780.zip
merge trunk at 0.7.7~bzr1208
Diffstat (limited to 'cloudinit/sources/DataSourceSmartOS.py')
-rw-r--r--cloudinit/sources/DataSourceSmartOS.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py
index 5edab152..6cbd8dfa 100644
--- a/cloudinit/sources/DataSourceSmartOS.py
+++ b/cloudinit/sources/DataSourceSmartOS.py
@@ -242,7 +242,7 @@ class DataSourceSmartOS(sources.DataSource):
# SDC KVM instances will provide dmi data, LX-brand does not
if self.smartos_type == 'kvm':
dmi_info = dmi_data()
- if dmi_info is False:
+ if dmi_info is None:
LOG.debug("No dmidata utility found")
return False