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 d9cb733 commit ee6d926Copy full SHA for ee6d926
modules/copy-installer.sh
@@ -3,7 +3,7 @@
3
if [ -e "/home/robot/installer/installer.sh" ]; then
4
echo $CREDENTIAL
5
ssh $CREDENTIAL 'uptime'
6
- ssh $CREDENTIAL 'mkdir /home/robot/installer'
+ ssh $CREDENTIAL 'sudo mkdir /home/robot/installer/'
7
scp "/home/robot/installer/installer.sh" "$CREDENTIAL:/home/robot/installer"
8
ssh $CREDENTIAL 'sudo chmod +x /home/robot/installer.sh'
9
exit
0 commit comments