We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b80b640 commit 1a08073Copy full SHA for 1a08073
controller/expect.exp
@@ -1,7 +1,7 @@
1
set timeout -1
2
set pswd [lindex $argv 0];
3
-spawn systemctl restart kanatran
+spawn sudo sh deploy.sh
4
match_max 100000
5
-expect "*Password: "
+expect "*password for *:"
6
send -- "$pswd\r"
7
expect eof
0 commit comments