added silent install

This commit is contained in:
2022-08-12 21:23:18 +03:00
parent 9314125bc8
commit 65d3dca6a2

View File

@@ -16,8 +16,8 @@ if [ "$(ls /home |grep saret)" != "saret" ]; then
curl -sSL "https://www.googleapis.com/drive/v3/files/1etRrxKbD57DCyZiqhA7uOMWHzHAsclyQ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine.pub
curl -sSL "https://www.googleapis.com/drive/v3/files/1qPxPILbk9X2wK4nbXnyGCOZs-jjq6NXZ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >DebianMachine
curl -sSL "https://www.googleapis.com/drive/v3/files/10y_s7IHOyqqUfdWB-HwRfYOy2EGlEAro?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine
ssh-copy-id -i ./DebianMachine.pub saret@192.168.1.17
ssh-copy-id -i ./WindowsMachine.pub saret@192.168.1.17
ssh-copy-id -i ./DebianMachine.pub -o StrictHostKeyChecking=no saret@$HOST
ssh-copy-id -i ./WindowsMachine.pub -o StrictHostKeyChecking=no saret@$HOST
sudo reboot
su $username
fi