diff options
author | Alberto Contreras <alberto.contreras@canonical.com> | 2022-12-15 17:13:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-15 17:13:17 +0100 |
commit | 99c0750fe954a1c166d7dd7c3e9757c2449a5e48 (patch) | |
tree | bf242d73ed33ad5c40433a817612dfa24978475e /cloudinit/config | |
parent | 6bdd88a7f1d69dc4aac9fa51d663c4b11e3b5217 (diff) | |
download | cloud-init-git-99c0750fe954a1c166d7dd7c3e9757c2449a5e48.tar.gz |
doc: improve cc_write_files doc (#1916)
Diffstat (limited to 'cloudinit/config')
-rw-r--r-- | cloudinit/config/cc_write_files.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/cloudinit/config/cc_write_files.py b/cloudinit/config/cc_write_files.py index f7d89935..f59b2d54 100644 --- a/cloudinit/config/cc_write_files.py +++ b/cloudinit/config/cc_write_files.py @@ -37,15 +37,18 @@ meta: MetaSchema = { before being written. For empty file creation, content can be omitted. .. note:: - if multiline data is provided, care should be taken to ensure that it - follows yaml formatting standards. to specify binary data, use the yaml + If multiline data is provided, care should be taken to ensure that it + 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.""" + LP:1707222. + + .. warning:: + Existing files will be overridden.""" ), "distros": ["all"], "examples": [ |