#!/bin/sh ## RELEASE=USR-i386-0201 VBoxManage createvm --name ${RELEASE} --ostype Ubuntu --register VBoxManage modifyvm ${RELEASE} --memory 512 VBoxManage modifyvm ${RELEASE} --nic1 nat --acpi on VBoxManage storagectl ${RELEASE} --name ${RELEASE}.ide --add ide --controller PIIX4 VBoxManage createhd --filename ${RELEASE}.vdi --size 5000 --remember VBoxManage storageattach ${RELEASE} --type hdd --storagectl ${RELEASE}.ide --port 0 --device 0 --medium ${RELEASE}.vdi VBoxManage storageattach ${RELEASE} --type dvddrive --storagectl ${RELEASE}.ide --port 1 --device 0 --medium ~/USR/${RELEASE}.iso VBoxManage modifyvm ${RELEASE} --boot1 dvd --nic1 nat --acpi on VBoxManage startvm ${RELEASE}