From e92783f30340fcc5634ee8783589b97c6ac39355 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 22 Nov 2019 02:17:08 -0800 Subject: [PATCH] add docs about efi mode (#8400) Document what needs to happen if you're launching an efi vm. Closes #7081 --- .../source/docs/builders/virtualbox-iso.html.md.erb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/website/source/docs/builders/virtualbox-iso.html.md.erb b/website/source/docs/builders/virtualbox-iso.html.md.erb index 127f54773..6ce10566a 100644 --- a/website/source/docs/builders/virtualbox-iso.html.md.erb +++ b/website/source/docs/builders/virtualbox-iso.html.md.erb @@ -244,3 +244,15 @@ Each command itself is an array of strings, where each string is an argument to template](/docs/templates/engine.html). The only available variable is `Name` which is replaced with the unique name of the VM, which is required for many VBoxManage calls. + +## Creating an EFI enabled VM + +If you want to create an EFI enabled VM, make sure you set the `iso_interface` +to "sata". Otherwise your attached drive will not be bootable. Example: + +``` json + "iso_interface": "sata", + "vboxmanage": [ + [ "modifyvm", "{{.Name}}", "--firmware", "EFI" ] + ] +``` \ No newline at end of file