From 1f06e5aa9a8ec7cca62b4b89bd22d04aca147220 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 9 Aug 2011 10:12:21 -0300 Subject: Minor fix at /etc/hosts in provision --- share/hydractl/provision | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/hydractl/provision b/share/hydractl/provision index ca2092e..0d191c9 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -113,7 +113,8 @@ echo "127.0.0.1 $hostname $hostname.$domain" >> /tmp/debootstrap/etc/hosts echo "127.0.0.1 localhost" >> /tmp/debootstrap/etc/hosts # Invert hostname contents to avoid http://projects.puppetlabs.com/issues/2533 -tac /tmp/debootstrap/etc/hosts > /tmp/debootstrap/etc/hosts +tac /tmp/debootstrap/etc/hosts > /tmp/debootstrap/etc/hosts.new +mv /tmp/debootstrap/etc/hosts.new /tmp/debootstrap/etc/hosts # Initial upgrade. echo "Applying initial upgrades..." -- cgit v1.2.3