summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceAzure.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2015-02-13 15:52:47 -0500
committerScott Moser <smoser@ubuntu.com>2015-02-13 15:52:47 -0500
commit32959f97d611979b111513e9ff753db5b5e83447 (patch)
tree72191b105669711a4448d66cd76f68c99164b2cc /cloudinit/sources/DataSourceAzure.py
parent9dde8e6cc29d789e341921ec46b01046f51258f8 (diff)
parent063d33bf8bb277744abab2c1fff44af665dc2545 (diff)
downloadvyos-cloud-init-32959f97d611979b111513e9ff753db5b5e83447.tar.gz
vyos-cloud-init-32959f97d611979b111513e9ff753db5b5e83447.zip
support for managing GPT partitions
Specifically, this is to support Azure's G-series VMs (which come with disks up to 6500GB).
Diffstat (limited to 'cloudinit/sources/DataSourceAzure.py')
-rw-r--r--cloudinit/sources/DataSourceAzure.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py
index c599d50f..444070bb 100644
--- a/cloudinit/sources/DataSourceAzure.py
+++ b/cloudinit/sources/DataSourceAzure.py
@@ -53,9 +53,9 @@ BUILTIN_DS_CONFIG = {
BUILTIN_CLOUD_CONFIG = {
'disk_setup': {
- 'ephemeral0': {'table_type': 'mbr',
- 'layout': True,
- 'overwrite': False},
+ 'ephemeral0': {'table_type': 'gpt',
+ 'layout': [100],
+ 'overwrite': True},
},
'fs_setup': [{'filesystem': 'ext4',
'device': 'ephemeral0.1',