summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceAzure.py
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2017-06-01 12:40:12 -0400
committerScott Moser <smoser@brickies.net>2017-06-01 12:40:12 -0400
commit1cd4323b940408aa34dcaa01bd8a7ed43d9a966a (patch)
tree9ad5f5b6672e5113fb34a20a2c956414da8cb5b8 /cloudinit/sources/DataSourceAzure.py
parent5fb49bacf7441d8d20a7b4e0e7008ca586f5ebab (diff)
downloadvyos-cloud-init-1cd4323b940408aa34dcaa01bd8a7ed43d9a966a.tar.gz
vyos-cloud-init-1cd4323b940408aa34dcaa01bd8a7ed43d9a966a.zip
azure: remove accidental duplicate line in merge.
In previous commit I inadvertantly left two calls to asset_tag = util.read_dmi_data('chassis-asset-tag') The second did not do anything useful. Thus, remove it.
Diffstat (limited to 'cloudinit/sources/DataSourceAzure.py')
-rw-r--r--cloudinit/sources/DataSourceAzure.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py
index 314848e4..a0b9eaef 100644
--- a/cloudinit/sources/DataSourceAzure.py
+++ b/cloudinit/sources/DataSourceAzure.py
@@ -326,7 +326,6 @@ class DataSourceAzureNet(sources.DataSource):
if asset_tag != AZURE_CHASSIS_ASSET_TAG:
LOG.debug("Non-Azure DMI asset tag '%s' discovered.", asset_tag)
return False
- asset_tag = util.read_dmi_data('chassis-asset-tag')
ddir = self.ds_cfg['data_dir']
candidates = [self.seed_dir]