VM Image Creation¶
These are instructions on creating an OVA file to be used in PC Setup for new team members.
Download Ubuntu Desktop Image.
For a smaller VM, try Alpine Linux, Tiny Core Linux, or Slax 9. (Only Slax 9 has been tested.)
Download and Install VirtualBox.
Name rUNSWift-VM Type Linux Version Ubuntu (64-bit)
Memory Size 4096MB
Memory size of 2GB is a minimum. Recommendation is half your system memory.
Create a Virtual Hard Disk now
File Size 50GB Hard disk file Type VDI Storage on physical hard disk Dynamically allocated
Processor(s) 4 CPUs
Maximum 1 CPU per 1.5GB Base Memory Recommendation is equal to the number of cores on your system. Ignore the ‘Invalid settings detected’.
- Click on Empty under Controller:IDE.
- Attributess -> Optical Drive -> click on the disc icon
- Choose Virtual Optical Disk File
- Select downloaded iso file
Continue (US Keyboard)
Continue (Minimal Installation and Download Updates)
Install Now (Erase disk)
Continue (write changes to disk?)
Your name (your choice) username (your choice) password (your choice)
Do not use the standard runswift password
Restart Now (after installation is complete)
Inside the VM, download
from CSE into
In a terminal,
ssh-keygen -p -N '' -f ~/.ssh/id_rsa # Enter old passphrase: the standard runswift password sudo apt install git git clone firstname.lastname@example.org:UNSWComputing/rUNSWift.git rUNSWift rUNSWift/bin/setup-build.sh rUNSWift/bin/setup-simulation.sh
For passwords, please Contact us.
Consider squashing history and removing ~/.ssh/id_rsa
Reduce the VM size by commenting out ctc-2.8, flite, and game controller from source.sh/setup-build.sh if you don’t need them
Shutdown the VM
- Machine -> Export to OCI
- Uncheck “Write Manifest File”
Upload ova file to server
rsync -aP ~/Documents/runswift-18.04.ova email@example.com:/var/www/html/