diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-02-16 20:45:57 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-02-16 20:45:57 -0200 |
commit | 613707a83fcadac0f67dc89d2c5b7fda387d7855 (patch) | |
tree | 96c9ecd073fa4b7b36d079a0830b043c0aada206 /share/hydractl | |
parent | 04ca4fde21a693ab997c161231b3dcf652d1ec55 (diff) | |
download | hydra-613707a83fcadac0f67dc89d2c5b7fda387d7855.tar.gz hydra-613707a83fcadac0f67dc89d2c5b7fda387d7855.tar.bz2 |
Create two 127.0.0.1 host entries to avoid facter fqdn issue
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 19daad7..2822864 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -71,7 +71,8 @@ mount none -t proc /tmp/debootstrap/proc/ mount -o bind /dev/ /tmp/debootstrap/dev cp -L /etc/resolv.conf /tmp/debootstrap/etc echo $hostname.$domain > /tmp/debootstrap/etc/hostname -echo "127.0.0.1 localhost $hostname $hostname.$domain" >> /tmp/debootstrap/etc/hosts +echo "127.0.0.1 $hostname $hostname.$domain" >> /tmp/debootstrap/etc/hosts +echo "127.0.0.1 localhost" >> /tmp/debootstrap/etc/hosts echo LANG=C > /tmp/debootstrap/etc/default/locale # Initial upgrade. |