summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_write_files.py
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2018-07-09 15:34:51 -0600
committerChad Smith <chad.smith@canonical.com>2018-07-09 15:34:51 -0600
commit92002fb7a2f41314d6aba74646644e5fdd5c39a0 (patch)
tree05a6aedccd30b88a80d8f8f1187b75c9bb6444c6 /cloudinit/config/cc_write_files.py
parentbea500a37d64ef62ecd7edb8c6cb4634336ad60c (diff)
parent2e62cb8a6406309cbeb5f8d2aa00fb30e72e1cfc (diff)
downloadvyos-cloud-init-92002fb7a2f41314d6aba74646644e5fdd5c39a0.tar.gz
vyos-cloud-init-92002fb7a2f41314d6aba74646644e5fdd5c39a0.zip
merge from master at 18.3-9-g2e62cb8a
Diffstat (limited to 'cloudinit/config/cc_write_files.py')
-rw-r--r--cloudinit/config/cc_write_files.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/cloudinit/config/cc_write_files.py b/cloudinit/config/cc_write_files.py
index 54ae3a68..31d1db61 100644
--- a/cloudinit/config/cc_write_files.py
+++ b/cloudinit/config/cc_write_files.py
@@ -15,9 +15,14 @@ binary gzip data can be specified and will be decoded before being written.
.. note::
if multiline data is provided, care should be taken to ensure that it
- follows yaml formatting standargs. to specify binary data, use the yaml
+ follows yaml formatting standards. to specify binary data, use the yaml
option ``!!binary``
+.. note::
+ Do not write files under /tmp during boot because of a race with
+ systemd-tmpfiles-clean that can cause temp files to get cleaned during
+ the early boot process. Use /run/somedir instead to avoid race LP:1707222.
+
**Internal name:** ``cc_write_files``
**Module frequency:** per instance