We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I realize my request is a bit odd but let me explain. I use a VM to host a demo environment that needs to reset every hour.
I would love to use something like this service because the Windows 10 Host often restarts unexpectedly due to OS updates.
Currently I have a batch file that is a scheduled task which runs hourly. The batch file;
Would it still be possible to do this with a VM that was managed by the VBoxVmService
@path=%PATH%;c:\Program Files\Oracle\VirtualBox @set VMSERVER=Windows 2016 Demo Server vboxmanage controlvm "%VMSERVER%" poweroff @timeout /t 3 vboxmanage snapshot "%VMSERVER%" restorecurrent @timeout /t 3 vboxmanage startvm "%VMSERVER%"
The text was updated successfully, but these errors were encountered:
VBoxVmService and vboxmanage might not be able to work together, but you are welcome to try. Also you might want to check the wiki page https://github.com/onlyfang/VBoxVmService/wiki/Runing-VirtualBox-GUI-together-with-VBoxVmService.
Sorry, something went wrong.
No branches or pull requests
I realize my request is a bit odd but let me explain. I use a VM to host a demo environment that needs to reset every hour.
I would love to use something like this service because the Windows 10 Host often restarts unexpectedly due to OS updates.
Currently I have a batch file that is a scheduled task which runs hourly. The batch file;
Would it still be possible to do this with a VM that was managed by the VBoxVmService
Batch File below
@path=%PATH%;c:\Program Files\Oracle\VirtualBox
@set VMSERVER=Windows 2016 Demo Server
vboxmanage controlvm "%VMSERVER%" poweroff
@timeout /t 3
vboxmanage snapshot "%VMSERVER%" restorecurrent
@timeout /t 3
vboxmanage startvm "%VMSERVER%"
The text was updated successfully, but these errors were encountered: