summaryrefslogtreecommitdiff
path: root/vm-data/worker.customize
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-06-12 20:18:55 +0100
committerLars Wirzenius <liw@liw.fi>2013-06-12 20:18:55 +0100
commit03edad5fca66296557618cac08fcd38a517affc1 (patch)
tree0db9820287c9cfd10e0a260765197ad096070ba0 /vm-data/worker.customize
parentcbc58a1fd3a068296e391a43b290094203ca7a70 (diff)
downloadjenkinstool-03edad5fca66296557618cac08fcd38a517affc1.tar.gz
Install an /etc/hosts on each node
Diffstat (limited to 'vm-data/worker.customize')
-rwxr-xr-xvm-data/worker.customize2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm-data/worker.customize b/vm-data/worker.customize
index 546af18..8337dbf 100755
--- a/vm-data/worker.customize
+++ b/vm-data/worker.customize
@@ -62,3 +62,5 @@ cat <<EOF >> "$rootdir/etc/sudoers"
jenkins ALL=(ALL:ALL) NOPASSWD: ALL
EOF
+# Append addresses to /etc/hosts.
+cat vm-data/hosts >> "$rootdir/etc/hosts"