Menu

#2 Patch to specify order for starting virtual machines

open
nobody
None
5
2009-12-23
2009-12-23
No

With this patch the user is able to specify a order in which the virtual machines get started using machines.conf. The file is extended by a fourth column which gives the number of seconds to wait before starting the machine. Here is an example

dns-vbox,3389 // started immediately like before
www-vbox,3390,,80 // started 80 seconds after vboxtool autostart
db-vbox,3390,,60 // started 60 seconds after vboxtool autostart

This means, that vboxtool first starts the machine "dns-vbox", waits for 60seconds and the starts "db-vbox". After another 20 seconds it will start "www-vbox".

Discussion

  • Tilmann Bubeck

    Tilmann Bubeck - 2009-12-23

    Patch to specify order for starting virtual machines

     
  • Mark Baaijens

    Mark Baaijens - 2009-12-24

    Thanks for your patch.

    I was wondering on how exactly you did the ordering, but your approach of doing this asynchronously by the & command is really ingenious. Clean and simple.

    I'll test this and when it's working OK, I'll copy the code into SVN.

    Thanks.

     

Log in to post a comment.