compute/virtualbox.md
... ...
@@ -0,0 +1,13 @@
1
+# VirtualBox stuff
2
+
3
+## List VMs
4
+`VBoxManage list vms`
5
+
6
+## Show VM
7
+`VBoxManage showvminfo ubuntu18.04`
8
+
9
+## Create a load of big disks
10
+`for i in {1..24}; do VBoxManage createhd --filename 12T_$i.vdi --size 11444090 --format VDI --variant Standard; done`
11
+
12
+## Attach a load of big disks
13
+`for i in {1..24}; do VBoxManage storageattach ubuntu18.04 --storagectl "SATA" --device 0 --port $i --type hdd --medium 12T_$i.vdi; done`