use/net: Cleanup domain from resolv.conf
This commit is contained in:
parent
21c44d52ec
commit
2245193cbc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user