Commit Graph

5530 Commits

Author SHA1 Message Date
Colin Hebert 9385a277c6 Fix API calls and remove az detection in chroot 2016-01-06 08:02:29 +01:00
Colin Hebert e4930e7b57 Merge branch 'master' into subnet_az_discovery 2016-01-06 07:43:03 +01:00
Caius Howcroft 0f8b348fca Added docs for GCE external static IPs 2016-01-04 16:29:11 -06:00
Caius Howcroft 069c3c21b1 Added support for GCE external static IPs 2015-12-24 19:15:41 -06:00
Chris Bednarski d507b18eb4 Merge pull request #3013 from captainill/new_header
'by HashiCorp' header
2015-12-21 16:26:22 -05:00
captainill b1cf7b390e cleanup footer 2015-12-20 12:35:44 -08:00
captainill 4035aa4eed Merge branch 'master' into new_header 2015-12-20 00:31:38 -08:00
captainill 07288e2674 capital C in by hashicorp lockup 2015-12-19 22:43:52 -08:00
Billie Cleek 77c48678d6 eliminate possible race conditions
Eliminate race-y use of the packer.Ui interface by wrapping it in a
concurrency-safe implementation.
2015-12-19 15:15:19 -08:00
Billie Cleek d73e75a7cf fix panic when connection is closed before packer send Shutdown 2015-12-19 12:15:04 -08:00
Marc Abramowitz 4b9c4cc3e6 openstack: WaitForImage: treat 404 as retryable
Addresses comment at
https://github.com/mitchellh/packer/issues/1415#issuecomment-165739549
2015-12-18 10:37:31 -08:00
Marc Abramowitz b08b88b019 openstack: Add maxNumErrors for WaitForImage
This partly addresses comment at
https://github.com/mitchellh/packer/issues/1415#issuecomment-165739549
2015-12-18 10:27:18 -08:00
Chris Bednarski e9be2cff2b Merge pull request #2942 from dave2/shell_noclean
Add "skip_clean" boolean to shell provisioner.
2015-12-18 11:35:47 -05:00
Chris Bednarski e009d3fb18 Merge pull request #3005 from msabramo/more_informative
Make the OpenStack builder more informative
2015-12-17 23:52:06 -05:00
Chris Bednarski cca054f4f4 Merge pull request #3000 from andrewsomething/do-image-id
Return DigitalOcean image ID in output.
2015-12-17 17:11:46 -05:00
Chris Bednarski e3f05588aa Merge pull request #3002 from ayqazi/master
README.md quick-start builder example made more secure
2015-12-17 17:10:05 -05:00
Chris Bednarski 5a6bb79066 Merge pull request #3004 from steranin/master
Clarify the need to specify device_name when setting volume_size in Amazon builder. refs #2798
2015-12-17 17:09:16 -05:00
Chris Peterson c8ff4a5230 Clarify the need to specify device_name when setting volume_size in Amazon builder. refs #2798 2015-12-17 14:52:54 -07:00
Marc Abramowitz 39d6eda370 Make the OpenStack builder more informative
about the servers, images, and keypairs that it's dealing with.
2015-12-17 11:12:52 -08:00
Asfand Yar Qazi eaa088b491 README.md quick-start builder example made more secure
Adding credentials to a file that may get committed to
a git repository is dangerous; make the example follow
best practices and pull the AWS credentials out of
the environment
2015-12-15 22:33:19 +00:00
Andrew Starr-Bochicchio 2212125f46 Return DigitalOcean image ID in output. 2015-12-15 12:00:04 -05:00
Chris Bednarski 8d574962d9 Added preemptible GCE instances to changelog 2015-12-14 14:35:29 -08:00
Chris Bednarski 00ea5ff7de Merge pull request #2982 from minimum2scp/features/support-googlecompute-preemptible
Added support of preemptible instance in googlecompute builder
2015-12-14 14:34:09 -08:00
Chris Bednarski 6d883c3e3f Merge branch 'master' of https://github.com/mitchellh/packer 2015-12-09 20:15:44 -08:00
Chris Bednarski 1b0ea606f8 Go 1.5 should pass, since we do release builds with this now 2015-12-09 20:15:37 -08:00
Chris Bednarski 7c12c03b80 Merge pull request #2988 from BetaGrumm/patch-1
Update file.html.markdown
2015-12-09 14:32:15 -08:00
Chris Bednarski a05d348d10 Merge pull request #2989 from imduffy15/master
Add documentation for config_drive
2015-12-09 14:31:53 -08:00
Ian Duffy 7271b6ac8d Add documentation for config_drive
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2015-12-09 22:28:47 +00:00
BetaGrumm 4b88403690 Update file.html.markdown
Fixed typo: Missing "i" in the word "will".
2015-12-09 11:49:04 -08:00
Chris Bednarski 77d9a89d1b Merge pull request #2986 from imduffy15/master
Add support for using cloud-init via a ConfigDrive
2015-12-08 18:54:50 -08:00
Ian Duffy b57140da47 Add support for using cloud-init via a ConfigDrive
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2015-12-08 12:45:26 +00:00
YAMADA Tsuyoshi ca43e89aa7 added document 2015-12-05 15:48:10 +09:00
YAMADA Tsuyoshi 18d79cfb3d added test 2015-12-05 15:48:07 +09:00
YAMADA Tsuyoshi afd314959b supported `preemptible` in googlecompute builder 2015-12-05 05:13:35 +09:00
Chris Bednarski 692b227ac3 Merge pull request #2963 from pepoirot/ansible-provisioner-notice
Add a notice that Ansible needs to be already present on the target.
2015-12-04 12:06:31 -08:00
Chris Bednarski 858bf27eb2 Merge pull request #2965 from chiastolite/patch-1
ansible-local doc is not styled
2015-12-04 12:06:11 -08:00
Chris Bednarski b97f343776 Merge pull request #2975 from clstokes/docs-docker-hub-requ
Docs about docker-push login requirements.
2015-12-02 19:11:49 -08:00
Cameron Stokes adf4764c82 note about Quay login credentials 2015-12-02 19:06:37 -08:00
Cameron Stokes 051f7d6ee6 note about Docker Hub login requirements 2015-12-02 18:59:34 -08:00
David Zanetti a3911ad47c Use interpolation on default s3_key_name. Report import errors from AWS.
- Import errors were not very useful messages, obtain the import status
  from the import task as AWS reports it
