Skip to content

Commit 2e8abc5

Browse files
rotupatrickelectric
authored andcommitted
Overwrite /etc/resolv.conf.host if it exists
This prevents the install script from crashing if run on an existing blueos machine.
1 parent d2b2afd commit 2e8abc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ echo "Restarting random-seeds."
253253
rm -rf /var/lib/systemd/random-seed /loader/random-seed
254254

255255
echo "creating dns link"
256-
sudo ln /etc/resolv.conf /etc/resolv.conf.host
256+
sudo ln --force /etc/resolv.conf /etc/resolv.conf.host
257257

258258
echo "Installation finished successfully."
259259
echo "You can access after the reboot:"

0 commit comments

Comments
 (0)