summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-05-09 12:19:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-05-09 12:19:39 -0300
commit7323c8ad8228abd7cff5a50bf6c082fd061387e5 (patch)
tree955f8a8a54ff72bec6999ef4ed11c48802ee064e
parentda47ae87b63eaa4298bc307270caa627e9b82a1b (diff)
downloadhydra-7323c8ad8228abd7cff5a50bf6c082fd061387e5.tar.gz
hydra-7323c8ad8228abd7cff5a50bf6c082fd061387e5.tar.bz2
Redirect fix
-rwxr-xr-xshare/hydractl/provision4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision
index 417c920..83a19a0 100755
--- a/share/hydractl/provision
+++ b/share/hydractl/provision
@@ -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