2014-02-28 17:53:20 +00:00
|
|
|
---
|
2016-01-19 18:08:53 +00:00
|
|
|
layout: "docs"
|
2014-02-28 17:53:20 +00:00
|
|
|
page_title: "Limitations - Hyper-V Provider"
|
2016-01-19 18:08:53 +00:00
|
|
|
sidebar_current: "providers-hyperv-limitations"
|
|
|
|
description: |-
|
|
|
|
The Hyper-V provider works in almost every way like the VirtualBox
|
|
|
|
or VMware provider would, but has some limitations that are inherent to
|
|
|
|
Hyper-V itself.
|
2014-02-28 17:53:20 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# Limitations
|
|
|
|
|
2016-01-19 18:08:53 +00:00
|
|
|
The Vagrant Hyper-V provider works in almost every way like the VirtualBox
|
2014-02-28 17:53:20 +00:00
|
|
|
or VMware provider would, but has some limitations that are inherent to
|
|
|
|
Hyper-V itself.
|
|
|
|
|
|
|
|
## Limited Networking
|
|
|
|
|
2016-01-19 18:08:53 +00:00
|
|
|
Vagrant does not yet know how to create and configure new networks for
|
2014-02-28 17:53:20 +00:00
|
|
|
Hyper-V. When launching a machine with Hyper-V, Vagrant will prompt you
|
|
|
|
asking what virtual switch you want to connect the virtual machine to.
|
|
|
|
|
|
|
|
A result of this is that networking configurations in the Vagrantfile
|
2016-01-19 18:08:53 +00:00
|
|
|
are completely ignored with Hyper-V. Vagrant cannot enforce a static IP
|
2014-02-28 17:53:20 +00:00
|
|
|
or automatically configure a NAT.
|
|
|
|
|
|
|
|
However, the IP address of the machine will be reported as part of
|
|
|
|
the `vagrant up`, and you can use that IP address as if it were
|
|
|
|
a host only network.
|
|
|
|
|
2016-05-13 16:28:33 +00:00
|
|
|
## Snapshots
|
|
|
|
|
|
|
|
Restoring snapshot VMs using `vagrant snapshot pop` or
|
|
|
|
`vagrant snapshot restore` will sometimes raise errors when mounting
|
|
|
|
SMB shared folders, however these mounts will still work inside the guest.
|
|
|
|
|
|
|
|
|