Commit Graph

4764 Commits

Author SHA1 Message Date
Jani Jappinen c537623bc6 Fix failing AMI snapshot tagging when copying to other regions. 2015-06-25 17:25:28 +03:00
Chris Bednarski 6bb480e2f7 Merge pull request #2313 from mitchellh/b-compress-crash 2015-06-24 21:49:30 -07:00
Chris Bednarski eba28519db Move vars to the top and cleanup extra whitespace 2015-06-24 18:29:32 -07:00
Chris Bednarski 1831a09055 Fix compress crash
- Changed config from pointer to value to fix crash
- Removed acceptance flag from compress tests since they would have
caught this
2015-06-24 17:47:00 -07:00
Clint f765d57009 Update CHANGELOG.md 2015-06-24 13:25:08 -05:00
Clint a2c9b2da8f Merge pull request #2308 from mitchellh/b-amazon-ami-sharing-fix
builder/amazon: Fix issue with sharing AMIs with ami_users
2015-06-24 13:23:10 -05:00
Clint Shryock 7af5d5419a builder/amazon: Fix issue with sharing AMIs with ami_users 2015-06-24 11:41:58 -05:00
Mitchell Hashimoto fbf7db0418 Merge pull request #2307 from mitchellh/b-docs-dashes
clean up character encodings
2015-06-24 08:29:24 -07:00
Clint Shryock def6f8aefc clean up character encodings 2015-06-24 10:28:01 -05:00
Schreiter, Wulf-Thilo 18438cf291 Add knife config by template
Since the chef-client provisioner is cleaning the node and client at the chef-server from the provisioned node
it needs to have a flexible configuration

This is replacing the used knife flags: -s '<chef-server-url>' -k '/tmp/packer-chef-client/client.pem' -u '<client-name>'
and puts their values into a generated knife.rb

Additionally the knife.rb may include the optional ssl_verify_mode attribute to enable the verify mode verify_none

Background:

When deleting node and client to a self-hosted chef-server using self signed cerfiticates the usage of

    knife node delete <node-name> -y -s '<chef-server-url>' -k '/tmp/packer-chef-client/client.pem' -u '<client-name>'

will lead into a ssl verification failure.

The error output of the knife call is somthing like:

    2015/06/24 12:29:17 ui:     docker: WARNING: No knife configuration file found
    docker: WARNING: No knife configuration file found
    2015/06/24 12:29:17 ui:     docker: ERROR: SSL Validation failure connecting to host: 172.16.117.63 - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:
    certificate verify failed
    docker: ERROR: SSL Validation failure connecting to host: 172.16.117.63 - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
    2015/06/24 12:29:17 ui:     docker: ERROR: Could not establish a secure connection to the server.
    docker: ERROR: Could not establish a secure connection to the server.
    2015/06/24 12:29:17 ui:     docker: Use 'knife ssl check' to troubleshoot your SSL configuration.
    docker: Use 'knife ssl check' to troubleshoot your SSL configuration.
    2015/06/24 12:29:17 ui:     docker: If your Chef Server uses a self-signed certificate, you can use
    docker: If your Chef Server uses a self-signed certificate, you can use
    2015/06/24 12:29:17 ui:     docker: 'knife ssl fetch' to make knife trust the server's certificates.
    docker: 'knife ssl fetch' to make knife trust the server's certificates.
    2015/06/24 12:29:17 ui:     docker:
    docker:
    2015/06/24 12:29:17 ui:     docker: Original Exception: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
    docker: Original Exception: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
    2015/06/24 12:29:17 packer-builder-docker: 2015/06/24 12:29:17 Executed command exit status: 100
