devops-box icon indicating copy to clipboard operation
devops-box copied to clipboard

The box you're attempting to add doesn't support the provider (Hyper-V)

Open jpeckham opened this issue 7 years ago • 3 comments

Trying to do your class and my machine is windows with Hyper-V installed. Would be nice if the image supported it. Users with visual studio and docker would find they are unable to switch to virtual box since hyper-v and virtual box are mutually exclusive and docker for windows requires hyper-v. Note also your class suggests dependence on remote-exec which requires ssh and that's a problem for windows, so I'd love to use your vagrant box.

jpeckham avatar Apr 01 '18 03:04 jpeckham

C:\projects\devops-box>vagrant up Bringing machine 'devops-box' up with 'hyperv' provider... ==> devops-box: Verifying Hyper-V is enabled... ==> devops-box: Box 'ubuntu/xenial64' could not be found. Attempting to find and install... devops-box: Box Provider: hyperv devops-box: Box Version: >= 0 ==> devops-box: Loading metadata for box 'ubuntu/xenial64' devops-box: URL: https://vagrantcloud.com/ubuntu/xenial64 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: ubuntu/xenial64 Address: https://vagrantcloud.com/ubuntu/xenial64 Requested provider: [:hyperv]

jpeckham avatar Apr 01 '18 03:04 jpeckham

@jpeckham vagrant up --provider virtualbox

yunzhishang avatar Mar 02 '19 03:03 yunzhishang

I made a fork with hyperv support https://github.com/pfitzer/devops-box

pfitzer avatar May 01 '20 08:05 pfitzer