Skip to content

Commit 5496282

Browse files
committed
should clear resolv.conf on reimage
1 parent 975d7dc commit 5496282

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

installer/stock_raspbian/scripts/clean_device.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ echo "Resetting hostname and hosts files in /boot/coder_settings."
3232
touch /boot/coder_settings/reset.txt
3333
cp ../../../raspbian-addons/boot/coder_settings/hosts.txt /boot/coder_settings/hosts.txt
3434
cp ../../../raspbian-addons/boot/coder_settings/hostname.txt /boot/coder_settings/hostname.txt
35+
echo "nameserver 8.8.8.8" >/etc/resolv.conf
3536
echo ""
3637

3738
echo "Resetting wifi and network defaults."

0 commit comments

Comments
 (0)