clong / clong/DetectionLab

Add additional checks to prepare.ps1 for VirtualBox

Open
#773 0 comments 1 reaction 0 assignees View on GitHub
feature-request help wanted
Dominant language
HTML
Stars
5k
Forks
1k
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](https://forums.virtualbox.org/viewtopic.php?f=1&t=62339&p=452019#p452019) 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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.