Commit Graph

5792 Commits

Author SHA1 Message Date
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
Chris Bednarski c0b91608a3 Merge pull request #2937 from captainill/new_header
New header/footer design
2015-11-13 15:50:59 -08:00
Chris Bednarski 2bf9cc6f29 Merge pull request #2938 from grubernaut/f-update-post-processor-sequence-docs
Grammar change
2015-11-13 11:10:43 -08:00
Jake Champlin 49ded7f79f Grammar change 2015-11-13 13:57:52 -05:00
Chris Bednarski a54c334c6d Add GH-2718 to the changelog 2015-11-12 17:12:57 -08:00
captainill a99ade853b update footer 2015-11-12 16:47:51 -08:00
captainill a33bea4687 fix pagination 2015-11-12 16:27:48 -08:00
captainill 2c2cb837b4 sidebar 2015-11-12 16:27:48 -08:00
captainill 434397381d footer responsive 2015-11-12 16:27:48 -08:00
captainill 95100eed09 responsive docs 2015-11-12 16:27:48 -08:00
captainill 71decbc638 footer 2015-11-12 16:27:48 -08:00
captainill d03ec61103 header styles update 2015-11-12 16:27:48 -08:00
captainill ce8ddfc548 rename nav to header to follow convention 2015-11-12 16:27:48 -08:00
captainill 0bfa65c438 logo header 2015-11-12 16:27:48 -08:00
captainill d77f55b312 new max width for sidebar on desktop 2015-11-12 16:27:48 -08:00
captainill f5aa7e7cb5 responsive content style 2015-11-12 16:27:48 -08:00
captainill 285fab249a flexbox for fluid layout 2015-11-12 16:27:48 -08:00
captainill 18e875f3aa basic redesign structure while still being fluid 2015-11-12 16:27:47 -08:00
Chris Bednarski 6bdbbc9e3f Merge pull request #2935 from grubernaut/f-update-post-processor-sequence-docs
Update Post-Processor Docs
2015-11-12 15:36:31 -08:00
Jake Champlin 912111ca42 Add full example and link to Atlas Post Processor 2015-11-12 18:32:31 -05:00
Jake Champlin ed86277714 Update Post-Processor Docs
Update Post-Processor docs to clarify sequences in packer templates.
2015-11-12 18:06:10 -05:00
Mark Peek 09a07b5545 Merge pull request #2934 from andyfowler/vagrant_do_post_processor_fix_pr_fixup
Make DigitalOcean artifact ID match AWS format (fixed)
2015-11-12 10:20:49 -08:00
Mark Peek bef966e9e9 Merge pull request #2931 from Ancillas/patch-1
Added alternative floppy boot command syntax
2015-11-11 17:00:17 -08:00
Greg Baker 6490e4c608 Updated the language of floppy documentation to increase clarity
Changed the language of the vmware-iso floppy documentation to make is clearer that the deprecated ks=floppy syntax is a result of changes to Anaconda.
2015-11-11 10:01:12 -06:00
Greg Baker 424edc8253 Added alternative floppy boot command syntax
The vmware-iso example configuration to load a Kickstart configuration file off of a mounted floppy image is not valid for recent versions of Linux including RHEL7.  The version of Anaconda used no longer supports ks=floppy.

This commit adds an alternative syntax that users can use with more recent version of Linux to source a Kickstart file from a mounted floppy image.
2015-11-10 15:46:15 -06:00
Andy Williams d36b653d3f Make DigitalOcean artifact ID match AWS format
The Vagrant post processor expects the DO artifact ID to look like an
AWS artifact ID (region_id:snapshot_id). This commit makes the DO
artifact Id() function output this format.
2015-11-08 14:38:56 -05:00
Chris Bednarski 0660c703ad Merge pull request #2718 from vtolstov/artifice
docker-import: allow artifice artifacts
2015-11-04 17:17:44 -08:00
Chris Bednarski 935fa3a590 Merge branch 'master' of https://github.com/mitchellh/packer 2015-11-04 17:11:50 -08:00