Commit Graph

5568 Commits

Author SHA1 Message Date
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
David Zanetti 439d1b1788 First cut at amazon ova importer 2015-11-23 12:32:03 +13:00
Yuya YAGUCHI 9c8405b2c6 Add AMI Product Codes modification for amazon-ebs & amazon-chroot 2015-11-19 18:28:04 +09:00
David Zanetti 6c121fa35b Change shell doc from 'noclean' to 'skip_clean' 2015-11-19 16:06:59 +13:00
David Zanetti 2668747c71 Rename noclean shell option to skip_clean, per pull feedback 2015-11-19 16:02:45 +13:00
Thach MAI 755407c1d3 Changes box to bento/ubuntu-14.04 to support VMWare. 2015-11-17 09:26:07 +01:00
Chris Bednarski 25108c8d13 Merge pull request #2946 from dave2/docs_shell_remote_path_v2
Update documentation of shell remote_path variable
2015-11-16 19:05:15 -08:00
David Zanetti bdf68c14a8 Update documentation of shell remote_path variable
It is not a path as implied by docs, but a specific filename.
Update default to currently implemented default.
2015-11-17 16:01:28 +13:00
David Zanetti 3d23655f2f Add "noclean" boolean to shell provisioner. This stops the provisioner from
attempting to remove helper scripts it creates. As noted on #2803 this can
be useful when deleting the build user from an AMI or other template.
2015-11-16 16:37:09 +13:00
Thach Mai c42a105441 Fix Vagrantfile to fix build issues
Changed the box from "chef/ubuntu-12.04" to "ubuntu/trusty64".
Changed the ruby version to 2.2.2 to accommodate the latest middleman.
Changed initialization from "bundle" to "make dev".
2015-11-15 18:05:08 +01:00
Viktor Benei eda2c9c605 actually make it 20 mins 2015-11-14 14:14:33 +01:00
Viktor Benei 7e568644a5 increased DigitalOcean unlock wait timeouts 2015-11-14 12:11:44 +01:00
michael 665d7362f4 Update documentation for remote SSH Key Authentication 2015-11-13 17:43:22 -08:00