increase disk size to 50Gb
This commit is contained in:
parent
e316a27520
commit
e4db7ff961
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ log "creating VM"
|
||||||
VBoxManage createvm --name=$VM_NAME --ostype=ArchLinux_64 --register
|
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 --cpus=16 --memory=8192 --vram=32 --firmware=efi
|
||||||
VBoxManage modifyvm $VM_NAME --nic1=nat
|
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 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 storageattach $VM_NAME --storagectl=SATA --port=0 --device=0 --type=hdd --medium="$TMP_DIR/drive.vdi"
|
||||||
VBoxManage storagectl $VM_NAME --name=IDE --add ide
|
VBoxManage storagectl $VM_NAME --name=IDE --add ide
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue