From 38b81f0384a1f5ee306559e4f8a1c234fd0421cc Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 29 Sep 2016 17:24:35 +0200 Subject: pxe-common: add a comment what added settings to resolv.conf Signed-off-by: Christian Hesse --- archiso/initcpio/hooks/archiso_pxe_common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archiso/initcpio/hooks') diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common index d004cbe..7de2a39 100644 --- a/archiso/initcpio/hooks/archiso_pxe_common +++ b/archiso/initcpio/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 -- cgit v1.2.3-70-g09d2