Displaying 5 results from an estimated 5 matches for "exp_continue".
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...ot=no" "${workdir}"
+
+ expect -c '
+set timeout '${timeout_period}'
+
+log_file -noappend stateless-pxe.log
+
+spawn sudo virsh console '"${nodename}"'
+
+expect {
+ -exact "Linux version" { send_log "\n\nMarker 1\n\n"; exp_continue }
+ -exact "Starting ovirt-early:" { send_log "\n\nMarker 2\n\n"; exp_continue }
+ -exact "Starting ovirt:" { send_log "\n\nMarker 3\n\n"; exp_continue }
+ -exact "Starting ovirt-post:" { send_log "\n\nMarker 4\n\n"; exp_co...
2015 Jun 16
1
Strange problem with rsync and expect
...=$bwlimit --timeout=$timeout "$src_path" "$dest_ip:$dest_path"
expect {
"Connection refused" {exit 1}
"Name or service not known" {exit 2}
"Permission denied*" {exit 3}
"continue connecting" {send "yes\r"; exp_continue}
"password:" {send "$passwd\r"; exp_continue}
}
exit
May I did something wrong? Thanks in advance.
Guangmu Zhu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20150616/a5b722e3/a...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...expect -c '
set timeout 120
-log_file -noappend stateless-pxe-nohd.log
+
+log_file -noappend stateless-pxe.log
spawn sudo virsh console '"${nodename}"'
@@ -491,20 +490,18 @@ expect {
-exact "Starting ovirt-early:" { send_log "\n\nMarker 2\n\n"; exp_continue }
-exact "Starting ovirt:" { send_log "\n\nMarker 3\n\n"; exp_continue }
-exact "Starting ovirt-post:" { send_log "\n\nMarker 4\n\n"; exp_continue }
- -exact "login:" { send_log "\n\nMarker 5\n\n"; exit }
+ -re...
2013 Jul 21
8
When no MTA is installed, How to send an email with a cronjob?
Hi,
When no MTA is installed, How to send an email with a cronjob?
I have below entrty in my cronjob?
my /etc/cron.d/backup file looks like this.
MAILTO=myemail at example.com
15 11 * * * root /root/scripts/backup.sh
Can I send this email via SMTP server?
Hope to hear from you.
--
Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
2002 Sep 05
0
error in smbpasswd (now in english, sorry)
...quot;
#sleep 1;
done
trocapass:
#!/usr/bin/expect
set usuario [lindex $argv 0]
set senha [lindex $argv 1]
spawn /usr/bin/passwd $usuario
expect {
"assword*:" {
sleep .5s
send "$senha\r"
exp_continue
}
}
spawn /usr/bin/smbpasswd $usuario
expect {
"assword*:" {
sleep .5s
send "$senha\r"
exp_continue
}
}
This scripts take data of a text file like this:
0334_99:/home/sam...