mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-13 17:09:15 +00:00
Set DNS during setup
This commit is contained in:
parent
e640fa7ca1
commit
f7313b263b
|
@ -50,6 +50,12 @@ sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||||
sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
||||||
sysctl -w net.ipv6.conf.lo.disable_ipv6=1
|
sysctl -w net.ipv6.conf.lo.disable_ipv6=1
|
||||||
|
|
||||||
|
# Set DNS for install
|
||||||
|
echo "" > /etc/resolv.conf
|
||||||
|
echo "nameserver 1.1.1.1" >> /etc/resolv.conf
|
||||||
|
echo "nameserver 9.9.9.9" >> /etc/resolv.conf
|
||||||
|
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
|
||||||
|
|
||||||
|
|
||||||
# Make sure FS is expanded for armbian
|
# Make sure FS is expanded for armbian
|
||||||
if [ $IS_ARMBIAN = 1 ] ; then
|
if [ $IS_ARMBIAN = 1 ] ; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user