summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceSmartOS.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/sources/DataSourceSmartOS.py')
-rw-r--r--cloudinit/sources/DataSourceSmartOS.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cloudinit/sources/DataSourceSmartOS.py b/cloudinit/sources/DataSourceSmartOS.py
index 9b3fdf1a..666129ec 100644
--- a/cloudinit/sources/DataSourceSmartOS.py
+++ b/cloudinit/sources/DataSourceSmartOS.py
@@ -156,9 +156,7 @@ class DataSourceSmartOS(sources.DataSource):
return True
def device_name_to_device(self, name):
- device = name.split('.')[0]
- return util.map_device_alias(self.ds_cfg['disk_aliases'].get(device),
- alias=name)
+ return self.ds_cfg['disk_aliases'].get(name)
def get_config_obj(self):
return self.cfg