cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #06081
[Merge] ~zolti/cloud-init:microsoft-azure-disk-example into cloud-init:master
zolti has proposed merging ~zolti/cloud-init:microsoft-azure-disk-example into cloud-init:master.
Requested reviews:
cloud-init commiters (cloud-init-dev)
For more details, see:
https://code.launchpad.net/~zolti/cloud-init/+git/cloud-init/+merge/363960
--
Your team cloud-init commiters is requested to review the proposed merge of ~zolti/cloud-init:microsoft-azure-disk-example into cloud-init:master.
diff --git a/doc/examples/cloud-config-disk-setup.txt b/doc/examples/cloud-config-disk-setup.txt
index 43a62a2..89d9ff5 100644
--- a/doc/examples/cloud-config-disk-setup.txt
+++ b/doc/examples/cloud-config-disk-setup.txt
@@ -17,7 +17,7 @@ fs_setup:
device: ephemeral0
partition: auto
-# Default disk definitions for Windows Azure
+# Default disk definitions for Microsoft Azure
# ------------------------------------------
device_aliases: {'ephemeral0': '/dev/sdb'}
@@ -34,6 +34,21 @@ fs_setup:
replace_fs: ntfs
+# Data disks definitions for Microsoft Azure
+# ------------------------------------------
+
+disk_setup:
+ /dev/disk/azure/scsi1/lun0:
+ table_type: gpt
+ layout: True
+ overwrite: True
+
+fs_setup:
+ - device: /dev/disk/azure/scsi1/lun0
+ partition: 1
+ filesystem: ext4
+
+
# Default disk definitions for SmartOS
# ------------------------------------
@@ -242,7 +257,7 @@ fs_setup:
#
# "false": If an existing file system exists, skip the creation.
#
-# <REPLACE_FS>: This is a special directive, used for Windows Azure that
+# <REPLACE_FS>: This is a special directive, used for Microsoft Azure that
# instructs cloud-init to replace a file system of <FS_TYPE>. NOTE:
# unless you define a label, this requires the use of the 'any' partition
# directive.
Follow ups