diff options
author | Chris Glass <chris.glass@canonical.com> | 2016-11-04 09:38:31 +0000 |
---|---|---|
committer | Daniel Watkins <daniel.watkins@canonical.com> | 2016-11-08 15:04:55 +0000 |
commit | 45aac92596a7615d93c7d5efe72d68995b18e597 (patch) | |
tree | b09a1a5c2137d6f6bf70f89fc1c3f62373c00667 /doc | |
parent | d9a2e1b5525e731847774e9b7522b18b0e70715c (diff) | |
download | vyos-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.txt | 2 |
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 ] |