clong/DetectionLab

Add additional checks to prepare.ps1 for VirtualBox

Open

#773 opened on Feb 1, 2022

View on GitHub
 (0 comments) (1 reaction) (0 assignees)HTML (967 forks)batch import
feature-requesthelp wanted

Repository metrics

Stars
 (4,494 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

  • Operating System Version: Win10 10.0.19042
  • Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): VirtualBox
  • Vagrant Version (if applicable): Vagrant 2.2.19

Description of the issue:

Posting this in case somebody else runs into similar issues building on Windows and as a potential FR for the prepare.ps1 script.

Vagrant provisioning on VirtualBox fails due to VMs becoming unresponsive shortly after boot. I have spent a good amount of time looking at this and have localized the issue it to Hyper-V being implicitly enabled by Windows Subsystem for Linux (WSL) for which prepare.ps does not check. There are additional potential culprits listed on VBox forums over here for which it may make sense to include additional checks in the 'prepare.ps1' script.

Link to Gist Containing Build Logs:

N/A

Contributor guide