Commit Graph

9059 Commits

Author SHA1 Message Date
Megan Marsh 4f3b470804 add helper function to manage validation of filepaths created using DownloadableURL 2018-01-03 16:53:47 -08:00
Megan Marsh 54bd057bb9 fix nasty edge case where we can't find guest additions on windows if they are on a different drive 2018-01-03 14:34:11 -08:00
Matthew Hooker 0ae1df2071
clarify that ssh_interface works for winrm 2018-01-03 13:42:53 -08:00
Aidan Feldman b894c925d1
make user retrieval for Ansible provisioner more robust
Previously, the Ansible provisioner would look for the username from the
`USER` environment variable. Unfortunately, this is not always set -
particularly in Docker containers. It's very confusing to understand why
the error is happening.

Switched to using Go's built-in `os/user` package for retrieving the
current username. @rickard-von-essen had done this in 7369841, but
moved away from it in d59844f because, at the time, it wasn't possible
to use that library with cross-compilation. This was fixed in Go in

795e712b72
2018-01-03 02:52:41 -05:00
Ali Rizvi-Santiago 4fcd542d0c Fixed an issue where the VirtualBox builder was checking for whether guest_additions_url was empty or not before it actually interpolated any variables. 2018-01-02 21:09:41 -06:00
James Nugent a8e30bc796 Update CHANGELOG.md 2017-12-29 13:34:05 -06:00
James Nugent 6066ce8c8e
Merge pull request #5741 from stack72/add-support-for-triton-rbac
builder/triton: Add support for Triton RBAC
2017-12-29 14:31:59 -05:00
stack72 c3467b686c builder/triton: Add support for Triton RBAC
Fixes: #5737

