summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChris Glass <chris.glass@canonical.com>2016-11-04 09:38:31 +0000
committerDaniel Watkins <daniel.watkins@canonical.com>2016-11-08 15:04:55 +0000
commit45aac92596a7615d93c7d5efe72d68995b18e597 (patch)
treeb09a1a5c2137d6f6bf70f89fc1c3f62373c00667 /doc
parentd9a2e1b5525e731847774e9b7522b18b0e70715c (diff)
downloadvyos-cloud-init-45aac92596a7615d93c7d5efe72d68995b18e597.tar.gz
vyos-cloud-init-45aac92596a7615d93c7d5efe72d68995b18e597.zip
doc: fixed example to not overwrite /etc/hosts
Instead, it will simply append the new entry.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/cloud-config-boot-cmds.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/cloud-config-boot-cmds.txt b/doc/examples/cloud-config-boot-cmds.txt
index 3e59755d..5c05bef7 100644
--- a/doc/examples/cloud-config-boot-cmds.txt
+++ b/doc/examples/cloud-config-boot-cmds.txt
@@ -11,5 +11,5 @@
# - 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
+ - echo 192.168.1.130 us.archive.ubuntu.com >> /etc/hosts
- [ cloud-init-per, once, mymkfs, mkfs, /dev/vdb ]