|Скрипт управления VirtualBox машинами|
VirtualBox Control is a shell script application to manage virtual machines using the console.
It was originally written by Carlos Acosta, and published on his website, to manage VirtualBox virtual machines without using the graphical interface. It is written in bash script and uses VBoxManage intensively.
It handles basic start/stop/pause/resume functions, load/unload of removable media and configuration of the remote console port to access the virtual machine's console via vrdp protocol (Oracle VirtualBox extensions must be installed).
The original script works as intended and it manages virtual machines but I felt it lacked visual impact. There were some minor inconsistencies between menus and lack of color. There was also a problem with machines containing white spaces in their names that were simply not detected correctly.
So I changed the code and added more features:
First screen after launching the script, with animated "Please wait" message:
Main menu waiting for user to select a virtual machine by its ID on the left:
Details and Control menu for a virtual machine:
Screen shown after selecting option 9) Load/Eject ISO images:
ссылка на материал: http://thin.kiev.ua/linux/39-linux/658-virtualbox-start-stop-vboxmanage.html
|Последнее обновление 31.07.12 15:50|