> > I wanted to configure multiple VirtualBox VMs to startup automatically at
> boot time and generally be a nice citizen to the FreeBSD way of starting up
> stuff.
> 
> Thanks for providing this, however there are several problems, some of
> which you outlined in your post.
> 
> The canonical way to do what you're suggesting is to copy the script so that
> you have one script per process you want to start, each with a different

I've tried that first .. but for me it gets unwieldy when you need to manage 
i.e. a dozen VMs

> $name. That way you avoid a lot of the complexity that you've created, and
> everything works.

Could you explain how doing it in separate scripts will solve i.e.

> 2) when the system shuts down, it doesnt wait for "stop" to finish graceful 
> shutdown of VMs

?

The problem is, that 

VBoxManage controlvm ${vboxvm_name} acpipowerbutton

does exit immediately.

It does not wait until the VM is actually powered down.

Is there i.e. a rc.d "hook" which allows me to make the shutdown process wait 
for some condition (at least up to say a limit of 20s)?

What is the canonical way of doing that kind of stuff?

Or is  there a way of just making the shutdown delayed for 30s independent of 
any of above?

Thanks,
Tobias

> 
> 
> hth,
> 
> Doug
> 
> --
> 
>       Nothin' ever doesn't change, but nothin' changes much.
>                       -- OK Go
> 
>       Breadth of IT experience, and depth of knowledge in the DNS.
>       Yours for the right price.  :)  http://SupersetSolutions.com/

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[email protected]"

Reply via email to