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
Thomas Meckel
d3202497ae
First working version of virtualbox/vm builder
2019-07-26 12:29:44 +02:00
Thomas Meckel
2a531f8ad6
Merged changes from local branch
2019-07-26 12:29:44 +02:00
mingsheng.su
66f142adf1
update docs
2019-07-26 17:27:58 +08:00
mingsheng.su
59c8911cd5
update api about stop instance
2019-07-26 17:03:57 +08:00
Megan Marsh
9912e569e1
deduplicate loglines that stream both to ui ERROR call and to streaming logs when PACKER_LOG=1
2019-07-25 16:33:02 -07:00
Megan Marsh
54034689ef
On abort, return gracefully rather than exiting so that the subprocess doesn't unexpectedly disconnect from the parent and cause a confusing EOF error in the logs
2019-07-25 16:32:16 -07:00
Megan Marsh
7e2ea77634
docs
2019-07-25 13:16:08 -07:00
Megan Marsh
2e3d4bebe7
docs
2019-07-25 13:13:40 -07:00
Megan Marsh
5d4d5a21bf
check env for a PACKER_CONFIG_DIR before defaulting to homedir for config
2019-07-25 13:06:41 -07:00
Megan Marsh
d21f4eb888
Merge pull request #7908 from muesli/typo-fixes
...
Fixed various typos
2019-07-25 12:21:20 -07:00
Megan Marsh
3d22535742
Merge pull request #7884 from jprorama/fix-7171
...
[WIP] Fix #7171 : select instance network on which to assign floating ip
2019-07-25 11:57:24 -07:00
Megan Marsh
166f1de5fd
Merge pull request #7887 from xunleii/f-scaleway-autoremove-volume
...
Allow removing volume after image creation for Scaleway builder
2019-07-25 11:56:23 -07:00
Megan Marsh
aeceba5fd2
Merge pull request #7906 from grahamking/patch-1
...
plugins.html.md: Unix dir packer.d -> .packer.d
2019-07-25 11:54:38 -07:00
Megan Marsh
e4c1979708
Merge pull request #7907 from grahamking/patch-2
...
plugins.html.md: Update docs example to match code example.
2019-07-25 11:53:58 -07:00
Megan Marsh
175d0b817d
Merge pull request #7905 from hashicorp/set_config_dir
...
make sure we create the temp dir explicitly when we are setting up th…
2019-07-25 11:35:50 -07:00
Christian Muehlhaeuser
216afbaa8b
Fixed various typos
...
Just a bunch of nit-picky typo fixes.
2019-07-25 06:49:51 +02:00
Graham King
5d470ae731
plugins.html.md: Update docs example to match code example.
...
`plugin.RegisterBuilder` doesn't seem to exist. Instead the [example](https://github.com/hashicorp/packer/blob/master/plugin/example/main.go ) and the tests use `plugin.Server`.
2019-07-24 20:46:37 -07:00
Graham King
efd70c8dce
plugins.html.md: Unix dir packer.d -> .packer.d
...
To match https://github.com/hashicorp/packer/blob/master/packer/config_file_unix.go#L7
2019-07-24 20:33:56 -07:00
Megan Marsh
140785f088
make sure we create the temp dir explicitly when we are setting up the config dir in docker. Otherwise, we create it with root later on and it causes permissions failures.
2019-07-24 16:51:38 -07:00
Alexandre NICOLAIE
a338dab8fc
docs: add Scaleway documentation
...
Signed-off-by: Alexandre NICOLAIE <alexandre.nicolaie@gmail.com>
2019-07-24 21:25:17 +02:00
Megan Marsh
c4806e2fe4
Merge pull request #7903 from devenney/devenney-fixer-housekeeping
...
Fixer Housekeeping
2019-07-24 12:21:06 -07:00
Alexandre NICOLAIE
6835a12cb3
fix: fix typo in comment
...
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2019-07-24 21:19:53 +02:00
Brendan Devenney
2b16b5cae4
Move fixer test to fix package
...
Signed-off-by: Brendan Devenney <brendan.devenney@form3.tech>
2019-07-24 18:04:17 +01:00
Brendan Devenney
6520814a6c
Ensure help output is consistently formatted
...
Signed-off-by: Brendan Devenney <brendan.devenney@form3.tech>
2019-07-24 17:41:57 +01:00
Brendan Devenney
75d8d7fce5
Update and futureproof fix command usage
...
* Dynamically generate the fixer documentation (in order) from
FixerOrder
* Update fixers which used linebreaks in their Synopsis
Signed-off-by: Brendan Devenney <brendan.devenney@form3.tech>
2019-07-24 17:18:07 +01:00
Brendan Devenney
91b7d8c572
Add test to ensure all fixers are enabled
...
Signed-off-by: Brendan Devenney <brendan.devenney@form3.tech>
2019-07-24 16:52:07 +01:00
Brendan Devenney
9f0bc29db5
Test that Fixers and FixerOrder are equal length
...
Signed-off-by: Brendan Devenney <brendan.devenney@form3.tech>
2019-07-24 16:51:39 +01:00
Brendan Devenney
556492fb0d
Add fixers erroneously removed by e8f04c3
...
Signed-off-by: Brendan Devenney <brendan.devenney@form3.tech>
2019-07-24 16:28:08 +01:00
John-Paul Robinson
c428154c6d
Document instance_floating_ip_net attribute
...
This attribute selects a preferred network on which to associate the
instance floating ip.
2019-07-23 16:41:44 -05:00
Megan Marsh
a6072626c9
update changelog
2019-07-23 11:01:52 -07:00
Megan Marsh
2934e0c621
Merge pull request #7893 from StefanScherer/inspec-input-file
...
Use inspec --input-file instead of --attrs to avoid deprecation warning
2019-07-22 12:34:10 -07:00
Megan Marsh
8fe8fd4798
Merge pull request #7290 from y-kuno/openstack-add-min_disk
...
Add openstack image min_disk option
2019-07-22 12:21:46 -07:00
Megan Marsh
54a7b4f377
update comments and docs
2019-07-22 11:54:42 -07:00
y-kuno
6305c555df
Add openstack image min_disk option
2019-07-22 11:44:34 -07:00
Megan Marsh
b33ea0f7e0
Merge pull request #7888 from hashicorp/double_slash_madness
...
fix double slash conundrum
2019-07-22 10:36:25 -07:00
Megan Marsh
e9549d2688
add test for local fs download
2019-07-22 09:17:48 -07:00
Stefan Scherer
35dae5791c
Use --input-file instead of --attrs.
...
Signed-off-by: Stefan Scherer <stefan.scherer@docker.com>
2019-07-22 10:17:01 +02:00
Alexandre NICOLAIE
b010442e07
fix: delete volume only after snapshot step
...
Signed-off-by: Alexandre NICOLAIE <alexandre.nicolaie@gmail.com>
2019-07-21 10:42:34 +02:00
Megan Marsh
197a283b5e
actually check for filepath being present
2019-07-19 10:35:50 -07:00
Megan Marsh
64f16474f8
fix double slash conundrum
2019-07-19 10:16:40 -07:00
Alexandre NICOLAIE
39b8c0ecca
feat: add 'remove volume' step to scaleway
...
Signed-off-by: Alexandre NICOLAIE <alexandre.nicolaie@gmail.com>
2019-07-18 23:19:48 +02:00