diff options
author | Chad Smith <chad.smith@canonical.com> | 2018-07-09 20:13:47 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2018-07-09 20:13:47 +0000 |
commit | 2e62cb8a6406309cbeb5f8d2aa00fb30e72e1cfc (patch) | |
tree | d4ed2a20225ae9688a91e131c173a7eca17c8853 /cloudinit/config/cc_bootcmd.py | |
parent | c1a75a697d7cb2e6c97ad90d64c9b2b88db2034a (diff) | |
download | vyos-cloud-init-2e62cb8a6406309cbeb5f8d2aa00fb30e72e1cfc.tar.gz vyos-cloud-init-2e62cb8a6406309cbeb5f8d2aa00fb30e72e1cfc.zip |
docs: note in rtd about avoiding /tmp when writing files
LP: #1727876
Diffstat (limited to 'cloudinit/config/cc_bootcmd.py')
-rw-r--r-- | cloudinit/config/cc_bootcmd.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cloudinit/config/cc_bootcmd.py b/cloudinit/config/cc_bootcmd.py index db64f0a6..6813f534 100644 --- a/cloudinit/config/cc_bootcmd.py +++ b/cloudinit/config/cc_bootcmd.py @@ -42,7 +42,13 @@ schema = { .. note:: bootcmd should only be used for things that could not be done later - in the boot process."""), + in the boot process. + + .. note:: + + when writing files, do not use /tmp dir as it races with + systemd-tmpfiles-clean LP: #1707222. Use /run/somedir instead. + """), 'distros': distros, 'examples': [dedent("""\ bootcmd: |