increase disk size to 50Gb

This commit is contained in:
mb 2024-03-28 16:17:57 +01:00
parent e316a27520
commit e4db7ff961

View file

@ -50,7 +50,7 @@ log "creating VM"
VBoxManage createvm --name=$VM_NAME --ostype=ArchLinux_64 --register
VBoxManage modifyvm $VM_NAME --cpus=16 --memory=8192 --vram=32 --firmware=efi
VBoxManage modifyvm $VM_NAME --nic1=nat
VBoxManage createhd --filename="$TMP_DIR/drive.vdi" --size=$((1024 * 20)) --variant=Standard
VBoxManage createhd --filename="$TMP_DIR/drive.vdi" --size=$((50 * 1024)) --variant=Standard
VBoxManage storagectl $VM_NAME --name=SATA --add sata --bootable on
VBoxManage storageattach $VM_NAME --storagectl=SATA --port=0 --device=0 --type=hdd --medium="$TMP_DIR/drive.vdi"
VBoxManage storagectl $VM_NAME --name=IDE --add ide