From 8ba08be9c27852aa2a40f1c6fbd497d95443eb3e Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Mon, 7 Feb 2011 11:10:40 -0500 Subject: 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. --- doc/examples/cloud-config.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3