summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceSmartOS.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-09-27 12:26:25 -0400
committerScott Moser <smoser@ubuntu.com>2013-09-27 12:26:25 -0400
commit55490f1f040f7e00985375872938c80e41803f4e (patch)
tree74e9a676d787761c9711205a1f4d0493bcf79e3c /cloudinit/sources/DataSourceSmartOS.py
parent4d13fa79b32636bfab27540c76f46fcfb7ce7f5c (diff)
downloadvyos-cloud-init-55490f1f040f7e00985375872938c80e41803f4e.tar.gz
vyos-cloud-init-55490f1f040f7e00985375872938c80e41803f4e.zip
fix tests small other changes
Also * cloudinit/sources/DataSourceAzure.py: invalid xml in a file called 'ovfenv.xml' should raise BrokenAzureDatasource rather than NonAzureDataSource * cloudinit/sources/DataSourceSmartOS.py: cloudinit/sources/DataSourceAzure.py use 'ephemeral0' as the device name in builtin fs_setup * tests/unittests/test_datasource/test_azure.py: * always patch 'list_possible_azure_ds_devs' as it calls find_devs_with which calls blkid, and dramatically was slowing down tests on my system. * test_user_cfg_set_agent_command_plain: fix this test to not depend on specific format of yaml.dumps(). * test_userdata_arrives: add a test that user-data makes it through
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 050325fa..fa26633a 100644
--- a/cloudinit/sources/DataSourceSmartOS.py
+++ b/cloudinit/sources/DataSourceSmartOS.py
@@ -82,7 +82,7 @@ BUILTIN_CLOUD_CONFIG = {
'overwrite': False}
},
'fs_setup': [{'label': 'ephemeral0', 'filesystem': 'ext3',
- 'device': '/dev/xvdb', 'partition': 'auto'}],
+ 'device': 'ephemeral0', 'partition': 'auto'}],
}