From bea6a1f2b1270d86aea8d57f98bddf88594834de 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 --- hooks/archiso_pxe_common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hooks') 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 -- cgit v1.2.3-70-g09d2