<game_config>
<game_key>vbox_linux32</game_key>
<game_name>VirtualBox</game_name>
<server_exec_name>VBoxHeadless</server_exec_name><!-- http://opengamepanel.org/forum/viewthread.php?thread_id=2094&pid=9487#post_9487 -->
<cli_template>%MAP% %IP% %PORT%</cli_template>
<cli_params>
 <cli_param id='IP' cli_string='-e TCP/Address=' options='q'/>
 <cli_param id='PORT' cli_string='-e TCP/Ports=' options='q'/>
 <cli_param id='MAP' cli_string='--startvm' options='s'/>
</cli_params>
<map_list>vmslist.txt</map_list>
<mods>
 <mod key='vbox'>
  <name>none</name>
 </mod>
</mods>
<post_install>
VBoxManage createvm --name "%home_name%" --register
VBoxManage modifyvm "%home_name%" --memory 512 --acpi on --boot1 dvd --nic1 bridged --bridgeadapter1 eth0
VBoxManage createhd --filename Ubuntu_12_04_Server.vdi --size 10000
VBoxManage storagectl "%home_name%" --name "IDE Controller" --add ide
VBoxManage storageattach "%home_name%" --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium Ubuntu_12_04_Server.vdi
VBoxManage storageattach "%home_name%" --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium %home_path%/image/ubuntu-12.04.2-server-amd64.iso
echo "\"%home_name%\"" >> "%home_path%/vmslist.txt"
ln -s /usr/bin/VBoxHeadless "%home_path%/VBoxHeadless"
</post_install>

</game_config>
