diff --git a/build.sh b/build.sh index 3530c89..2df2552 100755 --- a/build.sh +++ b/build.sh @@ -25,7 +25,7 @@ fi log "creating VM" VBoxManage createvm --name=$VM_NAME --ostype=ArchLinux_64 --register - VBoxManage modifyvm $VM_NAME --cpus=4 --memory=4096 --vram=12 + VBoxManage modifyvm $VM_NAME --cpus=4 --memory=4096 --vram=12 --firmware=efi VBoxManage modifyvm $VM_NAME --nic1=bridged --bridgeadapter1=$ETH_DEV VBoxManage createhd --filename=$PWD/tmp/drive.vdi --size=$((1024 * 20)) --variant=Standard VBoxManage storagectl $VM_NAME --name=SATA --add sata --bootable on