Brian Cain
6cc5de46de
Fixup how hyper-v configure disks checks disk size against config
2020-06-30 14:22:41 -07:00
Brian Cain
66a22b190a
Add powershell script for Get-VHD
2020-06-30 14:22:41 -07:00
Brian Cain
93489ba190
Add hyper-v driver method for obtaining full disk info given a path
2020-06-30 14:22:41 -07:00
Brian Cain
fb39bd7ed0
Use uppercase Name for getting vm name
2020-06-30 14:22:41 -07:00
Brian Cain
c9b2e609a0
Properly grab primary disk from hyper-v vm
2020-06-30 14:22:41 -07:00
Brian Cain
6835429538
Grab correct name to pass along to disk command
2020-06-30 14:22:41 -07:00
Brian Cain
0675393e06
Add named parameters to powershell execute methods in hyper-v driver
...
Parameters to the execute method need to be named to match up to their
names inside the parameter arguments for the respective powershell
scripts
2020-06-30 14:22:41 -07:00
Brian Cain
e8b900936a
Add disk management methods to hyper-v driver actions
2020-06-30 14:22:41 -07:00
Brian Cain
fe7705e694
Update how disk_ext default is set
...
Prior to this commit, the default value of disk_ext was set in the
finalize! method, and was really only valid for the virtualbox provider.
This commit updates that by moving the step into the validate function,
which has access to the machines provider.
2020-06-30 14:22:41 -07:00
Brian Cain
a7a779586a
Don't limit disk number for hyper-v for now
2020-06-30 14:22:41 -07:00
Brian Cain
a20418ad43
Format output from json to return to hyper-v driver
2020-06-30 14:22:41 -07:00
Brian Cain
59bbf9736a
Add powershell script for retreiving disk info for a hyper-v guest
2020-06-30 14:22:41 -07:00
Brian Cain
50adf04b5d
Add list harddisk method for hyper-v provider
2020-06-30 14:22:41 -07:00
Brian Cain
c832394a95
Add location of hyper-v disk path
2020-06-30 14:22:41 -07:00
Brian Cain
83922333d5
Use UInt64 type instead of String for DiskSize
2020-06-30 14:22:41 -07:00
Brian Cain
d451151ff8
Add resize disk driver method
2020-06-30 14:22:41 -07:00
Brian Cain
06799f0ff1
Add driver scripts for disk management
2020-06-30 14:22:41 -07:00
Brian Cain
2b8376cda8
Add additional driver methods for managing disks in hyper-v
2020-06-30 14:22:41 -07:00
Brian Cain
60f2c14b82
Update attach disk script
2020-06-30 14:22:41 -07:00
Brian Cain
26e5cf1d02
Add powershell script for attaching a harddisk to a guest
2020-06-30 14:22:41 -07:00
Brian Cain
09bd28048e
Add driver method for attaching a new disk for hyper-v guests
2020-06-30 14:22:41 -07:00
Brian Cain
7be0a6807a
Fix mixed tabs on get_vm_status script
2020-06-30 14:22:41 -07:00
Brian Cain
787c8a150a
Remove virtualbox code from hyper-v configure_disks file
2020-06-30 14:22:41 -07:00
Brian Cain
090959227e
More comments for TODO with cleaning up disks in hyper-v
2020-06-30 14:22:41 -07:00
Brian Cain
287b0e5aab
Add comment for implementation
2020-06-30 14:22:41 -07:00
Brian Cain
2ef9274f9d
Remove virtualbox code from cleanup_disks method
2020-06-30 14:22:41 -07:00
Brian Cain
8dfa1affdf
Use correct disk extension formats for Hyper-V
2020-06-30 14:22:41 -07:00
Brian Cain
cf47e7ecaf
Replace virtualbox cap name with hyperv
2020-06-30 14:22:41 -07:00
Brian Cain
9020868a93
Add initial files for Hyper-V disk configuration and management
2020-06-30 14:22:41 -07:00
Brian Cain
0d6f12fc3a
Add capabilities for disk management with Hyper-V
2020-06-30 14:22:41 -07:00
sophia
ed8d6b007e
Detach from windows process when launching rdp
2020-06-30 16:16:23 -05:00
sophia
384e327b9e
Add detach option to Util::Subprocess
2020-06-30 15:59:39 -05:00
Kevin Pruett
2dc791a615
Merge pull request #11727 from hashicorp/pruett.algolia-index-ci
...
Add Algolia index script to CI
2020-06-30 16:38:01 -04:00
sophia
80e94b5e4e
Outline common troubleshooting steps for nfs
2020-06-30 14:22:04 -05:00
Kevin Pruett
2009e73cea
Add Algolia index script to CI
2020-06-29 18:12:44 -04:00
sophia
8bad23d176
Update OpenBSD guest change hostname cap
2020-06-29 17:02:43 -05:00
sophia
7322c74eef
Add optional arguments as a hash
2020-06-29 14:10:13 -05:00
Brian Cain
39c3ee7230
Update code style for map/each methods
2020-06-29 11:16:55 -07:00
Brian Cain
4b15435262
Fix method docs
2020-06-29 11:00:16 -07:00
Brian Cain
3caca048c8
Update setup to decouple disk attachment from user_data setup
2020-06-29 11:00:16 -07:00
Brian Cain
d6fc70dd68
Include volume_id in iso host cap params
2020-06-29 11:00:16 -07:00
Brian Cain
39a12de38f
Ensure meta-data is also included in cloud-init iso
2020-06-29 11:00:16 -07:00
Brian Cain
6797b96cae
Save file as user-data
2020-06-29 11:00:16 -07:00
Brian Cain
42718437ab
Initial commit of cloud_init setup action
...
This commit introduces a new builtin action for preparing and
configuring guests cloud_init configs as an iso to be attached later by
the disk actions
2020-06-29 11:00:16 -07:00
sophia
db6d1b4aa6
Make darwin guest respect 'hostname' network config option
2020-06-29 12:03:12 -05:00
Chris Roberts
bcf56a51ec
Merge pull request #11699 from hashicorp/je.website-maintenance-6-12-20
...
Website: consent manager bugfix, 404 page improvement
2020-06-29 09:15:40 -07:00
Jeff Bonhag
9af48e5764
Raise an error on nil exit status
...
This commit changes the SSH communicator to raise an error if Vagrant
doesn't receive an exit status from an SSH command, for example if the
command is terminated by the OOM-killer.
2020-06-26 13:25:59 -04:00
sophia
0dafc3c3ec
Update childprocess to 4.0.0
...
This release drops support for ruby 2.3 and fixes the detach
behavior for Windows
ref: https://github.com/enkessler/childprocess/releases/tag/v4.0.0
2020-06-24 15:40:29 -05:00
sophia
55490877ac
Update CHANGELOG
2020-06-17 15:19:39 -05:00
Sophia Castellarin
955f1f1b25
Merge pull request #11656 from soapy1/recover-from-missing-global-data
...
Add local machine to global index of machines if it does not exist
2020-06-17 15:18:48 -05:00