summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-disk-setup.txt
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2013-10-03 17:30:57 -0600
committerBen Howard <ben.howard@canonical.com>2013-10-03 17:30:57 -0600
commit64c0b1f508b1eec1acdd05e5be61c3e6490d1ac8 (patch)
treed8d505daab74e30a08aa1ad9158ae372ab95aea1 /doc/examples/cloud-config-disk-setup.txt
parent798a7527c6ad6a5e21793f017445f78c9288c923 (diff)
downloadcloud-init-64c0b1f508b1eec1acdd05e5be61c3e6490d1ac8.tar.gz
Added support for 'ephmeral0.<auto|any|0>' for device mappings in disk
formating support.
Diffstat (limited to 'doc/examples/cloud-config-disk-setup.txt')
-rw-r--r--doc/examples/cloud-config-disk-setup.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/examples/cloud-config-disk-setup.txt b/doc/examples/cloud-config-disk-setup.txt
index bc6e1923..6ad61c33 100644
--- a/doc/examples/cloud-config-disk-setup.txt
+++ b/doc/examples/cloud-config-disk-setup.txt
@@ -170,6 +170,7 @@ The general format is:
device: <DEVICE>
partition: <PART_VALUE>
overwrite: <OVERWRITE>
+ replace_fs: <FS_TYPE>
Where:
<LABEL>: The file system label to be used. If set to None, no label is
@@ -189,7 +190,10 @@ Where:
If you define the device as 'ephemeralX.Y' then Y will be interpetted
as a partition value. However, ephermalX.0 is the _same_ as ephemeralX.
- <PART_VALUE>: The valid options are:
+ <PART_VALUE>:
+ Partition definitions are overwriten if you use the '<DEVICE>.Y' notation.
+
+ The valid options are:
"auto|any": tell cloud-init not to care whether there is a partition
or not. Auto will use the first partition that does not contain a
file system already. In the absence of a partition table, it will
@@ -238,5 +242,10 @@ Where:
"false": If an existing file system exists, skip the creation.
+ <REPLACE_FS>: This is a special directive, used for Windows 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.
+
Behavior Caveat: The default behavior is to _check_ if the file system exists.
If a file system matches the specification, then the operation is a no-op.