Commit Graph

6011 Commits

Author SHA1 Message Date
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
Paul Stack 5353cda7a2 Merge pull request #3819 from sourabhpawar/patch-1
Note added: Command line var on Windows
2016-08-23 18:03:00 +01:00
Christopher Boumenot 0e1e737229 Merge pull request #3803 from ritasker/add-location
Adds Location to the Azure Setup Script
2016-08-23 09:28:03 -07:00
Paul Stack 0691ee1c5f Merge pull request #3821 from blindroot/master
Update example AWS policy document
2016-08-22 18:36:02 +01:00
mieciu 23296988b8 Update example AWS policy document 2016-08-22 17:06:20 +02:00
Sourabh Pawar 07e6509bc4 Removed additional whitespace
Removed additional whitespace
2016-08-21 15:07:22 -04:00
Sourabh Pawar 103a8a9223 Note for executing the first build on Windows
The first packer build command includes passing AWS access key and secret key as variables. On Windows, the single quotes must be replaced with double quotes or an AWS error occurs. This may not be obvious to everyone, hence a note. The AWS error (as below) is not adequately self-explanatory. 

Build 'amazon-ebs' errored: Error querying AMI: NoCredentialProviders: no valid providers in chain. Deprecated.
        For verbose messaging see aws.Config.CredentialsChainVerboseErrors
2016-08-21 15:04:05 -04:00
Rickard von Essen 6cd7ad82bb Fixed dupliceted test 2016-08-19 14:34:24 +02:00
Rickard von Essen a399a5ff10 Updated CHANGELOG.md 2016-08-19 13:36:01 +02:00
Rickard von Essen 3e1aed9a6f Enable to disable vnc password for VMware builder 2016-08-19 13:26:23 +02:00
Israel Shirk f961ce701b Adds password protection for VNC on VMWare 2016-08-19 13:26:16 +02:00
Jeremiah Roth 9489c83f0f If the VM has more than one NIC, loop through until we find one that works (#3347) 2016-08-19 13:23:43 +02:00
mahcsig 832d45023b Re-introduce case sensitive vmx key functionality (#2707)
Add case sensitive vmx key functionality
2016-08-19 13:23:07 +02:00
Dan Tran 4ac6e2a08c Dont check for poweron command error to force retry at state check (#3195) 2016-08-19 13:21:50 +02:00
Charlie Vieth 6ce847e720 Do not add remotedisplay.vnc.ip to vmx data on ESXi
* The remotedisplay.vnc.ip vmx data key breaks ESXi, this commit prevents it
  from being automatically added during VNC configuration when using the ESX5
  driver.

* It can still be configured via the vmx_data section of the builder
  template

Signed-off-by: Sunjay Bhatia <sbhatia@pivotal.io>
2016-08-19 13:19:04 +02:00
Charlie Vieth d14d62074e Add winrm functionality to vmware-iso builder (#3738)
* Use winrm_host, if provided, this allows packer to work in ESXi
environments without DHCP.

Signed-off-by: Charlie Vieth <cviethjr@pivotal.io>
2016-08-19 13:02:55 +02:00
Eric Johnson a7de2d0f7a Merge pull request #3760 from crunk1/master
Created googlecompute-export post-processor.
2016-08-17 07:02:31 -07:00
Rich c0140f4cb7 Adds Location to the Script
The script now asks the user for the region the resource group
and storage account will be created in.
2016-08-16 13:53:23 +01:00
Scott Crunkleton 1b9b37bdc1 Added some error handling and logs for the GCE export startup script. 2016-08-15 16:25:57 -07:00
Scott Crunkleton d2e65e6433 Generated command/plugin.go using scripts/generate-plugins.go. 2016-08-15 14:36:26 -07: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
Rickard von Essen 2a5ca026f1 Updated CHANGELOG.md 2016-08-14 22:02:38 +02:00
Toby Jaffey 37ef03c41c Use config StateTimeout for DigitalOcean unlock and off transitions. (#3444)
Use config StateTimeout for DigitalOcean unlock and off transitions.
When DigitalOcean's API is responding slowly, the hardcoded timeouts are too short.
2016-08-14 21:12:30 +02:00
Rickard von Essen 936aaa0889 Self documenting Makefile (#3290) 2016-08-14 15:28:29 +02:00
Rickard von Essen 66aef1487d Merge pull request #3780 from inntran/ipad-doc-optimize
Optimize Packer document view for iPad portrait mode
2016-08-14 15:17:23 +02:00
Rickard von Essen 3ab7db6168 Merge pull request #3791 from tubadude49/patch-1
Fix plural in template docs.
2016-08-10 08:01:12 +02:00
tubadude49 14c73a837d Plural 2016-08-09 16:24:17 -05:00
Seth Vargo 50330b8e69 Merge pull request #3786 from mitchellh/sethvargo/link
Update links to serf
2016-08-08 12:45:31 -04:00
Seth Vargo 47523f375d
Update links to serf 2016-08-08 12:45:23 -04:00
Yinchuan Song 9de769604a Optimize Packer document view for iPad portrait mode
- reduced margin, padding, line-height of several elements
- created iPad specific media selector
- removed unnecessary spaces around headers and list elements
- reduced code font size to 12px
- removed unnecessary optimization of page footer for tablets
2016-08-05 02:19:02 -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
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 6563bbc854 Merge pull request #3764 from boumenot/pr-azure-tags
azure: tag all resources
2016-08-02 11:30:39 -07:00
Christopher Boumenot ece0a78990 azure: tag all resources 2016-08-02 11:25:03 -07:00
Chris Bednarski 644b11805d Fix go vet casing issue 2016-07-30 17:10:16 -07:00
Christopher Boumenot b7954bc5d9 Merge pull request #3683 from boumenot/pr-private-ip
azure: Support for a user defined VNET.
2016-07-28 21:36:35 -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 37fe764727 Merge pull request #3716 from boumenot/pr-3680-update-azure-sdk
Update Azure dependencies.
2016-07-20 14:26:08 -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