summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-02-07 11:10:40 -0500
committerScott Moser <smoser@ubuntu.com>2011-02-07 11:10:40 -0500
commit8ba08be9c27852aa2a40f1c6fbd497d95443eb3e (patch)
tree969f678e6374d00c1f943228589242f074119fae /doc
parent7077e1481ee22d99126ceb011b8819bd1a23487c (diff)
downloadvyos-cloud-init-8ba08be9c27852aa2a40f1c6fbd497d95443eb3e.tar.gz
vyos-cloud-init-8ba08be9c27852aa2a40f1c6fbd497d95443eb3e.zip
add config option 'manual_cache_clean'.
This option allows user to specify manual cleaning of the /var/lib/cloud/instance/ link, for a data source that might not be present on every boot.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/cloud-config.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt
index 0a1d4279..8d47234d 100644
--- a/doc/examples/cloud-config.txt
+++ b/doc/examples/cloud-config.txt
@@ -383,3 +383,13 @@ syslog_fix_perms: syslog:root
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True
+
+# manual cache clean.
+# By default, the link from /var/lib/cloud/instance to
+# the specific instance in /var/lib/cloud/instances/ is removed on every
+# boot. The cloud-init code then searches for a DataSource on every boot
+# if your DataSource will not be present on every boot, then you can set
+# this option to 'True', and maintain (remove) that link before the image
+# will be booted as a new instance.
+# default is False
+manual_cache_clean = False