1. Import the appliance
$ vboxmanage import bio-linux-8-latest.ova
2. Check if the VM was imported
$ vboxmanage list vms
$ vboxmanage showvminfo "Bio-Linux-8.0.7" | less
3. Modify the VM to use bridged network connection
$ vboxmanage modifyvm "Bio-Linux-8.0.7" --nic1 bridged --bridgeadapter1 eno1
4. Start the VM in headless mode
$ vboxmanage startvm "Bio-Linux-8.0.7" --type headless
5. Check if the VM is running
$ vboxmanage list runningvms
6. Get the assigned IP address to the VM
$ vboxmanage guestproperty enumerate {`VBoxManage list runningvms | awk -F"{" '{print $2}'` | grep IP | awk -F"," '{print $2}' | awk '{print $2}'
7. Hard shutdown of the VM
$ vboxmanage controlvm "Bio-Linux-8.0.7" poweroff
8. Use SSH to connect to the VM
Wednesday, October 30, 2019
Using VBoxManage to run BioLinux, headless
10:59 AM
Linux