diff options
author | Adrian Wilkins <adrian.wilkins@infinityworks.com> | 2020-04-28 16:55:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 11:55:34 -0400 |
commit | b70f11079e6d4264ff9a8c12089945f57d903e28 (patch) | |
tree | df50579332842188ac05bf488454df57e73e81aa /doc | |
parent | f5e1d67bf6faf400749ca192c3394c3356b2654e (diff) | |
download | vyos-cloud-init-b70f11079e6d4264ff9a8c12089945f57d903e28.tar.gz vyos-cloud-init-b70f11079e6d4264ff9a8c12089945f57d903e28.zip |
Add docs about creating parent folders (#330)
Clarify in documentation that write_files will create parent folders
for paths that do not already exist.
This obfuscates what the problem is when people erroneously create
files in /tmp despite the warnings in the documentation not to do so.
People naturally assume that their file is absent because the parent folder
did not exist for it to be created in, causing them to add a runcmd block
to create the folder, even though execution order means that this will not
occur until after write_files have all finished.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions