pxe-common: add a comment what added settings to resolv.conf
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
43a8571a6c
commit
38b81f0384
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user