]> gitweb.fluxo.info Git - hydra.git/commitdiff
Redirect fix
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 9 May 2011 15:19:39 +0000 (12:19 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 9 May 2011 15:19:39 +0000 (12:19 -0300)
share/hydractl/provision

index 417c920c15996eb2c1c38fd32c304cc10401c9be..83a19a0776425f56669a420f8ec869cd9cff85d7 100755 (executable)
@@ -79,8 +79,8 @@ echo LANG=C > /tmp/debootstrap/etc/default/locale
 
 # Resolver configuration.
 echo "domain $domain" > /tmp/debootstrap/etc/resolv.conf
-echo "search $hostname.$domain" > /tmp/debootstrap/etc/resolv.conf
-grep nameserver /etc/resolv.conf > /tmp/debootstrap/etc/resolv.conf
+echo "search $hostname.$domain" >> /tmp/debootstrap/etc/resolv.conf
+grep nameserver /etc/resolv.conf >> /tmp/debootstrap/etc/resolv.conf
 
 # Hostname configuration.
 echo $hostname.$domain > /tmp/debootstrap/etc/hostname