From 45aac92596a7615d93c7d5efe72d68995b18e597 Mon Sep 17 00:00:00 2001 From: Chris Glass Date: Fri, 4 Nov 2016 09:38:31 +0000 Subject: doc: fixed example to not overwrite /etc/hosts Instead, it will simply append the new entry. --- doc/examples/cloud-config-boot-cmds.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 ] -- cgit v1.2.3