2015-06-24 15:22:59 +02:00
Mitchell Hashimoto 8f0e28fae1 Merge pull request #2302 from jfbrown/update-do-getting-started-docs
website: Fix DigitalOcean section of getting started docs.
2015-06-23 22:20:25 -07:00
John (Jack) Brown 49664ca9c6 Fix DigitalOcean section of getting started docs.
This updates the example for adding DigitalOcean
as a provider in the beginning tutorial. It looks
like it hadn't been updated in some time, and
was using old settings. I've updated it and
confirmed it works.
2015-06-23 22:10:04 -07:00
Mitchell Hashimoto 67fed8e802 Merge pull request #2299 from mitchellh/f-agent-disable
helper/communicator: support disabling SSH agent
2015-06-23 15:16:10 -07:00
Mitchell Hashimoto a019575026 helper/communicator: support disabling SSH agent 2015-06-23 14:52:37 -07:00
Mitchell Hashimoto 32f469dc9a up version fo dev 2015-06-23 14:49:56 -07:00
Mitchell Hashimoto c0bc74990b website: note SSH forwarding 2015-06-23 14:49:36 -07:00
Mitchell Hashimoto 3cc90768a2 website: update docs to link to communicator 2015-06-23 14:44:57 -07:00
Mitchell Hashimoto 4244a6ce8d website: communicator section 2015-06-23 14:39:29 -07:00
Mitchell Hashimoto 0ed15e039a website: fix the abnormally large image sizes 2015-06-23 14:02:29 -07:00
Mitchell Hashimoto b06158aeea website: update homepage copy 2015-06-23 14:01:02 -07:00
Mitchell Hashimoto 88e689faa2 v0.8.0 2015-06-23 10:59:34 -07:00
Clint c8d451dda2 Update CHANGELOG.md 2015-06-23 12:11:38 -05:00
Clint 5b67472d07 Merge pull request #2296 from mitchellh/f-amazon-chroot-mount-options
builder/amazon-chroot: add mount_options configuration option
2015-06-23 11:55:56 -05:00
Mitchell Hashimoto 230691bb2f update CHANGELOG 2015-06-23 09:34:47 -07:00
Clint Shryock 3a54e6899d code cleanup 2015-06-23 11:34:42 -05:00
Mitchell Hashimoto 3fac725a55 Merge pull request #2291 from mitchellh/b-qemu-default
builder/qemu: default acceleration to tcg on Windows [GH-2284]
2015-06-23 09:34:07 -07:00
Clint Shryock 24106de378 builder/amazon-chroot: document mount_options config 2015-06-23 11:31:43 -05:00
Clint Shryock 29cef0eae4 builder/amazon-chroot: add mount_options configuration option 2015-06-23 11:26:13 -05:00
Clint 3884555007 Merge pull request #2289 from mitchellh/b-amazon-chroot-fixes
builder/amazon-chroot: various fixing and debugging of chroot builder
2015-06-23 10:53:02 -05:00
Clint Shryock 44dc977cb8 document root_volume_resize for amazon-chroot 2015-06-23 10:52:42 -05:00
Mitchell Hashimoto a8166d4765 Merge pull request #2292 from vtolstov/file
fix file download provisioner
2015-06-23 08:51:17 -07:00
Mitchell Hashimoto d429b75fcc post-processor/vagrant: fix interpolation 2015-06-23 08:39:57 -07:00
Clint Shryock 5d2ea088a2 builder/amazon-chroot: add root_volume_size to resize chroot root volume 2015-06-23 10:35:59 -05:00
Mitchell Hashimoto ec9be0928b Merge pull request #2294 from vtolstov/docker
allow import qemu builded artifacts
2015-06-23 08:18:35 -07:00
Clint Shryock 8a9a59c3ca check if newDevice.EBS is nil 2015-06-23 09:11:29 -05:00
Vasiliy Tolstov 2b36bcc502 allow import qemu builded artifacts
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-06-23 14:28:03 +03:00
Vasiliy Tolstov 036c9ddf7c fix file download provisioner
when file used with download direction we don't need
to check source on builder because it on machine.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-06-23 12:27:27 +03:00
Clint Shryock 9f8b0041f0 builder/amazon-chroot: use source image virtualization type, unless specified 2015-06-22 22:08:31 -05:00
Clint Shryock f374edc2b8 builder/amazon-chroot: Fixes for amazon-chroot builder
These are needed for chroot builder to work
2015-06-22 21:34:38 -05:00
Mitchell Hashimoto 5852bd7cd7 builder/qemu: default acceleration to tcg on Windows [GH-2284] 2015-06-22 17:56:35 -07:00
Mitchell Hashimoto b77042dc85 provisioner/shell-local: fix vet 2015-06-22 15:01:22 -07:00
Mitchell Hashimoto 0416939c08 common: always reset progress to 0 for downloads 2015-06-22 14:59:38 -07:00
Mitchell Hashimoto 117579808f common: add the current progress to the total size 2015-06-22 14:58:27 -07:00
Mitchell Hashimoto 9bc0dfa389 builder/vmware: disable VNC before packaging 2015-06-22 14:50:25 -07:00
Mitchell Hashimoto 1aa1399e85 builder/parallels: fix compilation issuse 2015-06-22 12:46:13 -07:00
Mitchell Hashimoto 0c5ea9aa36 Merge branch 'rickard-von-essen-issue_2080' 2015-06-22 12:39:40 -07:00
Mitchell Hashimoto 13c2c4660d Merge branch 'issue_2080' of https://github.com/rickard-von-essen/packer into rickard-von-essen-issue_2080 2015-06-22 12:39:30 -07:00
Mitchell Hashimoto 5db4d7c01f fmt 2015-06-22 12:37:52 -07:00
Mitchell Hashimoto 288b9a70f6 Merge pull request #1657 from njhartwell/master
Adding disable sudo support to salt masterless
2015-06-22 12:37:30 -07:00
Mitchell Hashimoto c5503ee0ae Merge branch 'lyrixx-ansible-inventory-groups' 2015-06-22 12:35:57 -07:00