Triton allows for subusers to be granted access to your account. This PR allows a user to be specified
2017-12-29 21:20:40 +02:00
zhuzhih2017 4e1beb009c
Update CHANGELOG.md 2017-12-29 15:11:18 +08:00
zhuzhih2017 51174d25e2
Merge pull request #5739 from QuantumGhost/master
Attach keypair before starting instance in alicloud builder
2017-12-29 15:08:43 +08:00
QuantumGhost a90376f12a Attach keypair before starting instance in alicloud builder
[Documentation of `AttachKeyPair`](https://goo.gl/gC3srG) states that
attaching keypair to running instance takes effect after reboot.
So we need to attach keypair before starting instance to avoid an
additional restart.
2017-12-29 10:13:26 +08:00
Glenn McDonald 7250c4f7f0 Add Intel HAXM support to QEMU builder 2017-12-29 11:51:57 +11:00
Rickard von Essen ab69f619e5
Fixed CHANGELOG.md 2017-12-27 09:56:33 +01:00
Rickard von Essen d47d3d8a50
Updated CHANGELOG.md 2017-12-26 08:09:25 +01:00
Rickard von Essen 05fcecb1e7
Merge pull request #5666 from kwilczynski/remove-ecr-credentials-from-logging
docker: Remove credentials from being shown in the log.
2017-12-26 08:07:37 +01:00
Sean Malloy e8bac9f4c8 Add unit tests for new vagrant Google post-processor 2017-12-23 23:46:30 -06:00
Sean Malloy e47bd65986 Add vagrant post-processor support for Google
Add the ability to create Google vagrant boxes
using the vagrant post-processor. The Google
plugin for vagrant is linked below.

https://github.com/mitchellh/vagrant-google
2017-12-23 00:13:17 -06:00
Malet 93c2f2ec93
Improve vmware-iso disk_type_id documentation
Referring to the vmware documentation might be more "correct", but having the options listed will make the available options much clearer.
2017-12-21 17:24:04 +00:00
Matthew Hooker a67d4024b3
Merge pull request #5722 from dvrkps/patch-1
travis: update 1.7 and 1.8 go versions
2017-12-20 12:28:45 -08:00
Davor Kapsa f0580c6f3a
travis: update 1.7 and 1.8 go versions
.x match latest patch
2017-12-20 15:36:02 +01:00
Matthew Hooker 4d088079aa
Merge pull request #5720 from lancelafontaine/master
Corrects small typo in amazon-* builder docs
2017-12-19 16:34:52 -08:00
Lance Lafontaine 93d201828c Corrects small typo in amazon-* builder docs 2017-12-19 19:29:39 -05:00
Matthew Hooker f3dea272d9
Set session in state bag
We can construct connections to arbitrary regions from it
2017-12-19 11:32:33 -08:00
Matthew Hooker f6c401a143
don't pass in accessconfig 2017-12-19 11:32:32 -08:00
Matthew Hooker 1c352726d7
Merge pull request #5719 from rchenv/issue5606
Ensure all AWS connections are configured alike
2017-12-19 11:32:24 -08:00
Matthew Hooker cb2ad49b21
Merge pull request #5718 from obazoud/region_paris
builder/amazon: Added new region Paris - eu-west-3
2017-12-19 11:19:41 -08:00
Rong Chen 3e92b1374e issue5606: follow the convention to use AccessConfig to create new aws session for step_create_tags etc. 2017-12-19 10:34:12 -08:00
Olivier Bazoud 8bcb469b8b builder/amazon: Added new region Paris - eu-west-3 2017-12-19 10:00:03 +01:00
Matthew Hooker aab786dd1a
formatting 2017-12-18 15:31:50 -08:00
Matthew Hooker d1fe0f1a6e
Merge pull request #5717 from skierkowski/guide-cicd-improvements
Improving some details on the packer-on-cicd guide
2017-12-18 15:28:48 -08:00
Maciej Skierkowski 7ee50ff926 Should be OVF
As a side note I will point out that the bento projects will use vagrant to package up the image into a .box file. But using OVF as we are assuming not to be using vagrant.
2017-12-18 15:12:04 -08:00
Maciej Skierkowski 37ce11fa0e Add details about the 30% off ongoing coupon. 2017-12-18 14:17:27 -08:00
Maciej Skierkowski f88cd61e70 Renaming 'Packet.net' to 'Packet' 2017-12-18 14:05:12 -08:00
Maciej Skierkowski 1bc6a445ef Fixing typo in coupon code 2017-12-18 14:04:46 -08:00
Matthew Hooker 7750517073
Merge pull request #5715 from automaticgiant/patch-1
typo
2017-12-18 12:24:48 -08:00
Hunter Morgan 6410fd615c
typo 2017-12-18 20:21:26 +00:00
Ben Phegan c338cb79d0 Initial commit of feature to allow MAC address specification for HyperV builders 2017-12-15 13:24:15 +11:00
Matthew Hooker 1de0004710
Merge pull request #5706 from hashicorp/fix5704
log when loading config from environment
2017-12-14 11:27:58 -08:00
Matthew Hooker c3eb54f183
log when loading config from environment 2017-12-14 11:26:09 -08:00
frankdannhauer 893d0334f1
Fix #5335
https://github.com/hashicorp/packer/issues/5335
2017-12-14 14:00:52 +01:00
Matthew Hooker e6e16c1c8b
Merge pull request #5699 from hashicorp/docnestedvirt
some cloud providers support nested virtualization
2017-12-13 10:10:06 -08:00
Matthew Hooker cba1a0598f
document additional aws permission 2017-12-12 21:13:09 -08:00
Matthew Hooker 4ed60ba789
clarify support vs availability. 2017-12-12 21:07:12 -08:00
Matthew Hooker 88b275715e
clarify that there are cloud providers that support nested virtualization 2017-12-12 21:00:18 -08:00
Matthew Hooker 62e946f5d1
Merge pull request #5698 from skierkowski/guides-update-links
Update links in guides
2017-12-12 09:36:42 -08:00
Matthew Hooker c62f00f47a
fix link 2017-12-12 09:10:38 -08:00
Matthew Hooker 738e378e91
complete the thought 2017-12-12 09:07:07 -08:00
Matthew Hooker cd2a0fe873
add deprecation warnings to docs 2017-12-12 09:07:06 -08:00
Matthew Hooker c07eabe4c0
Merge pull request #5695 from ArjenSchwarz/bugfix/5691-azure-panic
5691: Invalid image URLs make Azure builder crash
2017-12-12 09:03:58 -08:00
Arjen Schwarz c2ecdd98c6
5691: Invalid image URLs make Azure builder crash 2017-12-12 20:12:53 +11:00