--context aFile : This is optional
This provides a file or a directory as context
If this is not a virtual disk (VD), a new VD is created containing aFile (recursively, if applicable)
If this is a VD (an ISO, VDI, VMDK or VHD), it is kept as is
The VD will be mounted on /mnt/xwcontext

--app aFile : This is optional
This provides a virtual disk (VD) file to mount on /mnt/app
This file may be ISO, VDI, VMDK or VHD file
This typically contains user application stack
This is removed at VM shutdown

--input aFile : This is optional
This provides a virtual disk (VD) file to mount on /mnt/input
This file may be ISO, VDI, VMDK or VHD file
This typically contains user application input files
This is removed at VM shutdown

--result aFile : This is optional
This provides a virtual disk (VD) file to mount on /mnt/result
This file may be ISO, VDI, VMDK or VHD file
If not provided, the script creates, formats
and mounts a new empty 30Gb disk
This will contain user application results
This is kedpt at VM shutdown and sent back to user

--sharedfs : This is optional
This provides a local directory to be mounted inside the VM on /mnt/sharedfs
This is forced to , when running on the Grid Computing
--sshport : This is optional
This provides a port number to forward to VM port 22, to connect through ssh

The middleware proposes a bash script to manage virtual machine in VirtualBox. You can use this script to test an appliance in your own computer with VirtualBox installed,.

Using this script, you can:
– get help, if you provide no parameter or use ‘-h’ or ‘–help’;
– install a new virtual machine in Virtualbox;
– start a virtual machine in Virtualbox;
– stop a virtual machine in Virtualbox;
– remove a virtual machine from Virtualbox.

–context aFile : This is optional
This provides a file or a directory as context
If this is not a virtual disk (VD), a new VD is created containing aFile (recursively, if applicable)
If this is a VD (an ISO, VDI, VMDK or VHD), it is kept as is
The VD will be mounted on /mnt/xwcontext

–app aFile : This is optional
This provides a virtual disk (VD) file to mount on /mnt/app
This file may be ISO, VDI, VMDK or VHD file
This typically contains user application stack
This is removed at VM shutdown

–input aFile : This is optional
This provides a virtual disk (VD) file to mount on /mnt/input
This file may be ISO, VDI, VMDK or VHD file
This typically contains user application input files
This is removed at VM shutdown

–result aFile : This is optional
This provides a virtual disk (VD) file to mount on /mnt/result
This file may be ISO, VDI, VMDK or VHD file
If not provided, the script creates, formats
and mounts a new empty 30Gb disk
This will contain user application results
This is kedpt at VM shutdown and sent back to user

–sharedfs : This is optional
This provides a local directory to be mounted inside the VM on /mnt/sharedfs
This is forced to , when running on the Grid Computing
–sshport : This is optional
This provides a port number to forward to VM port 22, to connect through ssh