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

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


Signed-off-by: Christian Hesse's avatarChristian Hesse <mail@eworm.de>
parent 7b5d8767
......@@ -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
}
......
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