use/net: Cleanup domain from resolv.conf

This commit is contained in:
Ivan A. Melnikov 2019-03-05 11:20:04 +00:00 committed by Michael Shigorin
parent 21c44d52ec
commit 2245193cbc

View File

@ -7,4 +7,4 @@ find /var -name resolv.conf -or -name nsswitch.conf -delete
# hasher might have carried host /etc/hosts over, need to overwrite
echo "127.0.0.1 localhost.localdomain localhost" > /etc/hosts
sed -ri "/^(search|nameserver)/d" /etc/resolv.conf
sed -ri "/^(search|nameserver|domain)/d" /etc/resolv.conf