diff options
author | Anton Olifir <randolph.o.webb@gmail.com> | 2019-03-06 00:39:02 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2019-03-06 00:39:02 +0000 |
commit | 43f5850767f2412c63a5e75d47598e5d0479fd25 (patch) | |
tree | 361da4803a552c57a7c322bcd9b8534ac95d71e1 /doc | |
parent | 109772c2e9066f5ae53aa2806c4bb4a2ab6f4bff (diff) | |
download | vyos-cloud-init-43f5850767f2412c63a5e75d47598e5d0479fd25.tar.gz vyos-cloud-init-43f5850767f2412c63a5e75d47598e5d0479fd25.zip |
Example for Microsoft Azure data disk added.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/cloud-config-disk-setup.txt | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/examples/cloud-config-disk-setup.txt b/doc/examples/cloud-config-disk-setup.txt index 43a62a26..89d9ff57 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. |