bugbuilder
abc21406cb
Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl
2017-08-31 22:22:51 -03:00
Vijaya Bhaskar Reddy Kondreddi
e45223a867
Fix -on-error issue not working.
...
When we supply -on-error flag for Packer with Hyper-v builder, it does not do anything.
2017-09-01 00:14:28 +05:30
bugbuilder
f09a9c4653
using artifact ID
2017-08-30 18:19:54 -03:00
bugbuilder
138f54d9d3
Merge branch 'master' of https://github.com/hashicorp/packer into vsphere-tpl
2017-08-30 18:13:54 -03:00
bugbuilder
fc4bee4598
VMware typo
2017-08-24 22:46:35 -03:00
bugbuilder
81272d1427
Updated mark as template to be able to use --force
2017-08-14 23:00:19 -03:00
Matthew Hooker
943e8e648a
properly handle decode error
2017-08-07 11:09:40 -07:00
Luke Farnell
d9a5b69403
clean up ineffectual assignments
2017-08-07 13:20:01 -04:00
Justin Campbell
24c4029bb1
Remove date from atlas post-processor warning
2017-08-01 09:08:14 -04:00
bugbuilder
5e1d241db4
Close govmomi session
2017-07-31 10:30:13 -04:00
bugbuilder
786d3c0a9d
updated documentation, vm_name mandatory and cleaning code
2017-07-31 00:26:58 -04:00
bugbuilder
08c6139da4
Create folder using the invotory path
2017-07-27 16:55:47 -04:00
bugbuilder
fb52c42b3d
Only add the folder when the error is NotFoundError
2017-07-25 23:14:59 -04:00
bugbuilder
7274bbb63d
commends, documentation and var names updates
2017-07-19 00:44:18 -04:00
bugbuilder
fa10616f57
Changes requested applied
2017-07-18 23:10:05 -04:00
bugbuilder
3cc9f204ac
Moving vsphere-tpl to vsphere-template, fixed root folder creation and updated docs
2017-07-10 20:52:48 -04:00
bugbuilder
b88fb8bdb2
Improved creation folder step and fixed documentation
2017-07-10 04:13:54 -04:00
bugbuilder
2830b4f3b0
fix test
2017-07-09 22:18:42 -04:00
bugbuilder
35d681444c
format
2017-07-09 22:13:31 -04:00
bugbuilder
fec0b934b5
Adding a simple test
2017-07-09 21:58:29 -04:00
bugbuilder
26dd7ec31b
keep_registered option is not required
2017-07-09 20:33:03 -04:00
bugbuilder
35b29847dc
Cleaning code and adding insecure option to vSphere connection
2017-07-09 15:58:42 -04:00
Rickard von Essen
337e7d88e6
post-processor/checksum: properly interpolate output
...
Fix a bug where "output" of checksum post-processor was not correctly
interpolating {{.BuilderType}}, {{.BuildName}}, and {{.ChecksumType}}.
2017-07-09 21:50:20 +02:00
bugbuilder
c8747f138f
Adding template feature
2017-07-09 14:56:39 -04:00
bugbuilder
dc2124aa2a
Initial vSphere-tpl post-processor
2017-07-09 14:12:37 -04:00
Megan Marsh
b8b34646bd
disallow vagrant.box artifacts in atlas postprocessor
2017-06-29 11:16:42 -07:00
Matthew Hooker
8dae6b60c1
Merge pull request #4996 from hashicorp/mwhooker/4613
...
builder/amazon: Support Assume Role with MFA and ECS Task Roles
2017-06-13 17:40:09 -07:00
Matthew Hooker
4b4c2e4a59
Merge pull request #5008 from hashicorp/pp-vc-u1
...
post-processor/vagrant-cloud: try upload once
2017-06-13 11:36:42 -07:00
Matthew Hooker
94d7a4ce8d
post-processor/vagrant-cloud: try upload once
...
* fixes multiple uploads mentioned in #4973
* removed unused token code
2017-06-12 17:34:32 -07:00
Matthew Hooker
519256feb0
add content-length to file upload
2017-06-12 15:01:19 -07:00
Matthew Hooker
a1747c21f7
vagrant-cloud: use less memory when uploading
2017-06-12 11:07:33 -07:00
Matthew Hooker
56c513088b
I think this was the intention
2017-06-09 10:34:49 -07:00
Matthew Hooker
dde40d54c6
atlas cloud token warn
2017-06-07 17:20:54 -07:00
Matthew Hooker
8933690e90
Merge pull request #4950 from hashicorp/warn_atlas_users
...
add warning about vagrant.box vms being uploaded to atlas
2017-06-07 13:44:41 -07:00
Megan Marsh
dbd7aa6b95
capitalize all the things
2017-06-07 13:30:39 -07:00
Megan Marsh
1c1db91715
add instructions
2017-06-07 13:20:02 -07:00
Andrew Garrett
fbacf883b4
Fix vet issues with alicloud
2017-06-07 19:38:26 +00:00
Matthew Hooker
a52cd65af8
remove license type from general debugging
2017-06-05 15:27:33 -07:00
Matthew Hooker
687f648506
Merge pull request #4634 from dayglojesus/add_amazon_import_license_type
...
amazon-import post-processor: support license_type
2017-06-05 15:23:14 -07:00
Matthew Hooker
b1bcf62ae1
Merge pull request #4619 from zhuzhih2017/master
...
Add packer plugin which support to create alicloud ecs image
2017-06-02 13:33:10 -07:00
Matthew Hooker
88901ffe96
rename alicloud pp
2017-06-01 15:47:47 -07:00
Matthew Hooker
8db397765c
spelling and formatting
2017-06-01 15:47:46 -07:00
Megan Marsh
b31f8bb0f6
clean up formatting and add warning to packer push.
2017-06-01 11:25:53 -07:00
Megan Marsh
690d54aaf9
add warning about vagrant.box vms being uploaded to atlas
2017-06-01 09:39:18 -07:00
zhuzhih2017
b2aa40655b
fix long line format
2017-05-26 10:59:53 +08:00
Brian Warsing
8cc4558df9
fix bad conditional logic and assignment
2017-05-24 13:22:46 -07:00
Brian Warsing
47df47c73f
conform ImportImage LicenseType behaviour
...
- remove the synthetic default; defaults are established internally by the func
- store ImportImageInput in params var
- only pack the LicenseType into struct if a value has been set
2017-05-24 11:33:21 -07:00
Brian Warsing
c5dfe3d503
amazon-import post-processor: support license_type
...
Implements a new config option for the amazon-import post-processor
allowing users to specify a LicenseType during the import process.
Closes : #4631
2017-05-24 11:30:24 -07:00
Matthew Hooker
e8cada8bf7
document and remove artifactID
2017-04-24 10:49:09 -07:00
Matthew Hooker
0b4cd4d394
use the old switch
2017-04-19 21:23:12 -07:00
Matthew Hooker
fbd621d227
fail prepare if hash not found
2017-04-19 21:20:47 -07:00
Matthew Hooker
6722a6ba0c
post-processor/checksum: fix output template
2017-04-19 21:01:54 -07:00
zhuzhih2017
d646e1d035
refactor the code according hashicorp rename the repository
2017-04-18 15:14:45 +08:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Matthew Hooker
6f27f67346
more fixes from errcheck
2017-03-29 13:38:31 -07:00
Matthew Hooker
bf64d7bdc2
automagic simplification
2017-03-28 20:36:20 -07:00
Matthew Hooker
d1b20b3d9c
remove a bunch of dead code.
...
https://github.com/dominikh/go-tools/tree/master/cmd/unused
2017-03-28 20:36:20 -07:00
Matthew Hooker
230079f73a
spell fixes
2017-03-28 20:36:19 -07:00
zhuzhih2017
0400ebae95
Fix the code according PR review
2017-03-12 10:22:25 +08:00
Matthew Hooker
99091a1713
Merge pull request #4539 from mitchellh/ovftoolhidepassword
...
filter password in ovtool
2017-02-26 18:44:01 -08:00
Matthew Hooker
572493e9b4
Merge pull request #4216 from dave2/gh-3981
...
amazon-import: support AMI attributes on import
2017-02-10 23:36:38 -08:00
Matthew Hooker
192d550cd7
filter password in ovtool
2017-02-10 01:01:03 -08:00
DanHam
e350739ecb
post-processor/shell-local: expand tests to align with shell provisioner
2017-01-23 22:25:39 +00:00
DanHam
9e480eea49
post-processor/shell-local: Align flattened env vars gen with provisioners
...
* Move code to generate quoted flattened env vars to separate function
* Fix: generate flattened env vars once per provisioner not once per script
2017-01-23 22:15:51 +00:00
DanHam
5a350f5699
post-processor/shell-local: Fix output of debug info to stdout
2017-01-23 22:08:23 +00:00
Volodymyr Babchynskyy
d57517d4a4
fix vagrant box structure
2016-12-12 22:44:17 +00:00
Matthew Hooker
b49be38d74
Merge pull request #4210 from yoctocloud/fixes
...
various fixes
2016-12-12 12:33:19 -08:00
Vasiliy Tolstov
332a208fee
post-processor/shell-local: run only once for each builder
...
don't run post-processor for each artifact file, but only for
each builder to be consistent with other post-processors
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-12-07 20:54:55 -08:00
Vasiliy Tolstov
00ebe9e1d3
various fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-11-29 14:55:44 +03:00
Zanetti, David
c22b97dd43
Support setting AMI attributes when using amazon-import post-processor
...
- ami_user and ami_group for launch permissions
- ami_description to set the description attribute
Closes #3981
2016-11-29 16:54:02 +13:00
Matthew Hooker
a6e6b0dfd7
Merge pull request #4192 from mitchellh/manifestoutput
...
post-processor/manifest: fixes interpolation of output
2016-11-22 12:51:27 -08:00
Matthew Hooker
622813053e
Merge pull request #4144 from mitchellh/filenamespaces
...
quote file names so account for spaces
2016-11-21 16:45:52 -08:00
Matthew Hooker
a05817ee26
fix docs, remove escaping
2016-11-21 16:36:10 -08:00
Vasiliy Tolstov
b29d0b4378
post-processor/manifest: fixes interpolation of output
...
* rename `filename` to `output` for consistent with other post-processors
* interpolate output with variables
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-11-21 11:04:16 +03:00
YAMADA Tsuyoshi
5dc6b18365
googlecompute-export: use application default credential as same as googlecompute builder
2016-11-10 18:58:38 +09:00
YAMADA Tsuyoshi
61e2ea308e
googlecompute-export: Fixed scopes to run gcloud, gsutil in startup script
2016-11-10 17:54:28 +09:00
Matthew Hooker
a253cda0aa
should fix #3571
2016-11-09 17:24:48 -08:00
lxb
12ef9bf8af
Fixed inconsistency between vagrant-libvirt driver and packer QEMU accelerator
2016-11-03 22:55:55 +11:00
Scott Crunkleton
85210afe92
googlecompute: conditionally omit the wait for startup script step if no startup script is provided.
2016-11-02 15:20:21 -07:00
Matthew Hooker
48bdae93d1
aws-sdk: use session.NewSession
2016-11-01 15:53:04 -07:00
Rickard von Essen
3c8dabba9e
Fixed formatting
2016-10-11 23:43:50 +02:00
Michael Travis
2f1783dda2
Added vsphere-esx hosts to supported machine types in vagrant post processor
2016-10-06 15:09:01 +01:00
Rickard von Essen
7fec12a183
Merge pull request #3941 from imduffy15/master
...
Allow naming of vm imported AMIs
2016-10-01 07:28:28 +02:00
Matthew Hooker
a8e57d83d2
gofmt project.
...
noticed many unrelated changes being added to patches because of gofmt.
ran `find . -not -path "./vendor/*" -name "*.go" -exec gofmt -w {} \;`
2016-09-29 14:13:06 -07:00
Ian Duffy
641ae2d837
Allow naming of vm imported AMIs
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-09-29 16:12:57 +01:00
Rickard von Essen
c5e9944969
Merge pull request #3790 from yoctocloud/manifest
...
post-processor/manifest: add artifact file size to manifest
2016-09-14 21:20:29 +02:00
Vasiliy Tolstov
fe76081e0a
post-processor/manifest: allow to strip path components from artifact path
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-09-14 11:32:25 +03:00
Rickard von Essen
b2d9782a9e
Improved support for Amazon EC2 Container Registry - ECR
...
This adds support for authenticating towards ECR in the docker builder
and docker-push post-processor using them same mechanisms as in the
amazon builders. I.g. access key/secret key, credentials on file,
environment variables, sts tokens or IAM instance roles.
2016-09-04 14:33:47 +02:00
Scott Crunkleton
1b9b37bdc1
Added some error handling and logs for the GCE export startup script.
2016-08-15 16:25:57 -07:00
crunk1
55b5a45ae4
Created googlecompute-export post-processor. Modified the googlecompute builder to pass a few configuration values to its resulting artifact. These values can then be used in googlecompute-export post-processor.
...
Added documentation and changed authentication stuff on temporary VM.
2016-08-15 14:36:26 -07:00
Vasiliy Tolstov
4868f5872e
post-processor/manifest: add artifact file size to manifest
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-08-09 16:46:15 +03:00
Chris Bednarski
644b11805d
Fix go vet casing issue
2016-07-30 17:10:16 -07:00
Chris Bednarski
f9cea9edd1
Merge pull request #3651 from mitchellh/f-manifest-post-processor
...
Manifest post processor
2016-07-21 15:55:47 -07:00
Abhijeet Kasurde
ba0f202258
Removed redundant print message from post-processor/vsphere
...
Fixes: https://github.com/mitchellh/packer/issues/3387
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2016-07-18 22:53:05 +05:30
Vasiliy Tolstov
520fac2eba
post-processor/checksum: create dir for output file
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-07-03 11:46:36 +03:00
Chris Bednarski
19057028cf
Fix build failure when there is no packer-manifest.json file
2016-06-27 19:19:29 -07:00
Chris Bednarski
9aab66b971
Change sleep so it doesn't wait after the final attempt
2016-06-24 12:46:35 -07:00
T. Tran
4f1d821c35
Make docker-push only pushes the specified tag but not all
2016-06-16 17:00:33 +07:00
Chris Bednarski
7a9c3bc2a0
Added -force truncation behavior for manifest, and added docs
2016-06-10 15:57:01 -07:00
Chris Bednarski
78070f8ca9
Removed input_type and description since these are not particularly useful
2016-06-10 15:57:01 -07:00