Update install.sh
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
steps="15"
|
steps="16"
|
||||||
if [ -e ~/.bashrc ]
|
if [ -e ~/.bashrc ]
|
||||||
then
|
then
|
||||||
echo "[1/${steps}] Creating .bashrc backup"
|
echo "[1/${steps}] Creating .bashrc backup"
|
||||||
@@ -63,3 +63,7 @@ echo "[14/${steps}] creating authorized_keys"
|
|||||||
cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
|
cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys
|
||||||
echo "[15/${steps}] copying authorized_keys to rpi"
|
echo "[15/${steps}] copying authorized_keys to rpi"
|
||||||
scp ~/.ssh/authorized_keys zoli@192.168.0.187:~/.ssh/
|
scp ~/.ssh/authorized_keys zoli@192.168.0.187:~/.ssh/
|
||||||
|
|
||||||
|
echo "[16/${steps}] downloading hosts file"
|
||||||
|
curl http://192.168.0.187:3000/zoli/linux-configs/raw/branch/main/hosts -o /etc/hosts
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user