Commit graph

1137 commits

Author SHA1 Message Date
Rickard von Essen
21a957ddcd Added a missing the 2016-09-12 07:46:47 +02:00
Mark Turner
de35df833b Fixed azure storage command example to include sku-name and kind 2016-09-10 17:44:13 +01:00
Mark Turner
0f4cba9c82 Added quotes to JQ line when getting Azure accounts 2016-09-10 17:33:20 +01:00
Jeremy Asher
66e55553e8 cleanup and make format on amazon-chroot docs 2016-09-04 12:19:47 -07: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
Jeremy Asher
e1c69a2e9a amazon-chroot from_scratch option documentation 2016-09-03 12:32:43 -07:00
Jeremy Asher
9a7758a002 fix amazon-chroot docs use of backticks for true/false 2016-09-03 12:32:43 -07:00
Andy Feller
71e43abef6 Updated ansible provisioner documentation to cite situation encountered by Redhat family around sftp_command 2016-09-02 07:45:16 -04:00
Rickard von Essen
d1e38052f7 Merge pull request #3350 from JoakimLofgren/add-support-for-ansible-galaxy
Add support for ansible-galaxy
2016-09-01 20:51:17 +02:00
Joakim Löfgren
eee54d48f3 Add documentation for galaxy_file 2016-09-01 13:51:14 +02:00
Rickard von Essen
d8e67a0b6f
Added file builder documentation. 2016-08-30 19:51:49 +02:00
Ingo Gottwald
0c1051a017 GCE builder: Switch to google.DefaultClient (#3655)
* GCE builder: Switch to google.DefaultClient

This enables authentication through an authenticated gcloud tool.

* GCE builder: Add docs about auth mech precedence
2016-08-27 03:12:55 +02:00
Joseph Heck
27cdd4480a detail on connecting to build VM for debugging (#3797)
* detail on connecting to build VM for debugging

 - resolves #485, mostly my own confusion about how to connect to a
   locally built machine being created by packer while using -debug
   functionality.

* fixing name of preseed file typo
2016-08-24 09:12:22 +02:00
Hal Deadman
6f8ec8bd63 fix docs to match code for puppet-server provisioner staging_dir (#3604) 2016-08-24 00:04:00 +02:00
Royce Remer
faa971291d document optional amazon-ebs virt type behavior 2016-08-24 00:02:17 +02:00
Huy Nguyen
5e1aa22dc7 IAM permission needed to deregister failed images (#3796) 2016-08-23 23:55:01 +02:00
www.elconas.de
e6c590ace4 Fix IAM Policy to avoid 'Error enabling Enhanced Networking on xxxxxxx: UnauthorizedOperation: You are not authorized to perform this operation' (#3696) 2016-08-23 23:54:42 +02:00
Luke Farnell
a2ad2d2d93 providing documentation for solving issue #3586 (#3702)
* providing documentation for solving issue #3586

* fixed docs to include the env var needing to be set

* typo for env var
2016-08-23 23:53:56 +02:00
Steven Samuel Cole
e88c1542e5 extend export_opts documentation, add sample code (#3746) 2016-08-23 23:51:34 +02:00
Steven Samuel Cole
dfae68dc6b extend export_opts documentation, add sample code (#3745) 2016-08-23 23:51:15 +02:00
Alvaro Miranda Aguilera
fdbf15be9f Uppercase note 2016-08-23 19:03:37 +02:00
Alvaro Miranda Aguilera
e65401cbf6 add note for packer-* binaries 2016-08-23 18:58:20 +02:00
Alvaro Miranda Aguilera
2101b6a2ff Update documentation to single binary 2016-08-23 18:52:26 +02:00
mieciu
23296988b8 Update example AWS policy document 2016-08-22 17:06:20 +02:00
Rickard von Essen
3e1aed9a6f Enable to disable vnc password for VMware builder 2016-08-19 13:26:23 +02: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
tubadude49
14c73a837d Plural 2016-08-09 16:24:17 -05:00
Isa
bb2dd6e2b2 add custom_state config to salt provisioner 2016-08-03 12:56:51 -07:00
Eric Johnson
0e334e67be Merge pull request #3774 from evandbrown/google-external-ip-optional
builder/googlecompute: provision VM without external IP address
2016-08-02 15:39:01 -07:00
Taliesin Sisson
3a5b9e8546 Add missing boot_command documentation. 2016-08-02 21:58:04 +01:00
Evan Brown
a5c598264f builder/googlecompute: Support provisioning VM without external IP address
This change adds an `omit_external_ip` configuration property that, when true,
will cause no external IP address to be associated with the Google Compute
Engine VM provisioned to create an image. When using `omit_external_ip`, you
must also set the `use_internal_ip` configuration property to true.

Addresses #3296
2016-08-02 13:43:04 -07:00
Christopher Boumenot
ece0a78990 azure: tag all resources 2016-08-02 11:25:03 -07:00
Taliesin Sisson
e3361eec55 Added ctrl, shift and alt keys to documentation 2016-07-31 22:50:59 +01:00
Taliesin Sisson
a87ad05866 Add support for ctrl, shift and alt keys.
Add support for using ctrl, shift and alt as key modifiers. So you can now achieve ctrl+c by using "<leftCtrlOn>c<leftCtrlOff>".

Updated documentation for new key stroke tokens.
2016-07-31 19:05:10 +01:00
Ali Hamidi
6b7ed3aaab include default value in docs 2016-07-29 15:01:24 -07:00
Ali Hamidi
53b3867c50 allow packer to create an encrypted copy of the AMI 2016-07-29 15:01:24 -07:00
Christopher Boumenot
871ca8c3d9 azure: Support for a user define VNET.
Two new configuration options have been exposed to allow users to specify
an existing virtual network: virtual_network_name and
virtual_network_resource_group_name.

 * virtual_network_name: name of the virtual network to attach a Packer VM
 to.

 * virtual_network_resource_group_name: name of the resource group that
 contains the virtual network.  This value is optional.  If the value is
 not specified, the builder queries Azure for the appropriate value.  If
 the builder cannot disambiguate the value, a value must be provided for
 this setting.

 * virtual_network_subnet_name: name of the subnet attached to the virtual
 network.  This value is optional.  If the value is not specified, the
 builder queries Azure for the appropriate value.  If the builder cannot
 disambiguate the value, a value must be provided for this setting.
2016-07-28 21:31:59 -07:00
Eric Johnson
95cffcae78 Merge pull request #3639 from crunk1/master
Adding support for googlecompute startup scripts.
2016-07-27 08:48:01 -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
Scott Crunkleton
7190fbeed8 Adding support for googlecompute startup scripts.
- Startup scripts can be provided through the instance creation metadata field 'startup-script'.
- Script log can be copied to a GCS location by setting the metadata field 'startup-script-log-dest'.
Added Retry method to googlecompute package.
Added GetSerialPortOutput to googlecompute Drivers.
Added StepWaitInstanceStartup (and associated test) which waits for an
instance startup-script to finish.
Changed the instance service account to use the same service account as the one provided in the Packer config template. It was the project default service account.

Tested googlecompute package with 'go test' and also performed builds
with a startup script and without a startup script.
2016-07-20 14:54:36 -07:00
Christopher Boumenot
97b1915d51 Update Azure dependencies
* azure-sdk-for-go to 3.1.0-beta
 * go-autorest to 7.0.7
 * import dgrijalva/jwt-go at 3.0.0
2016-07-20 14:21:40 -07:00
Christopher Boumenot
323dc70ed6 Merge remote-tracking branch 'origin/master' into pr-3680-update-azure-sdk 2016-07-20 12:08:28 -07:00
Cameron Stokes
923375cdbc Clarify googlecompute#metadata usage. 2016-07-20 11:12:20 -07:00
Christopher Boumenot
7d259ab098 Update Azure dependencies.
* azure-sdk-for-go to 3.1.0-beta
 * go-autorest to 7.0.7
 * dgrijalva/jwt-go to 3.0.0

Add the German cloud configuration.
Ensure the different cloud URLs are _actually_ used.
2016-07-20 10:47:46 -07:00
Chris Bednarski
c0b637b0c5 Merge pull request #3733 from envato/no-shutdown-behaviour-instance-backed
No shutdown behaviour instance backed
2016-07-19 01:49:05 -07:00
Chris Bednarski
417a9bb89f Merge pull request #3710 from cmoscardi/privileged-doc
Docker builder: Adding privileged config variable to documentation.
2016-07-18 18:31:33 -07:00
Chris Bednarski
3eaaba37c1 Merge pull request #3712 from sijis/fix/docs_3711
Remove Communicator section from amazon-chroot docs
2016-07-18 18:31:17 -07:00
Adron Hall
c4b93d00ad Format change to spaces vs. tabs. & indentation cleanup. 2016-07-14 14:54:02 -07:00
Adron Hall
a7de9d9a2f Changed based level example so it can be copied.
The base level example doesn't actually work unless enclosed with a "builders" section. All fixed now.

Previous:

    {
      	"type": "googlecompute",
		"account_file": "account.json",
		"project_id": "my project",
		"source_image": "debian-7-wheezy-v20150127",
		"zone": "us-central1-a"
    }

Now:

	{
	  "builders": [
	    {
	      	"type": "googlecompute",
			"account_file": "account.json",
			"project_id": "my project",
			"source_image": "debian-7-wheezy-v20150127",
			"zone": "us-central1-a"
	    }
	  ]
	}
2016-07-14 07:05:46 -07:00
Sijis Aviles
bd6c0dbde0 Remove Communicator section from amazon-chroot docs
Closes #3711
2016-07-12 13:26:44 -05:00
Christian Moscardi
874ff0eaa7 Adding privileged config variable to documentation. 2016-07-12 10:40:26 -04:00
Chris Bednarski
6eedd4d710 Merge pull request #3650 from tomdev/patch-1
Add comment on required subnet_id when using vpc_id
2016-07-07 12:54:53 -07:00
Chris Bednarski
da80c60e84 Merge pull request #3641 from rrzaripov/website-fix-default-remote-path-windows-shell
Clarifying defaults remote_path for powershell and windows-shell prov…
2016-07-06 23:24:02 -07:00
Patrick Robinson
9af244afc4 Remove documentation about instance shutdown from instance builder 2016-06-27 10:29:59 +10:00
Tom de Vries
510e4c991e Add comment on required subnet_id when using vpc_id 2016-06-24 10:35:22 +02:00
Paul Meyer
163da48345 builder/azure-arm: Make tenant_id optional
Look up tenant id if not specified by the user
2016-06-23 10:23:09 -07:00
Renat Zaripov
b4ac9d0033 Clarifying defaults remote_path for powershell and windows-shell provisioners 2016-06-22 09:29:13 +03:00
Chris Bednarski
df8aff6286 Merge pull request #3622 from jamiegs/fixCleanupOnWindows
Fix node clean-up on Windows
2016-06-14 15:20:54 -07:00
Jamie Snell
d43fa85e7b update docs to reflect knife_command change 2016-06-14 17:18:08 -05:00
Patrick Robinson
3cf2d1e356 Add documentation for shutdown_behaviour option 2016-06-14 14:29:10 -07:00
Chris Bednarski
ab05a458ea Merge pull request #3623 from delaman/patch-1
Type-o in documentation
2016-06-14 14:17:24 -07:00
Chris Bednarski
ab8d091304 Merge pull request #3593 from grobinson-blockchain/patch-2
Add Debian 8.4 to gotchas for google compute builder
2016-06-14 14:16:42 -07:00
Pedro de la Cruz Jr
877a456eea Type-o in documentation 2016-06-14 14:24:34 -05:00
Tom Asquith
40aa2b9973 added support for specifying an execute command to the puppet-server provisioner. 2016-06-13 14:12:28 +01:00
Chris Bednarski
7a9c3bc2a0 Added -force truncation behavior for manifest, and added docs 2016-06-10 15:57:01 -07:00
Christopher Boumenot
353ce2f2a6 Merge pull request #3575 from mitchellh/pr-custom-image-url
Implement support for custom images.
2016-06-09 09:47:18 -07:00
owjjh
d088b01cc8 Updating documentation to include details for the skip_region_validation configuration option 2016-06-06 14:45:22 -04:00
George Robinson
75dc729182 Add Debian 8.4 to gotchas for google compute builder 2016-06-02 14:48:35 +01:00
Erik Olson
a6b59d742d Amazon documentation, update policy document - minimal set of permissions to allow copying AMIs to other regions 2016-06-01 12:59:25 -04:00
Christopher Boumenot
5950d3d92b Implement support for custom images. 2016-05-27 21:18:20 -07:00
Chris Bednarski
d6b9978d0e Merge pull request #3565 from imduffy15/master
Allow configurable VNC bind IP for VMware builders
2016-05-25 11:27:38 -07:00
Chris Bednarski
e13b7fbfcd Merge pull request #3566 from imduffy15/virtualbox
Allow configurable VRDP bind IP for VirtualBox builders
2016-05-25 11:27:29 -07:00
Ian Duffy
fa273f3bea Allow configurable VNC bind IP for QEMU
This commit allows for a user configurable VNC bind IP to be used for
QEMU.

By default this will be 127.0.0.1, alternatively, a user can use
0.0.0.0 which will bind to all interfaces.

This pull request should satisfy concerns of #3570 and #3559. It is
also in-line with the functionality provided by #3566 and #3565

Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 10:10:12 +01:00
Ian Duffy
9abd8b16bc Update documentation to include vnc_bind_address
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 09:38:40 +01:00
Ian Duffy
4ca03a95c6 Update documentation to include vrdp_bind_address
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-25 09:36:27 +01:00
Chris Bednarski
42a9d9d5a1 Merge pull request #3352 from chalfant/disable-stop-instance
Disable stop instance
2016-05-24 15:40:54 -07:00
Chris Bednarski
97772d0dee Added warning not to use instance builder with windows 2016-05-24 15:19:06 -07:00
Justin Phelps
c53e3d01c0 Adding reference to GetPasswordData in the Amazon builder documentation. Fixes #3546 (#3558) 2016-05-20 10:15:40 -07:00
Brian Candler
56313450a9 Headless documentation (#3557)
* Add some notes about qemu headless mode

Partly resolves #3530
2016-05-20 10:01:41 -07:00
Chris Bednarski
24cf28d4b6 Merge branch 'yoctocloud-accelerator' 2016-05-19 22:54:19 -07:00
Chris Bednarski
6c1ca3ad49 Updated qemu docs to reflect new behavior 2016-05-19 22:54:08 -07:00
Vasiliy Tolstov
d64603e137 initial import of checksum post-processor (#3492)
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 17:31:16 -07:00
Vasiliy Tolstov
b67ee530c8 post-processor/shell-local: don't set executable bit for artifact files (#3505)
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 16:15:26 -07:00
Avi Deitcher
e9a9219725 Clarify how shell-local post-processor gets called and when, with an example (#3511) 2016-05-18 16:07:21 -07:00
Hidekazu Tanaka
3728e076fe Fix SSH Agent Forwarding exmaple 2016-05-18 16:04:56 -07:00
David J. Felix
b7bff9d251 Fix misdocumentation of "variables" attribute (#3433)
- Variables is not a JSON array or "[]" it is a JSON object "{}" or map.
2016-05-18 16:00:49 -07:00
Christopher Boumenot
83e6044595 Documentation for the Azure builder. (#3518) 2016-05-17 14:15:24 -07:00
Peter Schultz
8546aafec5 builder/googlecompute: support image family 2016-05-13 15:24:02 -07:00
Vasiliy Tolstov
6a5f6938ef post-processor/compress: add bgzf format support
* add bgzf compressor (it allows seek inside compressed file)
* add optional format config variable to specify archive format
* Update pgzip to get sse4 and avx optimizations.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-13 11:51:00 +02:00
Chris Bednarski
b41b408800 Update atlas.html.md (#3520) 2016-05-09 16:53:27 -07:00
Chris Bednarski
b30689b7b5 Updated documentation for Azure builder 2016-05-06 21:56:27 -07:00
Chris Bednarski
f28d8a18c5 Added documentation for ATLAS_CA* environment variables 2016-05-03 17:19:12 -07:00
Ian Duffy
7e653370b7 Seperate remote_path into remote_folder and remote_script. (#3462)
Commonly /tmp is set as noexec, as a result packer scripts
fail to run. In order to get around this one can set a
remote_path, whoever, remote path requires full filename
and path.

By making remote_path a combination of
remote_folder/remote_script we can change remote_folder
and keep the default script_nnn.sh

Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-04-26 16:04:29 -07:00
mansunkuo
864be9d991 Modify documents of extra_arguments for both ansible(remote) and ansible-local. (#3423) 2016-04-20 20:49:46 -07:00
Chris Bednarski
90a12f7043 Clarified that windows must be fully booted in order for the restart provisioner to succeed 2016-04-20 12:34:53 -07:00
Rickard von Essen
4f0f05fb8e Merge pull request #3419 from tylert/vmw-iso-doc-fix
Put vmware-iso builder config options in 'packer fix' order and menti…
2016-04-06 16:36:03 +02:00
Tyler Tidman
2472e6bf06 Put vmware-iso builder config options in 'packer fix' order and mention boolean defaults 2016-04-06 09:24:03 -04:00
Shaun Haber
efa642fe04 Add documentation for ssl_verify_mode 2016-04-01 12:35:05 -07:00
Ilias Bertsimas
8bb3541fc3 Fix WinRM default SSL port typo. 2016-03-22 11:32:03 +00:00
Chris Bednarski
172184b2f2 Merge pull request #3360 from thomasv314/bugfix/fix-documentation-errors
Update documentation to work out of box
2016-03-17 14:16:56 -07:00