Adrien Delorme
5517d41468
make sure all documentation fields are there
...
* add missing `temporary_key_pair_name` field for alicloud
* add missing description to `vpc_filter` for aws
* add missing ssh communicator fields for aws
* add links for aws
* update vmware-vmx docs
* manually describe AMI Configuration section for ebsvolume
* display missing required ami_name field for aws
* add missing fields for docker
* add missing fields for openstack
2019-08-26 17:16:54 +02:00
Adrien Delorme
2db109d55b
Merge branch 'master' into scrape_doc_to_builder_struct_config
2019-08-23 17:37:53 +02:00
Megan Marsh
04d9888657
Merge pull request #8016 from psinghal20/issue-8009
...
fix: move adding metadata step after waiting for uploading step
2019-08-22 11:24:37 -07:00
Pratyush Singhal
dbb50337bc
fix: out of scope blockStorageClient nil value issue
...
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-08-22 20:50:46 +05:30
Megan Marsh
fcef7e2d85
this timeout regularly flakes on Travis, I suspect because the instances running the tests are brutally underpowered. Increase the fudge factor.
2019-08-21 16:36:42 -07:00
Adrien Delorme
4cb7c30987
Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
2019-08-21 16:44:23 +02:00
psinghal20
bbd71136dc
fix: move adding metadata step after waiting for uploading step
...
Signed-off-by: psinghal20 <psinghal20@gmail.com>
2019-08-21 15:45:46 +05:30
Megan Marsh
17d9a85895
Merge pull request #7945 from ahilsend/hcloud-image-filter
...
feat(builder/hcloud): allow selecting image based on filters
2019-08-19 14:37:43 -07:00
Megan Marsh
b6fdccc2af
Merge pull request #7970 from williamb1024/master
...
Decrease the delay between Hyper-V VM startup and hyper-v builder's ability to send keystrokes to the target VM.
2019-08-19 14:37:10 -07:00
Megan Marsh
4aa33306cb
make sure that fleetId exists before trying to stick it into error message
2019-08-19 13:44:39 -07:00
Megan Marsh
8dbd078738
Merge pull request #8011 from tmeckel/vbox-vm-target-snapshot-optional
...
Fix: VirtualBox VM builder, target snapshot optional
2019-08-19 13:29:06 -07:00
Megan Marsh
dd97435d42
Merge pull request #7957 from milescrabill/fix-vagrant-builder-basebox-sourcebox
...
vagrant builder: fix provisioning boxes, define source and output boxes
2019-08-19 13:25:54 -07:00
Thomas Meckel
01edafb49f
Cleaned up golint warnings
2019-08-19 21:36:43 +02:00
Thomas Meckel
92501cd344
target_snapshot is not optional as described in the documentation
2019-08-19 21:36:43 +02:00
William L. Brooks
be4ca4b666
Move hyper-v host ip determination earlier in steps, connect to Hyper-V vm prior to issuing the start operation.
2019-08-19 11:45:41 -07:00
Megan Marsh
06bef2844b
Merge pull request #7996 from hashicorp/fix_7925
...
dont bother with a targetpath for the vbox additions; use a hash like…
2019-08-19 09:45:38 -07:00
Brian Fox
47c027e5c8
Remove check/requirement for target_snapshot
2019-08-19 11:25:17 +02:00
Megan Marsh
316a30b31d
fix spot_tags
2019-08-15 16:06:16 -07:00
Megan Marsh
02399f32f6
dont bother with a targetpath for the vbox additions; use a hash like everything else
2019-08-15 15:10:25 -07:00
Megan Marsh
94d8da60f0
Merge pull request #7940 from jgeorgeson/openstack-winrmpassword-provisioners
...
OpenStack builder store WinRM password for provisioners to use
2019-08-15 12:02:26 -07:00
Megan Marsh
9f6d14c75a
work around spot_tags related regression and bad fleet cleanup in spot instances
2019-08-14 11:08:59 -07:00
Andre Hilsendeger
cb1e30ef69
feat(builder/hcloud): allow selecting image based on filters
2019-08-13 08:40:47 +02:00
Megan Marsh
0eebebaedb
Merge pull request #7939 from hashicorp/fix_7938
...
check container os, not host os, when creating container dir default
2019-08-12 16:45:00 -07:00
xiaohan.liang
f4fc9dd09a
Rewrite all files, remove sensitive information
2019-08-09 15:00:23 +08:00
Miles Crabill
ff157c8a6d
vagrant builder: define source box and output box in Vagrantfile
2019-08-07 10:11:34 -07:00
Justin Georgeson
c0ee859559
OpenStack builder store WinRM password for provisioners to use
2019-08-01 19:02:36 -05:00
Megan Marsh
c0e37e6045
Merge pull request #7780 from tmeckel/own-vbox-snapshot
...
VirtualBox Snapshot Builder
2019-08-01 15:31:15 -07:00
Megan Marsh
1952130030
Merge pull request #7920 from hashicorp/fix_7865
...
[wip] fix polling issues in azure
2019-08-01 12:40:11 -07:00
Megan Marsh
773e76c1ce
remove unused import
2019-08-01 11:35:53 -07:00
Megan Marsh
b6f3742425
check container os, not host os, when creating container dir default
2019-08-01 11:31:21 -07:00
Megan Marsh
6a201211a9
fix polling issues in azure
...
adds a configurable timeout to the shared image gallery publisher
2019-08-01 11:18:03 -07:00
Mason, Elliot
ee484f2dd9
Updated public gcp cloud images
2019-07-31 11:38:35 -05:00
Megan Marsh
f97df6721e
Merge pull request #7927 from hashicorp/fix_googlecompute_crash_7921
...
code changed recently so that sometimes the conf is nil.
2019-07-30 09:55:09 -07:00
Megan Marsh
7c93a5c51e
code changed recently so that sometimes the conf is nil.
2019-07-29 13:19:43 -07:00
Megan Marsh
b42701380c
add test for nil case
2019-07-29 12:11:59 -07:00
DanHam
088151e51d
Type assertion safety - fix panic when key cannot be retrieved from statebag
2019-07-28 10:44:24 +01:00
Thomas Meckel
822b72bd14
Added force_delete_snapshot configuration item and the corresponding checks
2019-07-26 12:34:28 +02:00
Thomas Meckel
e7583de847
StepCreateSnapshot.Run() will stop and create an error if the virtual machine is still running
...
Removed left over code from StepCreateSnapshot.Cleanup()
2019-07-26 12:34:27 +02:00
Thomas Meckel
d9b8623f64
StepShutdown now always waits for the shutdown of the virtual machine to complete, not only if a shutdown command is specified
2019-07-26 12:34:27 +02:00
Thomas Meckel
b873876670
Added test TestSnapshot_EnsureParents
...
No using asserts NotNil and Nil
2019-07-26 12:34:27 +02:00
Thomas Meckel
6fd0b3e83e
Fixed a bug in ParseSnapshotData
...
Added fuction GetSnapshots
2019-07-26 12:34:26 +02:00
Thomas Meckel
225a140055
Applied correct source format (got fmt) to builder\virtualbox\common\driver_mock.go
2019-07-26 12:34:26 +02:00
Thomas Meckel
51e5ae69db
Corrected method signatures in builder\virtualbox\common\driver_mock.go
2019-07-26 12:34:26 +02:00
Thomas Meckel
ab6a163ff2
Added missing newline at end of builder\virtualbox\common\driver_mock.go
2019-07-26 12:34:25 +02:00
Thomas Meckel
e9b5332e99
Added missing functions to builder\virtualbox\common\driver_mock.go
2019-07-26 12:34:25 +02:00
Thomas Meckel
fd5a2db58f
Removed commented (obsolete) code from builder\virtualbox\common\driver_4_2.go
2019-07-26 12:34:25 +02:00
Thomas Meckel
7d3c84e5f9
Changed VirtualBox VM builder according to current builder interface
2019-07-26 12:29:48 +02:00
Thomas Meckel
2ef911f6f0
Fixed bugs in snapshot and builder code
2019-07-26 12:29:47 +02:00
Thomas Meckel
ebd2780e5d
implemented first unit tests for snapshot.go
2019-07-26 12:29:46 +02:00
Thomas Meckel
f1f7c4e10c
* added function ParseSnapshotData to parse a string representation of a VBox snapshot tree
...
* fixed bugs
2019-07-26 12:29:46 +02:00