diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-08-09 10:12:21 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-08-09 10:12:21 -0300 |
commit | 1f06e5aa9a8ec7cca62b4b89bd22d04aca147220 (patch) | |
tree | 8f3bf14c28e303b6ed375fc8dbb442c92bb236d4 /share/hydractl | |
parent | 36d7329bbee2d5841342686205190751fbf4e553 (diff) | |
download | hydra-1f06e5aa9a8ec7cca62b4b89bd22d04aca147220.tar.gz hydra-1f06e5aa9a8ec7cca62b4b89bd22d04aca147220.tar.bz2 |
Minor fix at /etc/hosts in provision
Diffstat (limited to 'share/hydractl')
-rwxr-xr-x | share/hydractl/provision | 3 |
1 files changed, 2 insertions, 1 deletions
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..." |