Commit Graph

1062 Commits

Author SHA1 Message Date
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
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
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
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
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
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