Commit 38b81f03 authored by Christian Hesse's avatar Christian Hesse 😜 Committed by Gerardo Exequiel Pozzi
Browse files

pxe-common: add a comment what added settings to resolv.conf


Signed-off-by: Christian Hesse's avatarChristian Hesse <mail@eworm.de>
parent 43a8571a
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment