* Joseph J VLcek (Joseph.Vlcek at Sun.COM) wrote:
>>>> The requirement to shutdown the VM is really an ICT task which 
>>>>> you should add as part of your project.
>>>> I would not necessarily call this a strict requirement. It could be 
>>>> done via ICT, or it could be done by having VirtualBox send a  
>>>> shutdown signal to the machine, after determining from progress  
>>>> reporting that the installation is complete.
>>
>> Ok, fair enough. We have to have VB send the shutdown signal somehow,  
>> right? Is there a way to tell the VB VM to do this via the api you will 
>> be using?
>
> If the API can not support it it would not be difficult to shutdown the  
> system once the install has completed.
>
> It could be accomplished a few different ways.
>
> - We could, as Sarah point out, have ICT do it.
> - We could have an SMF service built into the image which could do it.
> - bug 6556 "AI should provide an option for automatic reboot after an  
> install" could be expanded to, in addition to reboot, provide for 
> shutdown.

This last option is what I was envisioning.  The AI client already
provides for rebooting the client after installation.  I merely want to
extend that to allow for a shutdown instead of reboot.

While we *could* force the VM to shutdown by instructing virtualbox to
stop the VM, that's not ideal imo since it doesn't allow OpenSolaris to
perform a clean shutdown.

-- 
Glenn

Reply via email to