pxe-common: not only search, but also domain entry in resolv.conf

Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
Christian Hesse 2016-09-29 17:58:19 +02:00 committed by Gerardo Exequiel Pozzi
parent 7b5d876742
commit a04548ce2a

View File

@ -47,6 +47,7 @@ run_hook () {
fi
if [[ -n "${DNSDOMAIN}" ]]; then
echo "search ${DNSDOMAIN}" >> /etc/resolv.conf
echo "domain ${DNSDOMAIN}" >> /etc/resolv.conf
fi
fi
}