DetectionLab icon indicating copy to clipboard operation
DetectionLab copied to clipboard

Box 'detectionlab/win2016' could not be found.

Open schupat opened this issue 5 years ago • 5 comments

  • Operating System Version: Win10
  • Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi): Hyper-V
  • Vagrant Version (if applicable): latest

Please verify that you are building from an updated Master branch before filing an issue.

Description of the issue:

While building the win2016 host, I'm running into the following error message that causes the build to stop:

Bringing machine 'logger' up with 'hyperv' provider...
Bringing machine 'dc' up with 'hyperv' provider...
Bringing machine 'wef' up with 'hyperv' provider...
Bringing machine 'win10' up with 'hyperv' provider...
==> logger: Verifying Hyper-V is enabled...
==> logger: Verifying Hyper-V is accessible...
==> logger: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> logger: flag to force provisioning. Provisioners marked to run always will still run.
==> dc: Verifying Hyper-V is enabled...
==> dc: Verifying Hyper-V is accessible...
==> dc: Box 'detectionlab/win2016' could not be found. Attempting to find and install...
    dc: Box Provider: hyperv
    dc: Box Version: >= 0
==> dc: Loading metadata for box 'detectionlab/win2016'
    dc: URL: https://vagrantcloud.com/detectionlab/win2016
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is
released.

Name: detectionlab/win2016
Address: https://vagrantcloud.com/detectionlab/win2016
Requested provider: [:hyperv]

Checking the webpage I saw that win2016 and win10 are not provided as hyperv image.

schupat avatar Aug 31 '21 20:08 schupat

Checking the webpage I saw that win2016 and win10 are not provided as hyperv image.

That's correct. You'll have to follow the instructions here, except substitute hyperv in place of vmware or virtualbox. https://www.detectionlab.network/customization/buildpackerboxes/

cc @man715

clong avatar Aug 31 '21 21:08 clong

ah didn't see that on the HyperV page, thanks! Maybe it makes sense to add this info? https://www.detectionlab.network/deployment/hyperv/

schupat avatar Aug 31 '21 21:08 schupat

I will take a look into this.

If you are running vagrant from the Hyper-V directory, it should pull the win10 and 2016 from https://app.vagrantup.com/man715

man715 avatar Sep 01 '21 15:09 man715

@checkso I think you may not have run vagrant up from the Hyper-V folder, that's probably the core issue here.

clong avatar Sep 04 '21 02:09 clong

@clong could be possible. I just did the installation with virtualbox. Thanks for looking into this. Might also be good to add this information to the hyperv setup page

schupat avatar Sep 07 '21 13:09 schupat