We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7604827 commit 9e253c4Copy full SHA for 9e253c4
modules/copy-installer.sh
@@ -2,9 +2,9 @@
2
3
if [ -e "/home/robot/installer/installer.sh" ]; then
4
echo $CREDENTIAL
5
- ssh $CREDENTIAL 'bash -s' < mkdir installer
6
- scp "/home/robot/installer/installer.sh" "$CREDENTIAL:/home/robot"
7
- ssh $CREDENTIAL 'bash -s' < chmod +x installer.sh
+ ssh $CREDENTIAL 'bash -s' < sudo mkdir /home/robot/installer
+ scp "/home/robot/installer/installer.sh" "$CREDENTIAL:/home/robot/installer"
+ ssh $CREDENTIAL 'bash -s' < sudo chmod +x /home/robot/installer.sh
8
exit
9
else
10
echo "Sorry, the installer didn´t detect the installer"
0 commit comments