Chris Bednarski
6c35f44104
Merge pull request #3129 from vtolstov/wait
...
builder/qemu: allow to specify time.Duration in special <wait> command
2016-02-04 17:16:07 -08:00
Chris Bednarski
358b5c62e2
Merge pull request #3143 from ThatGerber/iam-roles
...
IAM CLI Profile/Assume Role Support
2016-02-04 16:47:09 -08:00
Christopher Gerber
e7711c31ea
Wrong function to convert int to string.
2016-02-04 16:18:57 -06:00
Christopher Gerber
b75d561c56
Fixes more windows testing errors.
...
"constant 9999999999 overflows int" running test on CI server. Replaced with timestamp to unixnano
2016-02-04 16:12:18 -06:00
Christopher Gerber
d25ba245f4
Fixes bytes to string issues in Windows build.
2016-02-04 16:05:49 -06:00
Christopher Gerber
a6aefa859f
Fixes issue in build where multiple processes were trying to access the same file.
2016-02-04 15:39:54 -06:00
Christopher Gerber
6c3e0daf24
Added tests. Updated CLIConfig to pass tests.
2016-02-04 14:56:22 -06:00
Rickard von Essen
2155576fd6
Merge pull request #2751 from rickard-von-essen/prl_deprecations
...
Remove deprecated parallels_tools_host_path and guest_os_distribution
2016-02-04 20:21:59 +01:00
Chris Bednarski
e6b6f0b020
Merge pull request #2539 from fnoeding/amazon-ebs-fix-ec-user-data-encoding
...
amazon builder: always base64 encode ec2 user data
2016-02-03 16:47:01 -08:00
Christopher Gerber
f1ae2a2b5a
Moved assume credentials to CLIConfig. Added new functions and methods to CLIConfig. Ran gofmt.
2016-02-03 15:53:01 -06:00
Chris Bednarski
951a7e8ad3
Merge pull request #2596 from manicai/master
...
Fix for #2496 AWS credentials for instance based AMIs
2016-02-03 12:45:51 -08:00
Christopher Gerber
4cf9e36085
Changes credential/config file opener to use homedir instead of HOME environmental variable.
2016-02-03 10:43:48 -06:00
Chris Bednarski
24dc798cfb
Revert "Prevalidate Hardware Specs on Linux"
...
This reverts commit eda84cb2d3
.
2016-02-02 12:41:43 -08:00
Chris Bednarski
6504f4f777
Revert "Only validate vmware resources on local hosts"
...
This reverts commit f01578c91e
.
2016-02-02 12:41:42 -08:00
Chris Bednarski
7ad2104c7f
Revert "Correctly call prepare function in test"
...
This reverts commit 6e8bfd3ce9
.
2016-02-02 12:41:37 -08:00
Christopher Gerber
7975c5e336
Move CLIConfig instantiation inside of ProfileName check.
2016-02-02 08:36:36 -06:00
Vasiliy Tolstov
2104fcec69
builder/qemu: allow to specify time.Duration in special <wait> command
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-02 09:13:37 +00:00
Christopher Gerber
883acb18fa
IAM Role Switching
...
Adds initial IAM Role Switching support and support for AWS CLI Credential and Config files.
See: https://github.com/mitchellh/packer/issues/3109
2016-02-01 18:55:59 -06:00
Rickard von Essen
fd6282529c
Remove deprecated parallels_tools_host_path and guest_os_distribution
2016-02-01 12:25:01 +01:00
Chris Bednarski
2dd8ad9449
Merge pull request #2577 from cybercom-finland/os_source_image_name
...
Support source_image_name in OpenStack builder
2016-01-28 15:40:13 -08:00
Chris Bednarski
4490826a17
Merge pull request #3040 from kimor79/3011
...
Add mount_partition option to amazon-chroot builder
2016-01-25 22:08:07 -08:00
Chris Bednarski
ffb85f6ea5
Merge pull request #3096 from grubernaut/f-resource-limits
...
Prevalidate Hardware Specs on Linux
2016-01-25 21:06:14 -08:00
Jake Champlin
6e8bfd3ce9
Correctly call prepare function in test
2016-01-25 12:54:15 -05:00
Jake Champlin
f01578c91e
Only validate vmware resources on local hosts
...
Disable resource validation when `remote_type` is specified
2016-01-25 12:01:56 -05:00
Vasiliy Tolstov
d96283e475
qemu: allow to use live iso without cache
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-01-25 10:44:42 +00:00
Chris Bednarski
b7ba9a507d
Merge pull request #3041 from msabramo/GH-3038_openstack_builder_auto_set_image_type_to_image
...
openstack builder: Set image_type to "image"
2016-01-21 18:39:08 -08:00
Jake Champlin
eda84cb2d3
Prevalidate Hardware Specs on Linux
...
Prevalidates hardware resources on Linux platforms for Virtualbox and
VMware builders. This is currently only available on Linux, as enabling
for both Darwin and Windows platforms, relies on cgo bindings that would
prevent effective cross-compilation.
Packer will now fail to build and validate templates if the template is
requesting that the VM to be created would allocate more system
resources than the host system has available.
This _however_ doesn't catch parallel builds that overflow the hosts
resources, will probably still need a better error message for VM's
failing to boot in that case.
Example Outputs:
```
$ $GOPATH/bin/packer build -debug ./vmware-iso.json
Debug mode enabled. Builds will not be parallelized.
vmware-iso output will be in this color.
2 error(s) occurred:
* Unavailable Resources: RAM - Requested - 204800000MB - Available 21721MB
* Unavailable Resources: Disk - Requested - 4000000000MB - Available 76701MB
```
```
$ $GOPATH/bin/packer build -debug ./vbox-iso.json
Debug mode enabled. Builds will not be parallelized.
virtualbox-iso output will be in this color.
2 error(s) occurred:
* Unavailable Resources: RAM - Requested - 10240000MB - Available 21721MB
* Unavailable Resources: Disk - Requested - 1000000000MB - Available 76701MB
```
2016-01-21 18:19:11 -05:00
Chris Bednarski
9358e8c355
Merge branch 'hotfix/rearrange_vmx_cleanup' of https://github.com/israelshirk/packer into b-2709
2016-01-21 13:36:02 -08:00
Chris Bednarski
1a5d5acea4
Merge pull request #2737 from jen20/ebs-volume-tags
...
Tag EBS volumes with volume_tags in EBS builder
2016-01-21 13:29:49 -08:00
Chris Bednarski
db0e098800
Merge pull request #2750 from rickard-von-essen/issue-2743
...
Fixes #2743 : Change log messages for step_forward_ssh
2016-01-21 13:28:44 -08:00
Chris Bednarski
d6c02f5aeb
Change test to use something that looks like a real region code
2016-01-21 11:29:39 -08:00
Chris Bednarski
d6fad30162
Merge pull request #2955 from yayugu/feature/ami_product_codes
...
Add AMI Product Codes modification for amazon-ebs & amazon-chroot
2016-01-20 09:13:09 -08:00
Ryan Uber
7732cf45a0
builder/googlecompute: fix image name defaults
2016-01-19 11:12:19 -08:00
Chris Bednarski
ab721b7cb1
Merge pull request #2898 from markpeek/http-refactor
...
Refactor http server config into common
2016-01-14 17:10:17 -08:00
Chris Bednarski
e6f1ea9ab2
Merge pull request #2911 from jtslear/endless-loop
...
vmware-iso-builder: Corrects logic checking destroy
2016-01-14 15:00:34 -08:00
Chris Bednarski
61aea5f123
Merge pull request #2912 from esemplare/esxi_ssh_key_support
...
Add support for SSH Key Authentication with ESX builder
2016-01-13 14:33:10 -08:00
Chris Bednarski
7b468af6b8
Merge pull request #2939 from bitrise-io/digitalocean_timeout_increase
...
increased DigitalOcean unlock wait timeouts
2016-01-13 14:11:09 -08:00
Chris Bednarski
b3c1fbc092
Merge pull request #3009 from msabramo/openstack_WaitForImage_retry_on_404
...
openstack: WaitForImage: treat 404 as retryable
2016-01-13 14:03:00 -08:00
Chris Bednarski
f1d6fbb8c4
Merge pull request #3030 from caiush/gce-external-static-ip
...
Added support for GCE external static IPs
2016-01-12 19:36:32 -08:00
Chris Bednarski
1ab5fc8ca5
Merge pull request #3037 from ColinHebert/subnet_az_discovery
...
Add auto discovery of AZ based on the subnet
2016-01-12 19:35:54 -08:00
Chris Bednarski
0cad32c696
Move region list into a function so we can re-use it in tests
2016-01-12 19:03:21 -08:00
Chulki Lee
20c0f6b02b
fix doc: wrong function name
2016-01-11 13:06:34 -08:00
Chulki Lee
1aa24035fc
add ap-northeast-2: Asia Pacific (Seoul)
2016-01-11 13:05:18 -08:00
Chulki Lee
7018517374
one region per line, sorted
2016-01-11 13:04:35 -08:00
Chulki Lee
3f0795b23c
sort regions by name
2016-01-11 13:04:00 -08:00
Chulki Lee
7f3f5f4bfa
add tests for all ami regions
2016-01-11 13:02:38 -08:00
Marc Abramowitz
3e0914b6a2
openstack builder: Set image_type to "image"
...
so that built images are treated as images and not as snapshots.
Fixes: GH-3038
2016-01-06 15:00:31 -08:00
Kimo Rosenbaum
09543fc4e7
Add mount_partition to amazon-chroot builder to specify a partition other than 1
2016-01-06 11:35:01 -08:00
Colin Hebert
48d242a8f8
Use pointers in the AWS API
2016-01-06 08:12:20 +01:00
Colin Hebert
9385a277c6
Fix API calls and remove az detection in chroot
2016-01-06 08:02:29 +01:00