Commit 47b6af2a authored by Erwan BOUSSE's avatar Erwan BOUSSE
Browse files

Fix convert to vbox

parent 69a02a10
......@@ -15,8 +15,8 @@ VBoxManage unregistervm "mini-ubuntu" --delete || true
rm -rf vbox
mkdir -p vbox
VBoxManage convertfromraw --format vdi $OUTPUT_IMG vbox/image.vdi
VBoxManage createvm --name "mini-ubuntu" --ostype "Ubuntu_64" --register --basefolder ./vbox
VBoxManage convertfromraw --format vdi $OUTPUT_IMG $OUTPUT_VDI
VBoxManage createvm --name "mini-ubuntu" --ostype "Ubuntu_64" --register --basefolder $OUTPUT_FOLDER
VBoxManage storagectl "mini-ubuntu" --name "SATA Controller" --add sata --controller IntelAhci --portcount 1
VBoxManage storageattach "mini-ubuntu" --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium $OUTPUT_VDI
VBoxManage modifyvm "mini-ubuntu" \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment