Update start.sh
Browse files
start.sh
CHANGED
|
@@ -14,8 +14,9 @@ echo "nameserver 1.1.1.1" >> /tmp/resolv.conf
|
|
| 14 |
|
| 15 |
sudo sh -c 'echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8" > /etc/resolv.conf'
|
| 16 |
|
|
|
|
|
|
|
| 17 |
cat /etc/resolv.conf
|
| 18 |
|
| 19 |
|
| 20 |
-
node index
|
| 21 |
-
wget facebook.com
|
|
|
|
| 14 |
|
| 15 |
sudo sh -c 'echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8" > /etc/resolv.conf'
|
| 16 |
|
| 17 |
+
chattr +i /etc/resolv.conf
|
| 18 |
+
|
| 19 |
cat /etc/resolv.conf
|
| 20 |
|
| 21 |
|
| 22 |
+
node index && cat /etc/resolv.conf
|
|
|