diff options
author | Matt Fischer <matt@mattfischer.com> | 2016-05-17 20:55:32 +0000 |
---|---|---|
committer | Matt Fischer <matt@mattfischer.com> | 2016-05-17 20:55:32 +0000 |
commit | ea4bc2c603a9d964a918e01d00e39a851e979830 (patch) | |
tree | abd151a96c2553a3a26bde469138606ee0d0c829 /doc/examples/cloud-config-boot-cmds.txt | |
parent | 78cbc764486060928541b9dee6ce5779e622d1fa (diff) | |
download | vyos-cloud-init-ea4bc2c603a9d964a918e01d00e39a851e979830.tar.gz vyos-cloud-init-ea4bc2c603a9d964a918e01d00e39a851e979830.zip |
Document improvements for runcmd/bootcmd
Note that runcmd runs only on first boot.
Note that strings need to be quoted, not escaped.
Switch bootcmd list text to use - not * like everything else.
Diffstat (limited to 'doc/examples/cloud-config-boot-cmds.txt')
-rw-r--r-- | doc/examples/cloud-config-boot-cmds.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/examples/cloud-config-boot-cmds.txt b/doc/examples/cloud-config-boot-cmds.txt index b281d327..3e59755d 100644 --- a/doc/examples/cloud-config-boot-cmds.txt +++ b/doc/examples/cloud-config-boot-cmds.txt @@ -7,9 +7,9 @@ # bootcmd should really only be used for things that could not be # done later in the boot process. bootcmd is very much like # boothook, but possibly with more friendly. -# * bootcmd will run on every boot -# * the INSTANCE_ID variable will be set to the current instance id. -# * you can use 'cloud-init-boot-per' command to help only run once +# - bootcmd will run on every boot +# - the INSTANCE_ID variable will be set to the current instance id. +# - you can use 'cloud-init-boot-per' command to help only run once bootcmd: - echo 192.168.1.130 us.archive.ubuntu.com > /etc/hosts - [ cloud-init-per, once, mymkfs, mkfs, /dev/vdb ] |