Commit 2245193c authored by Ivan A. Melnikov's avatar Ivan A. Melnikov Committed by Michael Shigorin

use/net: Cleanup domain from resolv.conf

parent 21c44d52
......@@ -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
Markdown is supported
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