Chris Roberts
35d8920325
Case insensitive switch check and only write sentinel file if not found
2018-05-25 15:11:58 -07:00
Chris Roberts
e6457d5061
Overhaul the Hyper-V provider
2018-05-24 14:43:44 -07:00
Chris Roberts
2730fe7ec9
Update script parameter name in option to switchid
...
Fixes #9774
2018-05-04 08:55:18 -07:00
Chris Roberts
e47e1df228
Reference Hyper-V switch by ID instead of name
...
Keep track of selected Hyper-V switch using the ID instead of name
to prevent any encoding issues that may occur switching between
PowerShell and Ruby. With the IDs staying consistent, the switch
name can be fetched from the provided ID.
Fixes #9679 #8794 #9451
2018-04-27 16:52:16 -07:00
Andrew Hardy
ad0a47bedf
Removed rogue $ from string in hyperv import.rb
2017-12-10 11:09:49 +10:00
Chris Roberts
38fed54697
Update guest IP address discovery for hyper-v guests.
...
Powershell helper script now returns error when guest IP address
cannot be discovered. When reading addresses from a network
device both IPv4 and IPv6 are stored and the IPv4 address has
precedence on returned address.
2017-07-28 10:18:26 -07:00
Richard Mayes
649fea13ff
Detect the result of the has_vmcx_support properly
...
Fixes #8677
2017-06-13 18:20:48 +01:00
Bjorn Brala
0534ebf895
Merge remote-tracking branch 'mitchellh/master' into feature-hyperv-integration-services-fresh
...
# Conflicts:
# plugins/providers/hyperv/action/import.rb
# plugins/providers/hyperv/config.rb
# website/source/docs/hyperv/configuration.html.md
2017-03-23 07:49:57 +01:00
Bjorn Brala
e2dd23b06c
First implementation for Integration services for Hyper-V as discussed in https://github.com/mitchellh/vagrant/pull/6321 #6321
2017-03-15 22:12:19 +01:00
Patrick Lang
8cf2240383
Finish hooking up hv.enable_virtualization_extensions
2017-03-02 14:06:39 -08:00
Patrick Lang
6900fc3904
Starting support for Hyper-V nested virtualization
2017-03-02 14:06:21 -08:00
Bjorn Brala
f808f74009
Harden VMCX support. Vagrant now checks if your Windows version has support for vmcx and then uses the VMCX file.
2016-12-14 15:14:56 +01:00
Chris Roberts
23c41f4461
Merge pull request #7867 from bbrala/hyperv-package
...
Package Hyper-V boxes
2016-12-07 13:37:47 -08:00
Bjorn Brala
42efd5c198
Make the Virtual Hard Disks directory if importing from XML to keep it consistant across config types
2016-10-09 21:10:56 +02:00
Bjorn Brala
7b03bf335b
Whitespace
2016-10-08 16:44:24 +02:00
Bjorn Brala
debe50957b
Refactor the import script to fully use Compare-VM for creating the new VM.
...
Implemented the differencing disk for vmcx.
This means the disk is now copied by Hyper-V (Powershell) instead of Ruby for new machines.
This does mean EFI Firmware now does work for machines since it is quite a feep copy. Compare-VM will report incompatibilities should they be found.
2016-10-08 16:38:42 +02:00
Bjorn Brala
a77da314e5
Only check for .vmcx if there is no XML found to not risk breaking older vagrant boxes that added an XML file manually
2016-10-07 20:38:05 +02:00
Björn Brala
6ed612e93b
Move package_setup_files to general lib to minimize code duplication
2016-10-07 17:31:15 +02:00
Bjorn Brala
5877e8fe22
Sart refactor duplicate classes
2016-10-06 08:55:59 +02:00
Bjorn Brala
8619267cd9
Fix getting mac address from the driver.
2016-10-06 08:29:05 +02:00
Bjorn Brala
0970a5a67b
Generate metadata.json in root of package.
2016-10-05 14:42:46 +02:00
Bjorn Brala
be2e9e79aa
FIrst draft of packaging of Hyper-V boxes. Need to refactor the package_* files since right now they are copies of the virtualbox versions, might just put them in general.
2016-10-05 13:48:48 +02:00
Bjorn Brala
2fc93277fd
change argument to vm_config_file so it isn't the same as variable in powershell script.
2016-10-02 18:45:51 +02:00
Bjorn Brala
1ec1cf8177
Update Hyper-V import command and the driver to check for configuration type and call the correct import script.
2016-10-02 16:10:58 +02:00
tfanning
d350fd0d28
Resolve whitespace
2016-07-26 13:56:20 +01:00
tfanning
344fc0ea7b
Implement auto_start_action and auto_stop_action
2016-07-26 13:41:01 +01:00
Jon Topper
df4caf0757
Add snapshots to Hyper-V driver
2016-05-13 16:58:08 +01:00
Marchenko Alexandr
51d7c98d49
hyperv differencing disk
2016-03-01 17:23:38 +02:00
Kevin Blair
026243c88b
Typo
...
Changed message to match HyperV terminology
2016-02-16 14:58:42 +00:00
Kevin Blair
343a43cae6
Preserve Disk Image Name
...
detect and preserve the original name of the disk image rather than forcing it to be disk
2016-02-16 14:57:53 +00:00
tomfanning
41beaac074
Hyper-V set mac address
2015-09-22 11:35:55 +01:00
Seth Vargo
388c2f2383
Merge pull request #5539 from vvchik/vlanid
...
HyperV provider: VlanID configuration possibility
2015-05-30 11:46:43 -07:00
Volodymyr Babchynskyy
9a0aab4bd7
Improved behavior for case if vlan_id is not set
2015-03-30 10:17:29 -06:00
Volodymyr Babchynskyy
9e23d16d9c
merged vlan_id changes for hyperv by tomassrnka
2015-03-30 08:37:29 -06:00
Matt Wrock
87195f8336
use :bridge instead of network_name to align with site docs
2015-01-17 11:39:32 -08:00
Matt Wrock
0b6e65380a
select a switch ased on a network_name
2015-01-17 01:06:56 -08:00
Volodymyr Babchynskyy
a9ac168b19
Added possibility to configure memory, cpus count, and vmname in vagrantfile
2015-01-14 16:59:01 +02:00
Mitchell Hashimoto
2214591bef
providers/hyperv: fix double-dot in drive name [GH-4318]
2014-08-08 12:15:03 -07:00
Matt Wrock
efd7c619d1
accept vhd as well as vhdx file types on hyper-v
2014-07-17 02:50:51 -07:00
Kalman Hazins
bb052366f7
Change symbols inside hashes to 1.9 JSON-like syntax
2014-05-22 12:35:12 -04:00
Takekazu Omi
90ca838174
Just add missing message for destroy command ask N for hyper-v provider.
...
mitchellh/vagrant#3752
2014-05-12 17:00:59 +09:00
Mitchell Hashimoto
c02eae2279
providers/hyperv: verify cmdlet is available [GH-3398]
2014-04-09 09:30:17 -07:00
Mitchell Hashimoto
d1dc010073
Merge pull request #3068 from MSOpenTech/driver-methods
...
provider/hyperv: move to Driver based model
2014-03-06 08:52:01 -08:00
Mitchell Hashimoto
0037d2c767
providers/hyperv: validate IP address returned [GH-3069]
2014-03-06 07:35:46 -08:00
Mitchell Hashimoto
35adc6063b
providers/hyperv: add test for windows guests
2014-03-05 18:50:31 -08:00
Mitchell Hashimoto
729f0f5db8
providrs/hyperv: ask for the vswitch to use
2014-02-27 08:13:18 -08:00
Mitchell Hashimoto
af4bc18c14
providers/hyperv: use IsState and Message built-ins everywhere
2014-02-27 08:13:13 -08:00
Mitchell Hashimoto
e93038fd0e
providers/hyperv: suspend/resume
2014-02-27 08:13:11 -08:00
Mitchell Hashimoto
760f3d9b7b
providers/hyperv: that synced folder stuff can go
2014-02-27 08:13:09 -08:00
Mitchell Hashimoto
41bc86c490
providers/hyperv: clean up provider since we moved out SMB
2014-02-27 08:13:08 -08:00