First Prepare the snapshot for MP4 Deployment. Make sure to remove all parameters in the json and remove the working code for part2 of the lab Option 1: Using the GUI (recommended, don't need admin privileges)
- Click on your VM then click Properties > USB and make sure USB 3.0 (xHCI) controller is selected
- Confirm this worked by launch the vm, and run lsusb to see the running usb drivers
- Close the Vm and go to Open File > Virtual Media Manager
- Select the .vdi file for the VM instance
- Select Properties at the top of the window
- Under attributes tab, change type from normal to immutable
- Click apply at the bottom of the window
- Virtual box will warn you the drive must be detached from the vm instance, click release
- Close the virtual media manager window
- The storage drive should now show up as immutable
- Run this command in windows C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifymedium be787164-a8a6-47d5-85af-9da6934f9f1a --autoreset=on
Option 2: Using the command line (need admin privileges to open cmd in c drive)
For instructions on how to use command line go here: https://git.ece.iastate.edu/danc/MicroCART/-/wikis/uploads/fd64635c7ffad005ce8bd1101f8fb9e1/VM_logistics.pdf
After the VM is immutable, you will want to email and/or talk to the ETG to copy the VM from your specific lab computer to the rest of the lab computers. Tell them the exact file path, C:/Temp/MP4Image/BaseFolder and tell them the exact computer this is on, for instance CO2041-16. Once the VM is copied, you will want to test that your new version of the VM is present on all the computers and to double check this. Having the wrong version is a painful mistake to make.