- Interpolate s3_key_name as per PR comments (rather than hard-code the
  generated parts of the default value)
- Remove descriptions on AWS import job, they are optional anyway.
2015-11-26 14:02:15 +13:00
David Zanetti 873dc89478 Accept any OVA. Fix names for tasks/import/copy. Update docs.
- s3_key_name is now optional, default is equivilent to
  "packer-import-{{timestamp}}"
- Remove restriction on builder used, anything producing an OVA is okay
- Fix task and ova description passed to import API call, correctly
  adds timestamp to both
- Documentation updated
  - Remove VMware-specific text
  - Mark s3_key_name as optional
  - Remove s3_key_name from example now it's optional
  - Explain the import process more clearly in example
2015-11-25 10:06:35 +13:00
Hiroyuki MORITA d67d2b9d6b ansible-local doc is not styled
https://www.packer.io/docs/provisioners/ansible-local.html#inventory_file
2015-11-25 03:39:06 +09:00
James Nugent 400d1e5600 Merge pull request #2964 from ligurio/patch-1
duplicated word
2015-11-24 10:26:30 +02:00
Sergey Bronnikov 4baaad2530 duplicated word 2015-11-24 10:31:31 +03:00
David Zanetti 274630bd9c Support adding tags to AMI and snapshots created by amazon-import
- Tags follows the same approach as the amazon-ebs builder
- Clean up some debug messages
- Improve readability by pulling out AMI id into seperate variable

Note: this duplicates the tag creation code in
builder/amazon/common/step_create_tags.go. Maybe this should be a multistep
post-processor instead, and we re-use steps from the builder.
2015-11-24 14:23:19 +13:00
David Zanetti 8c04f1646b Expand and update amazon-import documentation
- Add example of usage
- Expand on how it works
- Correctly reflect the hard requirement for AWS access keys and region
- Add tag support documentation
2015-11-24 13:54:05 +13:00
David Zanetti 258fd7c6b6 First cut at documentation for post-processor amazon-import 2015-11-24 12:19:20 +13:00
David Zanetti 95b3ea50ae Add more useful messages and clean up after ourselves
- S3 object uploaded removed after import (with disable option)
- Indicate to user when import is complete
- Close the source file uploaded after upload is done
- Each step of import process logs a debug message
2015-11-24 12:08:31 +13:00
Pierre-Etienne Poirot bb34c7ec58 Add a notice that Ansible needs to be already present on the target.
Like the 'puppet-masterless' and 'puppet-server' provisioners (and
unlike the 'chef-solo' and 'chef-client' provisioners), the
'ansible-local' currently requires Ansible to be present on the
provisioned image.

The relevant issue to add an install option to the provisioner is:
https://github.com/mitchellh/packer/issues/2010

Until then, a notice similar to the 'puppet-masterless' and
'puppet-server' ones is added.
2015-11-23 14:19:15 +11:00
David Zanetti 418da16991 Track the import task and report AMIs created from it 2015-11-23 15:55:09 +13:00