12800 Commits

Author SHA1 Message Date
xiaohan.liang
f4fc9dd09a Rewrite all files, remove sensitive information 2019-08-09 15:00:23 +08: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
a1cc3c652d
Merge pull request #7916 from rubentsirunyan/ansible-galaxy-support
Adding support for installing roles with ansible-galaxy for ansible provisioner
2019-08-01 13:55:53 -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
95116e37bb
Merge pull request #7936 from stephen-fox/log-step-download-debug
Use 'log.Printf()' for StepDownload debug instead of 'ui.Say()'.
2019-08-01 11:59:41 -07:00
Megan Marsh
cb16873081 add docs for shared_image_gallery_timeout option 2019-08-01 11:22:36 -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
Megan Marsh
0295ea8d73
Merge pull request #7935 from ejmason101/fix-suse-byos
Update public GCP cloud image projects - add suse-byos-cloud
2019-07-31 13:52:13 -07:00
Stephen Fox
a6830f8348 Move 'ui' variable closer to invocation. 2019-07-31 14:08:40 -04:00
Stephen Fox
e362d2f3ee Use 'log.Printf()' for StepDownload debug instead of 'ui.Say()'. 2019-07-31 14:02:57 -04:00
Megan Marsh
6aef655686 changelog updates 2019-07-31 11:02:49 -07:00
Mason, Elliot
ee484f2dd9 Updated public gcp cloud images 2019-07-31 11:38:35 -05:00
Megan Marsh
a0a11bd109
Merge pull request #7934 from briancain/replace-token-name-in-docs
Update vagrant cloud post processor token example
2019-07-31 09:13:34 -07:00
Brian Cain
85278342fb
Update vagrant cloud post processor token example
This commit updates the Vagrant Cloud post processor example to use the
proper token name rather than the old Atlas one.
2019-07-31 08:46:07 -07: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
84fff30122
Merge pull request #7923 from DanHam/fix-ebssurrogate-panic
Fix a panic encountered when using the Amazon ebssurrogate builder
2019-07-30 09:36:29 -07:00
Megan Marsh
96366ac814
Merge pull request #7922 from stephen-fox/honor-comment-existing-ssh-key-pair
Honor value of 'Comment' field in 'ssh.KeyPairFromPrivateKey()'.
2019-07-29 13:22:46 -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
Ruben Tsirunyan
f9d79addac Adding documentation for ansible-galaxy related arguments 2019-07-29 13:23:39 +04:00
Ruben Tsirunyan
1b35c586ce Changes to roles_path option 2019-07-29 13:23:39 +04:00
Ruben Tsirunyan
d247329599 Adding support for installing roles with ansible-galaxy for ansible provisioner 2019-07-29 13:23:39 +04:00
DanHam
088151e51d
Type assertion safety - fix panic when key cannot be retrieved from statebag 2019-07-28 10:44:24 +01:00
Stephen Fox
9592211bcf Honor value of 'Comment' field in 'ssh.KeyPairFromPrivateKey()'.
The 'ssh.KeyPairFromPrivateKey()' function in the 'ssh' helper
library was not honoring the value of the 'Comment' field in the
'FromPrivateKeyConfig' struct. This commit fixes the issue, and
updates unit tests to catch the issue if it happens again.
2019-07-27 15:52:13 -04:00
Thomas Meckel
a876bf3c4e Added documentation for virtualbox-vm builder 2019-07-27 16:08:13 +02:00
Megan Marsh
903a422020
Merge pull request #7917 from hashicorp/cleanup_unused_cancel_funcs
These cancel functions have been obsolete since March 2019
2019-07-26 14:42:06 -07:00
Megan Marsh
7ac17126a0
Merge pull request #7913 from hashicorp/red_herring_EOF_abort
[WIP] Red herring eof abort
2019-07-26 14:36:14 -07:00
Megan Marsh
0f704fb5b2 These cancel functions have been obsolete since merge of c7ce4d598e50d455e8b8383c36dc2ac3b324ebd3 2019-07-26 14:12:58 -07:00
Megan Marsh
90c5da40f2 implement abort logic and printing for the askstep implementation as well 2019-07-26 12:24:03 -07:00
Megan Marsh
a99c0802be
Merge pull request #7914 from shawnmssu/fix_ucloud_builder
UCloud Builder: update api about stop instance
2019-07-26 11:37:36 -07: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
5e00253450 Delete stack_test.go 2019-07-26 12:34:25 +02:00
Thomas Meckel
a4d168ec4b Corrected go.mod and modules.txt 2019-07-26 12:34:24 +02:00
Thomas Meckel
4faed184c9 Added github.com/golang-collections/collections to vendor directory 2019-07-26 12:29:48 +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
Thomas Meckel
45e2095ae3 Moved parsing of tree string representation to new function in snapshot.go 2019-07-26 12:29:45 +02:00
Thomas Meckel
092e32fe9e First version of reworked snapshot implementation 2019-07-26 12:29:45 +02:00
Thomas Meckel
a6074894f1 Defined struct and first function for enhanced snapshot handling 2019-07-26 12:29:45 +02:00