Back to Vagrant

Usage

website/content/docs/providers/hyperv/usage.mdx

2.4.91.2 KB
Original Source

⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️

[!IMPORTANT]
Documentation Update: Product documentation previously located in /website has moved to the hashicorp/web-unified-docs repository, where all product documentation is now centralized. Please make contributions directly to web-unified-docs, since changes to /website in this repository will not appear on developer.hashicorp.com. ⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️

Usage

The Vagrant Hyper-V provider is used just like any other provider. Please read the general basic usage page for providers.

The value to use for the --provider flag is hyperv.

Hyper-V also requires that you execute Vagrant with administrative privileges. Creating and managing virtual machines with Hyper-V requires admin rights. Vagrant will show you an error if it does not have the proper permissions.

Boxes for Hyper-V can be easily found on HashiCorp's Vagrant Cloud. To get started, you might want to try the hashicorp/bionic64 box.