summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config-run-cmds.txt
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 /doc/examples/cloud-config-run-cmds.txt
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 'doc/examples/cloud-config-run-cmds.txt')
-rw-r--r--doc/examples/cloud-config-run-cmds.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/examples/cloud-config-run-cmds.txt b/doc/examples/cloud-config-run-cmds.txt
index 3bb06864..002398f5 100644
--- a/doc/examples/cloud-config-run-cmds.txt
+++ b/doc/examples/cloud-config-run-cmds.txt
@@ -18,5 +18,8 @@ runcmd:
- [ sh, -xc, "echo $(date) ': hello world!'" ]
- [ sh, -c, echo "=========hello world'=========" ]
- ls -l /root
- - [ wget, "http://slashdot.org", -O, /tmp/index.html ]
+ # Note: Don't write files to /tmp from cloud-init use /run/somedir instead.
+ # Early boot environments can race systemd-tmpfiles-clean LP: #1707222.
+ - mkdir /run/mydir
+ - [ wget, "http://slashdot.org", -O, /run/mydir/index.html ]