Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-09-29 17:24:35 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2016-09-29 19:34:51 -0300
commitbea6a1f2b1270d86aea8d57f98bddf88594834de (patch)
tree071cc5aa2db3b5df70086dbb223d7ce06b73a203 /hooks
parent901d0b839a199dbd63c72bb84644315f8a4ca59d (diff)
pxe-common: add a comment what added settings to resolv.conf
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'hooks')
-rw-r--r--hooks/archiso_pxe_common3
1 files changed, 2 insertions, 1 deletions
diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common
index d004cbe..7de2a39 100644
--- a/hooks/archiso_pxe_common
+++ b/hooks/archiso_pxe_common
@@ -39,7 +39,8 @@ run_hook () {
# setup DNS resolver
if [[ "${IPV4DNS0}" != "0.0.0.0" ]]; then
- echo "nameserver ${IPV4DNS0}" > /etc/resolv.conf
+ echo "# added by archiso_pxe_common hook" > /etc/resolv.conf
+ echo "nameserver ${IPV4DNS0}" >> /etc/resolv.conf
fi
if [[ "${IPV4DNS1}" != "0.0.0.0" ]]; then
echo "nameserver ${IPV4DNS1}" >> /etc/resolv.conf