diff options
author | Christian Hesse <mail@eworm.de> | 2016-09-29 17:24:35 +0200 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2016-09-29 19:34:51 -0300 |
commit | 38b81f0384a1f5ee306559e4f8a1c234fd0421cc (patch) | |
tree | 7f1578506c12ed6c82aaf9e4555ac0dc2c414bbd /archiso/initcpio | |
parent | 43a8571a6c5e5128f4bf1220549af63077c75dfd (diff) | |
download | archiso32-38b81f0384a1f5ee306559e4f8a1c234fd0421cc.tar.xz |
pxe-common: add a comment what added settings to resolv.conf
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'archiso/initcpio')
-rw-r--r-- | archiso/initcpio/hooks/archiso_pxe_common | 3 |
1 files changed, 2 insertions, 1 deletions
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 |