summaryrefslogtreecommitdiff
path: root/share/hydractl/provision
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/provision')
-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