summaryrefslogtreecommitdiff
path: root/archiso
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-09-29 17:58:19 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2016-09-29 19:34:51 -0300
commita04548ce2a7802dc0e5bc30a9bc3f1f4d8316e53 (patch)
tree61c6f907ddcbcea0059a82ba252da804f2ae38d8 /archiso
parent7b5d8767427d97643dc77ead4be1d535f904fcc0 (diff)
downloadarchiso32-a04548ce2a7802dc0e5bc30a9bc3f1f4d8316e53.tar.xz
pxe-common: not only search, but also domain entry in resolv.conf
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'archiso')
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_common1
1 files changed, 1 insertions, 0 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common
index 652ef8f..422e4f7 100644
--- a/archiso/initcpio/hooks/archiso_pxe_common
+++ b/archiso/initcpio/hooks/archiso_pxe_common
@@ -47,6 +47,7 @@ run_hook () {
fi
if [[ -n "${DNSDOMAIN}" ]]; then
echo "search ${DNSDOMAIN}" >> /etc/resolv.conf
+ echo "domain ${DNSDOMAIN}" >> /etc/resolv.conf
fi
fi
}