I would like use Vagrant/Virtualbox in Azure Pipelines (the free version for GitHub open-source projects).
When Virtualbox tries to spin up its VM it errors out with
Stderr: VBoxManage.exe: error: WHvCapabilityCodeHypervisorPresent is FALSE! Make sure you have enabled the 'Windows Hypervisor Platform' feature. (VERR_NEM_NOT_AVAILABLE).
VBoxManage.exe: error: VT-x is not available (VERR_VMX_NO_VMX)
which makes me think that nested virtualization isn't turned on. However, I'm using the win1803
host, which (I think) is intended for this purpose. In addition, manually turning on Hyper-V works:
> Install-WindowsFeature -Name Hyper-V -IncludeManagementTools
Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
True No Success {Hyper-V Module for Windows ...
I'm not quite sure what I'm missing. There's lots of examples of running nested VMs (especially using Packer) with Azure DevOps. Is Azure Pipelines that different?