Skip to content

stockrt/vboxctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#
# Author: Rogério Carvalho Schneider <stockrt@gmail.com>
# URL:    http://stockrt.github.com
#

VirtualBox Machines Control init script

Usage: ./vboxctl {start|startall|stop|stopall|poweroff|poweroffall|reset|resetall|open|openall|startvm <vmname>|stopvm <vmname>|poweroffvm <vmname>|resetvm <vmname>|openvm <vmname>|status}

With this init script you will be able to control your VMs with the following
options:

- start
Start all configured VMs in /etc/vbox/vbox.cfg

- startall
Start all VMs

- stop
Stop (grace) all configured VMs in /etc/vbox/vbox.cfg

- stopall
Stop (grace) all running VMs

- poweroff
Power off (force) all configured VMs in /etc/vbox/vbox.cfg

- poweroffall
Power off (force) all running VMs

- reset
Reset (reboot) all configured VMs in /etc/vbox/vbox.cfg

- resetall
Reset (reboot) all running VMs

- open
Open GUI for all configured VMs in /etc/vbox/vbox.cfg

- openall
Open GUI for all running VMs

- startvm <vmname>
Start one specific VM

- stopvm <vmname>
Stop one specifc VM

- poweroffvm <vmname>
Power off one specific VM

- resetvm <vmname>
Reset (reboot) one specific VM

- openvm <vmname>
Open GUI for one specific VM

- status
Show which VMs are running

In order to use this initscript you will need to configure
/etc/vbox/vbox.cfg like this:
 VM_USER="stockrt"
 MACHINES="fedora01 centos01 freebsd7 windows-xp"

About

VirtualBox Machines Control init script

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published