VBoxTool

VBoxTool provides effective control of virtual machines of VirtualBox (virtualization solution) on a Linux headless server.

Installation
Download the source

cd /extra/src
wget http://iweb.dl.sourceforge.net/project/vboxtool/vboxtool/0.5/vboxtool-0.5.zip
unzip -d vboxtool-0.5 vboxtool-0.5.zip
cd vboxtool-0.5

Place the main script, script/vboxtool, in /usr/local/bin:

cp script/vboxtool /usr/local/bin/
chmod +x /usr/local/bin/vboxtool

Place the init script, script/vboxtoolinit, in /etc/init.d and activate it:

cp script/vboxtoolinit /etc/init.d
chmod +x /etc/init.d/vboxtoolinit
chkconfig --add vboxtoolinit
chkconfig --levels 2345 vboxtoolinit on

Create a config folder /etc/vboxtool:

mkdir /etc/vboxtool

Configuration
Create /etc/vboxtool/machines.conf

<VM name>,<VRDP-port>

Usage

Usage: vboxtool OPTION [session]
Show info about VirtualBox sessions or control those sessions.

Options:
  show              Show status of all sessions.
  showrun           Only show status of running sessions.
  showconfig        Show configuration.
  start [session]   Start all saved sessions or only the given session.
                    When no session name is given, all saved sessions will be
                    started; powered off and aborted sessions are left alone.
  autostart         Starts all sessions in a predefined configuration file.
  save [session]    Save all running sessions or only the given session.
  stop [session]    Stop all running sessions or only the given session.
  backup [session]  Backup all running sessions or only the given session.
  --version|version Version info.
  --help|help       This help.

Recent Updates

  • 1 year 12 months ago
  • 1 year 12 months ago
  • 1 year 12 months ago
    php 8.x
  • 1 year 12 months ago
    10.6.7
  • 2 years 16 hours ago
    Drop Centos 5/6 stuff