summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2013-03-05 18:49:03 +0000
committerScott Moser <smoser@ubuntu.com>2013-03-05 18:49:03 +0000
commit626f49e427cdbe91285dc337d134bfe2011fd268 (patch)
tree0d223ac020fe7dc52a12abfdbbdfb22e39ff2082
parent6f31822b60f6878a65a4adb15c1d2b4cc4edc81d (diff)
downloadvyos-cloud-init-626f49e427cdbe91285dc337d134bfe2011fd268.tar.gz
vyos-cloud-init-626f49e427cdbe91285dc337d134bfe2011fd268.zip
add doc
-rw-r--r--doc/examples/cloud-config-growpart.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/examples/cloud-config-growpart.txt b/doc/examples/cloud-config-growpart.txt
new file mode 100644
index 00000000..705f02c2
--- /dev/null
+++ b/doc/examples/cloud-config-growpart.txt
@@ -0,0 +1,24 @@
+#cloud-config
+#
+# growpart entry is a dict, if it is not present at all
+# in config, then the default is used ({'mode': 'auto', 'devices': ['/']})
+#
+# mode:
+# values:
+# * auto: use any option possible (growpart or parted)
+# if none are available, do not warn, but debug.
+# * growpart: use growpart to grow partitions
+# if growpart is not available, this is an error.
+# * parted: use parted (parted resizepart) to resize partitions
+# if parted is not available, this is an error.
+# * off, false
+#
+# devices:
+# a list of things to resize.
+# items can be filesystem paths or devices (in /dev)
+# examples:
+# devices: [/, /dev/vdb1]
+#
+growpart:
+ mode: auto
+ devices: ['/']