fix dns
This commit is contained in:
parent
b17e30e394
commit
4b946c62ea
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ EnableNetworkConfiguration=true
|
|||
EOF
|
||||
|
||||
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf
|
||||
sed -i 's/#DNS=.*/DNS=100.64.0.1/' /etc/systemd/resolved.conf
|
||||
sudo sed -i 's/#FallbackDNS=.*/FallbackDNS=1.1.1.1/' /etc/systemd/resolved.conf
|
||||
|
||||
useradd -m matt -G wheel
|
||||
passwd matt
|
||||
|
|
Loading…
Reference in a new issue