On Mon, Jan 3, 2011 at 3:20 PM, Rance Hall <[email protected]> wrote:
> I have a script that sets up a VDE network with virtual cables and such.
>
> At the end of the script it is supposed to start two vms each attached
> to two different vde switches.
>
> The first VBoxManage startvm vmname works fine, but the second one
> does not execute.
>
> Question:
>
> Do I need a sleep function or something between the two start vm lines
> to get them to run?
>
> currently the end of the script looks like this:
>
> <begin script>
>
> <vde stuff here>
>
> VBoxManage startvm vmname1
> VBoxManage startvm vmname2
>
> <end script>
>
> Yes vmname1 and vmname2 are spelled correctly as I can switch the
> order and start the other vm.
>
> My problem seems to be that whichever vm is second will not start.
>
> What gives?

The second i think the second command isn't even running. Try to get a
log for this, like:

<start>

stuff...
echo "starting vm1... " >> file.log
VBoxManage startvm vmname1
echo "vm1 started: $?" >> file.log
echo "starting vm2... " >> file.log
VBoxManage startvm vmname2
echo "vm2 started: $?" >> file.log

<end>

and check the log. also, you can try this:

<start>
stuff...
( VBoxManage startvm vmname1 )&
( VBoxManage startvm vmname2 )&
<end>

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to