lib/cucumber/chef/templates/bootstrap/ubuntu-precise-omnibus.erb in cucumber-chef-3.0.0.rc.4 vs lib/cucumber/chef/templates/bootstrap/ubuntu-precise-omnibus.erb in cucumber-chef-3.0.0.rc.5
- old
+ new
@@ -8,9 +8,10 @@
CUCUMBER_CHEF_BOOTSTRAP_DONE="/.cucumber-chef-bootstrap-finished"
# [ -f ${CUCUMBER_CHEF_BOOTSTRAP_DONE} ] && echo "Already bootstrapped!" && exit
export DEBIAN_FRONTEND=noninteractive
+cd /tmp
echo "127.0.0.1 <%= @hostname_full %> <%= @hostname_short %>" | tee -a /etc/hosts
echo "<%= @hostname_full %>" | tee /etc/hostname
hostname <%= @hostname_full %>