Commit cd5cff20 authored by Mike Hibler's avatar Mike Hibler
Browse files

When invoking update for tarball updates, use the 'immediate' (-i) option

which, oddly enough, ensures that update does not return immediately.
parent f9dc4138
...@@ -218,7 +218,7 @@ for {set i 1} {$i <= $num_pcs} {incr i} { ...@@ -218,7 +218,7 @@ for {set i 1} {$i <= $num_pcs} {incr i} {
tb-set-node-tarfiles $planet($i) $tarfiles tb-set-node-tarfiles $planet($i) $tarfiles
tb-set-node-rpms $planet($i) $plab_rpms tb-set-node-rpms $planet($i) $plab_rpms
set tfupdate($tfix) [$planet($i) program-agent -command "sudo /usr/local/etc/emulab/update -t"] set tfupdate($tfix) [$planet($i) program-agent -command "sudo /usr/local/etc/emulab/update -it"]
lappend tflist $tfupdate($tfix) lappend tflist $tfupdate($tfix)
incr tfix incr tfix
...@@ -242,7 +242,7 @@ for {set i 1} {$i <= $num_pcs} {incr i} { ...@@ -242,7 +242,7 @@ for {set i 1} {$i <= $num_pcs} {incr i} {
tb-set-node-tarfiles $plab($i) $tarfiles tb-set-node-tarfiles $plab($i) $tarfiles
tb-set-node-rpms $plab($i) $plab_rpms tb-set-node-rpms $plab($i) $plab_rpms
set tfupdate($tfix) [$plab($i) program-agent -command "sudo /usr/local/etc/emulab/update -t"] set tfupdate($tfix) [$plab($i) program-agent -command "sudo /usr/local/etc/emulab/update -it"]
lappend tflist $tfupdate($tfix) lappend tflist $tfupdate($tfix)
incr tfix incr tfix
...@@ -269,7 +269,7 @@ for {set i 1} {$i <= $num_pcs} {incr i} { ...@@ -269,7 +269,7 @@ for {set i 1} {$i <= $num_pcs} {incr i} {
if {$elab_rpms != ""} { if {$elab_rpms != ""} {
tb-set-node-rpms $elab($i) $elab_rpms tb-set-node-rpms $elab($i) $elab_rpms
} }
set tfupdate($tfix) [$elab($i) program-agent -command "sudo /usr/local/etc/emulab/update -t"] set tfupdate($tfix) [$elab($i) program-agent -command "sudo /usr/local/etc/emulab/update -it"]
lappend tflist $tfupdate($tfix) lappend tflist $tfupdate($tfix)
incr tfix incr tfix
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment