diff options
author | Scott Moser <smoser@brickies.net> | 2017-02-04 02:25:19 +0000 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-02-03 21:25:19 -0500 |
commit | e98709225510ee99ee0269c558c82b3e693e38e5 (patch) | |
tree | f81abe6b01f1a6215c26d551439b3032cac77f3b /cloudinit/helpers.py | |
parent | 9698b0ded3d7e72f54513f248d8da41e08472f68 (diff) | |
download | vyos-cloud-init-e98709225510ee99ee0269c558c82b3e693e38e5.tar.gz vyos-cloud-init-e98709225510ee99ee0269c558c82b3e693e38e5.zip |
manual_cache_clean: When manually cleaning touch a file in instance dir.
When manual_cache_clean is enabled, write a file to
/var/lib/cloud/instance/manual-clean. That file can then be read by
ds-identify or another tool to indicate that manual cleaning is in place.
Diffstat (limited to 'cloudinit/helpers.py')
-rw-r--r-- | cloudinit/helpers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cloudinit/helpers.py b/cloudinit/helpers.py index 4528fb01..38f5f899 100644 --- a/cloudinit/helpers.py +++ b/cloudinit/helpers.py @@ -339,6 +339,7 @@ class Paths(object): "vendordata_raw": "vendor-data.txt", "vendordata": "vendor-data.txt.i", "instance_id": ".instance-id", + "manual_clean_marker": "manual-clean", } # Set when a datasource becomes active self.datasource = ds |