From: Silvio Rhatto Date: Tue, 9 Aug 2011 13:12:21 +0000 (-0300) Subject: Minor fix at /etc/hosts in provision X-Git-Tag: 0.1~316 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1f06e5aa9a8ec7cca62b4b89bd22d04aca147220;p=hydra.git Minor fix at /etc/hosts in provision --- 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..."