summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceAzure.py
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2013-10-04 19:20:23 -0400
committerScott Moser <smoser@ubuntu.com>2013-10-04 19:20:23 -0400
commit54da96b3e4838ce8c13d27d80226cc17c80b384a (patch)
tree4f8f3ae270482e49248cbd1a80e84e859f31dd0c /cloudinit/sources/DataSourceAzure.py
parent26d2c9a3b4b9fdcdd0d26b62df2aad68ee480f62 (diff)
parentfb7b982da08619fad2c582f921c05cf982621c0b (diff)
downloadvyos-cloud-init-54da96b3e4838ce8c13d27d80226cc17c80b384a.tar.gz
vyos-cloud-init-54da96b3e4838ce8c13d27d80226cc17c80b384a.zip
fix failure to create disks on azure, create new 'dev.part' notation
This fixes azure partition creation, and introduces 'ephemeral0.1' notation to indicate "partition 1 on whatever device is ephemeral0". LP: #1233698
Diffstat (limited to 'cloudinit/sources/DataSourceAzure.py')
-rw-r--r--cloudinit/sources/DataSourceAzure.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py
index 7ba6cea8..8321dee0 100644
--- a/cloudinit/sources/DataSourceAzure.py
+++ b/cloudinit/sources/DataSourceAzure.py
@@ -54,8 +54,9 @@ BUILTIN_CLOUD_CONFIG = {
'layout': True,
'overwrite': False}
},
- 'fs_setup': [{'filesystem': 'ext4', 'device': 'ephemeral0',
- 'partition': 'auto'}],
+ 'fs_setup': [{'filesystem': 'ext4',
+ 'device': 'ephemeral0.1',
+ 'replace_fs': 'ntfs'}]
}
DS_CFG_PATH = ['datasource', DS_NAME]