4 basedir
=/home
/harrison
/ardour
/3.0
5 tooldir
=$basedir/tools
/linux_packaging
9 for VM
in Build_32bit_804s
; do
10 $vbm startvm
$VM --type headless
11 echo "$VM: Waiting for guest control to be available (12 seconds) ... "
13 echo "$VM: Running $tooldir/noderun $basedir on $VM ... "
14 $vbm guestcontrol
exec $VM /bin
/sh \
16 --arguments $tooldir/noderun \
17 --arguments $basedir \
18 --environment PATH
=/usr
/local
/sbin
:/usr
/local
/bin
:/usr
/sbin
:/usr
/bin
:/sbin
:/bin \
19 --username $u --password $p --wait-for stdout
21 $vbm controlvm
$VM savestate
22 if [ $status -ne 0 ] ; then
23 echo "Build failed while in VM $VM"