[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: VirtualBox enviar señal de apagado



El Thu, 04 Dec 2014 11:59:09 -0500, José Betancourt Mondeja escribió:

> mediante la consola podemos iniciar, salvar el estado de ejecución,
> pausar, resumir, reiniciar y apagar bruscamente.
> mi pregunta es... no existe una forma de apagar normalmente que no sea
> poweroff?
> estos son los comandos que conozco.
> gracias
> 
> VBoxManage controlvm "nombre-de-la-vm" savestate
> VBoxManage controlvm "nombre-de-la-vm" pause
> VBoxManage controlvm "slackware" resume
> VBoxManage controlvm "slackware" reset
> VBoxManage controlvm "slackware" poweroff

***
VBoxManage controlvm <vm> poweroff has the same effect on a virtual 
machine as pulling the power cable on a real computer. Again, the state 
of the VM is not saved beforehand, and data may be lost. (This is 
equivalent to selecting the "Close" item in the "Machine" menu of the GUI 
or pressing the window's close button, and then selecting "Power off the 
machine" in the dialog.)

After this, the VM's state will be "Powered off". From there, it can be 
started again; see Section 8.12, “VBoxManage startvm”.
***

Hum... qué mal ¿no? :-?

Se me ocurre que podrías hacerlo en dos pasos:

1/ Apagar la VM vía conexión local/remota (p. ej., mediante "ssh") para 
que se cierre el sistema correctamente.

2/ Enviarle a VB la señal de apagado (poweroff) de la VM.

Saludos,

-- 
Camaleón


Reply to: