Paul Meyer
d3d9307b31
Create TODO for Azure builder
2016-06-21 09:51:38 -07:00
Paul Meyer
cb6db06d11
builder/azure: Delete readme
...
Duplicated in packer.io docs
2016-06-21 09:42:01 -07:00
Paul Meyer
ee441366eb
builder/azure: Remove extra polling code for deployments
2016-06-20 14:22:01 -07:00
Christopher Boumenot
a010f80382
Check for nil when querying a certificate.
2016-06-16 09:45:07 -07:00
Chris Bednarski
ab9621ab7d
Added aws shutdown_behavior to the changelog
2016-06-14 14:34:01 -07:00
Patrick Robinson
f361e1d894
Precompile regex
2016-06-14 14:29:10 -07:00
Patrick Robinson
b1d6d28a90
Add unit tests for shutdown behaviour
2016-06-14 14:29:10 -07:00
Patrick Robinson
a9f914ea97
Add shutdown_behaviour option
...
This means an instance will terminate upon shutdown.
2016-06-14 14:29:10 -07:00
Paul Meyer
a788ea4d43
azure/builder: fix token validity test
2016-06-10 09:58:38 -07:00
Christopher Boumenot
6dda6f77d6
Add resource_group_name to test cases.
2016-06-09 10:17:49 -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
Paul Meyer
0c79293dde
azure-arm: Validate that resource_group_name is being set
2016-06-09 01:00:23 -07:00
owjjh
658fadbc53
changing if conditionals to be ! instead of == false
2016-06-07 09:21:43 -04:00
owjjh
d489ce9904
make fmt run
2016-06-06 14:37:09 -04:00
owjjh
de5b69a8df
Adding ability to skip region validation when using AWS
2016-06-06 14:17:12 -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
Chris Bednarski
42a9d9d5a1
Merge pull request #3352 from chalfant/disable-stop-instance
...
Disable stop instance
2016-05-24 15:40:54 -07:00
Ian Duffy
9ec319e296
Allow configurable VNC bind IP for VirtualBox builders
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-23 14:24:16 +01:00
Ian Duffy
0327f6c935
Allow configurable VNC bind IP for VMware builders
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-23 14:07:03 +01:00
Brian Candler
873760e69e
Clarify how to run with logs if qemu fails to start ( #3561 )
2016-05-20 14:25:52 -07:00
Chris Bednarski
24cf28d4b6
Merge branch 'yoctocloud-accelerator'
2016-05-19 22:54:19 -07:00
Chris Bednarski
bff939b373
Added comment on why we need to open /dev/kvm before using it
2016-05-19 22:53:53 -07:00
Chris Bednarski
45e6a238ff
Merge pull request #3050 from andqui/master
...
vmware-iso-builder: Fix for non consequential if statement (failing ESXi iso builds).
2016-05-19 17:43:49 -07:00
Christopher Boumenot
c1e7caf53c
Validate capture variables to obey Azure's rules. ( #3537 )
2016-05-18 17:25:57 -07:00
Gonzalo Peci
9c9f8cd451
Add winrm functionality to null provisioner ( #2525 )
...
* Add new functions to communicator helper to return the user, password, host, based on the communicator used.
This implementation can help then generalize the provisioeners later on.
* Update null builder checks to utilize the new functions and check for ANY hostname or user or password
* Update builder to user any hostname
2016-05-18 17:22:53 -07:00
Vasiliy Tolstov
0f638f9111
builder/qemu: add simple kvm/tcg autodetection
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-05-18 15:38:38 +03:00
Sean Chittenden
ef42021f8f
Fix unit tests, broken in #3549 . ( #3548 )
2016-05-17 15:42:15 -07:00
Chris Bednarski
5a5d59c2bd
Merge pull request #3547 from sean-/f-debug-boot-commands
...
Debug boot commands for QEMU and Parallels
2016-05-17 14:32:09 -07:00
Christopher Boumenot
83e6044595
Documentation for the Azure builder. ( #3518 )
2016-05-17 14:15:24 -07:00
Sean Chittenden
98bae9c98e
Pause between boot_commands when debugging a QEMU build
...
When debugging a build (or maintaining an existing packer template), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer template.
2016-05-17 17:14:50 -04:00
Sean Chittenden
d0fd698fb5
Pause between boot_commands when debugging a Parallels build
...
When debugging a build (or maintaining an existing packer file), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer template.
2016-05-17 17:10:10 -04:00
Christopher Boumenot
5484b9c7d0
Do not use a communicator for unit tests. ( #3539 )
2016-05-17 13:53:01 -07:00
Sean Chittenden
3ca4782b56
Pause between boot_commands when debugging a Virtualbox build
...
When debugging a build (or maintaining an existing packer file), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer file.
2016-05-17 04:03:45 -04:00
Sean Chittenden
9b3f8a4be9
Pause between boot_commands when debugging a VMware build
...
When debugging a build (or maintaining an existing packer file), teach `packer build -debug` how to step through individual `boot_command`s in order to triage the packer file.
```
==> vmware-iso: Typing the boot command over VNC...
==> vmware-iso: Pausing after run of step 'boot_command[0]: <enter><wait>'. Press enter to continue.
==> vmware-iso: Pausing after run of step 'boot_command[1]: <enter><wait>'. Press enter to continue.
==> vmware-iso: Pausing after run of step 'boot_command[2]: freebsd-vagrant<enter><wait>'. Press enter to continue.
==> vmware-iso: Pausing after run of step 'boot_command[3]: <down><spacebar>'. Press enter to continue. ^C
```
2016-05-17 03:50:00 -04:00
Chris Bednarski
2f0e1218dc
Move regexp to package scope so it will be validated by the compiler instead of at runtime
2016-05-13 15:37:25 -07:00
Peter Schultz
a99a417db9
builder/googlecompute: validate image_family
2016-05-13 15:24:02 -07:00
Peter Schultz
8546aafec5
builder/googlecompute: support image family
2016-05-13 15:24:02 -07:00
Christopher Boumenot
d40e115ad7
Only cleanup if necessary. ( #3517 )
...
Do not delete the resource group as part of cleanup unless it exists.
2016-05-09 14:19:55 -07:00
Christopher Boumenot
a91156b134
Dump Azure configuration values.
...
Dump the top level variables in the config object. Any values with
'secret' or 'password' in the name are masked.
2016-05-06 23:14:18 -07:00
Chris Bednarski
5ed3c8d563
Updated license information to reference builder/azure
2016-05-06 20:32:18 -07:00
Christopher Boumenot
c7018a00c8
Add support for Windows to Azure.
...
This is last merge that will happen from the github.com/Azure/packer-Azure
repository. All development is being over to this repository.
The biggest change in this merge is support for Windows. There are a few other
fixes as well.
* If the user cancels the build, clean up any resources.
* Output a reasonable build artifact.
* Log requests and responses with Azure.
* Support for US Government and the China clouds.
* Support interrupting long running tasks.
* Allow the user to set the image version.
* Device login support.
2016-05-05 13:40:17 -07:00
Christopher Boumenot
2d1347c1ec
Insert Packer's version into the User Agent. ( #3465 )
2016-05-05 13:10:55 -07:00
Hao
5139b853fa
privilege enabled docker container ( #3475 )
...
Issue #2724
2016-04-29 19:12:20 -07:00
Billie H. Cleek
165ec694ab
fix docker builder with ansible provisioner
...
Refactor the docker builder so that it does not expect output from the
container to be strictly line oriented or even text, because SFTP, used by
Ansible, is a binary protocol. Since `docker exec` was introduced in 2014,
remove support for older versions of docker that required using `docker
attach`. The old notes in the docker builder referring to specific issues have
all been resolved or else closed because they could not be reproduced.
2016-04-27 13:54:40 -07:00
Christopher Boumenot
bbf286dcbe
Fix go fmt issues. ( #3463 )
2016-04-22 10:44:54 -07:00
Chris Bednarski
d7cfd5d01c
Remove explicit boolean comparison
2016-03-17 14:14:03 -07:00
kopernikus
84bd2ff754
option to keep the VM registered with esxi
2016-03-16 23:17:35 +01:00
Chris Chalfant
601b833aaa
style and documentation changes per PR review comments
2016-03-15 08:01:20 -04:00
Chris Bednarski
133048e86e
Update LICENSE notice
2016-03-14 20:08:36 -07:00
Chris Bednarski
17c365e45f
Added MIT license
2016-03-14 20:08:35 -07:00
Chris Bednarski
5b5888b230
Initial import of Microsoft contributed code
2016-03-14 20:08:35 -07:00
Chris Chalfant
8163e16e02
gofmt code
2016-03-14 13:49:42 -04:00
Chris Chalfant
72a7123a0b
Add option to tell packer not to stop the instance
...
It is sometimes desirable to sysprep a windows machine before creating
an EC2 image. The AWS-approved way to do this is to run
ec2configservice.exe -sysprep and let ec2configservice shut down the instance.
This change adds an option to disable the stop instance call issued by packer
so that the user can control when the machine is stopped.
2016-03-14 12:54:03 -04:00
Chris Bednarski
1b1bbb604e
Merge branch 'googlecompute-disk-type' of https://github.com/meatballhat/packer into f-google-disk-type
2016-03-10 14:51:30 -08:00
Vasiliy Tolstov
e5276b31a3
fix assign to driveArgs
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-03-01 21:15:51 +00:00
Chris Bednarski
fee00baf6a
Revert "close #3192"
...
This reverts commit 3b8f0023e5
.
2016-02-29 13:51:47 -08:00
Vasiliy Tolstov
3b8f0023e5
close #3192
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-26 14:05:43 +00:00
Rickard von Essen
46f74d8347
Parallels: Support relative paths in output_directory
...
Fixes #3238
2016-02-21 16:52:51 +01:00
Rickard von Essen
88a84f5fb2
Merge pull request #3209 from rickard-von-essen/openstack-get-password
...
Get admin password of booted instance when using WinRM
2016-02-20 10:29:38 +01:00
Chris Bednarski
d0ab8658bc
Create a session for EC2RoleProvider; prevents crash; fixes #3123
2016-02-19 17:10:05 -08:00
Nathan Mische
335a2010bf
Moving SSH IP version validation to prepare function.
2016-02-17 10:52:29 +01:00
Nathan Mische
8396a2db1e
Adding ability to select IP version for SSH connections to OpenStack instances. Addresses #3047
2016-02-17 10:28:18 +01:00
Rickard von Essen
32bbe55f2b
Merge pull request #3208 from rickard-von-essen/openstack-messages-ssh
...
OpenStack: Change some log messages about SSH to connect.
2016-02-16 11:17:03 +01:00
Rickard von Essen
5368697413
Get admin password of booted instance when using WinRM
...
Fixes #2663
2016-02-16 11:06:22 +01:00
Rickard von Essen
c3bc87cb71
OpenStack: Change some log messages about SSH to connect.
2016-02-16 10:55:21 +01:00
James Bishopp
bd8fb014c4
Removed ssh_key_path
...
- removed backwards compatibility code
- ensured key usage came from SSHPrivateKey configuration
- changed tests to use private_key
2016-02-12 17:24:42 -08:00
Vasiliy Tolstov
feee19e4ed
file provisioner improvements
...
* allow specify source/destination as dir
* allow specify many files as source
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-12 11:48:28 -08:00
Dan Sedlacek
279555b8e1
Added ability to see what SSH Port packer generated in template data
2016-02-12 11:39:08 -08:00
Chris Bednarski
4458de4ea0
Reformat
2016-02-11 23:53:40 -08:00
Chris Bednarski
765ec5cf39
Merge pull request #2962 from dave2/postprocess_amazon_ova
...
New post-processor: amazon-import
2016-02-11 23:38:15 -08:00
Ian Duffy
c4b64eb2c7
Closes #2637 - VRDP support for the virtualbox plugin
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-02-11 14:38:24 -08:00
Matt Morrison
daf57c7632
Add tests and documentation for subnetwork attribute
2016-02-11 21:54:48 +13:00
Matt Morrison
942aaa7a85
Add support for Google subnetworks. Closes #3062 . Fixes an issue with how packer populates instances metadata. Closes #3181
2016-02-11 17:31:46 +13:00
Andrew Starr-Bochicchio
6d31470757
Look up snapshot ID based by Droplet, not user.
2016-02-09 11:29:06 -05:00
Rickard von Essen
e1c470db80
Merge pull request #3135 from rickard-von-essen/issue-2526
...
OpenStack: convert SSH keys from BER to DER with OpenSSL, work around…
2016-02-09 13:10:04 +01:00
Rickard von Essen
6855c480ad
OpenStack: convert SSH keys from BER to DER with OpenSSL, work around for GH-2526.
...
Try to parse the temporary keypair received from OpenStack, if it fails
try to use OpenSSL to convert it from BER encoding to DER.
2016-02-09 12:50:00 +01:00
Vasiliy Tolstov
ec4e95493d
builder/digitalocean: add ability to specify api url
...
This is useful in case of using DigitalOcean compatibility api hosting.
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-02-06 14:15:32 +00:00
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
Anders Quist
077f9621f2
Merge branch 'master' of https://github.com/mitchellh/packer
2016-01-15 08:11:35 +01: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
Anders Quist
23246c01cf
Fix for non consequent if statement (failing ESXi iso builds).
2016-01-10 18:34:21 +01: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
Colin Hebert
e4930e7b57
Merge branch 'master' into subnet_az_discovery
2016-01-06 07:43:03 +01:00
Caius Howcroft
069c3c21b1
Added support for GCE external static IPs
2015-12-24 19:15:41 -06:00
Marc Abramowitz
4b9c4cc3e6
openstack: WaitForImage: treat 404 as retryable
...
Addresses comment at
https://github.com/mitchellh/packer/issues/1415#issuecomment-165739549
2015-12-18 10:37:31 -08:00
Marc Abramowitz
b08b88b019
openstack: Add maxNumErrors for WaitForImage
...
This partly addresses comment at
https://github.com/mitchellh/packer/issues/1415#issuecomment-165739549
2015-12-18 10:27:18 -08:00
Chris Bednarski
e009d3fb18
Merge pull request #3005 from msabramo/more_informative
...
Make the OpenStack builder more informative
2015-12-17 23:52:06 -05:00
Marc Abramowitz
39d6eda370
Make the OpenStack builder more informative
...
about the servers, images, and keypairs that it's dealing with.
2015-12-17 11:12:52 -08:00
Andrew Starr-Bochicchio
2212125f46
Return DigitalOcean image ID in output.
2015-12-15 12:00:04 -05:00
Chris Bednarski
00ea5ff7de
Merge pull request #2982 from minimum2scp/features/support-googlecompute-preemptible
...
Added support of preemptible instance in googlecompute builder
2015-12-14 14:34:09 -08:00
Dan Buch
81fed4556f
Merge remote-tracking branch 'upstream/master' into googlecompute-disk-type
2015-12-08 19:19:13 -05:00
Ian Duffy
b57140da47
Add support for using cloud-init via a ConfigDrive
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2015-12-08 12:45:26 +00:00
YAMADA Tsuyoshi
18d79cfb3d
added test
2015-12-05 15:48:07 +09:00
YAMADA Tsuyoshi
afd314959b
supported `preemptible` in googlecompute builder
2015-12-05 05:13:35 +09:00
David Zanetti
418da16991
Track the import task and report AMIs created from it
2015-11-23 15:55:09 +13:00
Yuya YAGUCHI
9c8405b2c6
Add AMI Product Codes modification for amazon-ebs & amazon-chroot
2015-11-19 18:28:04 +09:00
Viktor Benei
eda2c9c605
actually make it 20 mins
2015-11-14 14:14:33 +01:00
Viktor Benei
7e568644a5
increased DigitalOcean unlock wait timeouts
2015-11-14 12:11:44 +01:00
Andy Williams
d36b653d3f
Make DigitalOcean artifact ID match AWS format
...
The Vagrant post processor expects the DO artifact ID to look like an
AWS artifact ID (region_id:snapshot_id). This commit makes the DO
artifact Id() function output this format.
2015-11-08 14:38:56 -05:00
michael
499bd5a362
Add support for SSH Key Authentication with ESX builder
2015-11-03 19:08:35 -08:00
John T Skarbek
cf4a19a304
vmware-iso-builder: Corrects logic checking destroy
...
* I suspect the logic written for checking if the vm has been destroyed is incorrect. The test will come back from the esx server indicating that the vm is gone as it should, but the logic I believe is reversed so we never hit the break in the if statement
* Feedback is MORE than welcome
2015-11-03 14:49:53 -05:00
Mark Peek
7f149e595d
Refactor http server config into common
2015-11-01 14:45:47 -08:00
Mark Peek
31dd989e2e
Add qcow2 shrink/compress tests for #2748
2015-10-31 18:15:19 -07:00
Mark Peek
c2fd83e04c
Merge pull request #2748 from vtolstov/qcow2
...
add shrink step for qcow2 image format
2015-10-31 18:13:04 -07:00
Mark Peek
0c8a83e9e7
Merge pull request #2895 from higebu/fix-typo
...
Fix #2892 : vmware-iso builder fix mapstructure typo
2015-10-31 11:11:13 -07:00
Mark Peek
ca19688316
aws: fix test breakage due to upstream breaking change #2891
2015-10-31 11:04:50 -07:00
Yuya Kusakabe
07079a5905
Fix #2892
2015-10-31 19:32:40 +09:00
Luke Amdor
8682dec178
aws: build after upstream breaking change
...
see 1a69d06935
2015-10-30 13:58:56 -05:00
Vasiliy Tolstov
8e1cc16ab5
add convert step for qcow2 image format
...
https://ext4.wiki.kernel.org/index.php/Ext4_VM_Images does not
recommends to dd zero file and deletes it, but in case of enabling
discards and qcow2 image we can recreate qcow2 file with less used
space.
Also qemu-img able to enable compression for qcow2 files, that
sometimes may be useful because it natively supported by qemu.
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-10-29 12:27:46 +00:00
Mark Peek
eb15536041
Merge pull request #2774 from btd/btd-patch-1
...
Fix AMI creation - replace not allowed character , and add allowed .
2015-10-26 22:00:16 -07:00
Mark Peek
4e1e9b788a
Merge pull request #2845 from abridgett/feature/spot_price_zero
...
spot_price of "0" to mean on demand
2015-10-26 21:51:44 -07:00
Mark Peek
581ab9f4f5
Merge pull request #2849 from markpeek/iso-cleanup
...
Refactor builder ISO options
2015-10-26 21:43:59 -07:00
Mark Peek
c3d77dc5a1
Fix unintended BC issues in ISO option refactoring
2015-10-26 17:39:48 -07:00
Mark Peek
ba7814b0ed
Merge pull request #2846 from markpeek/packer-tmp
...
Create docker temp files under packer.d when TMPDIR is not set
2015-10-26 17:09:22 -07:00
Adrian Bridgett
3257b26fa7
one more place to check SpotPrice
2015-10-26 10:20:49 +00:00
Mark Peek
0d2fa223f2
builder/vmware-esxi: hide password in ovftool command
2015-10-23 16:51:03 -07:00
Mark Peek
9d0c443ca2
builder/vmware-esxi: Add format validation and step_export tests
2015-10-23 16:50:14 -07:00
Yuya Kusakabe
699c673536
builder/vmware-esxi: Add step_export
...
If `format` option is configured, packer exports the VM with ovftool.
website: Document about OVF Tool and `format` option.
post-processor/vsphere: Enable to use `mitchellh.vmware-esx` artifact type and OVF and OVA formats, fixes #1457 .
2015-10-23 09:00:53 +09:00
Mark Peek
cdcffecc2d
Refactor builder ISO options
...
The ISO builders (parallels, qemu, virtualbox, and vmware) had too
much common code which needed to be maintained separately. This change
moves that code to a common ISO configuration.
2015-10-20 16:27:47 -07:00
Brian Dwyer
a563944b58
Fix #2695 : Prevent duplicate ISO download for multi-builder builds
...
Add extension to VMware ISO builder to bring in sync with
Virtualbox ISO builder
2015-10-20 12:54:04 -07:00
Mark Peek
e9657e6a9f
Merge pull request #2642 from oliviertremblay/master
...
Make TargetPath customizable
2015-10-20 12:11:13 -07:00
Mark Peek
bc0f438db0
Use alternate temp directories for docker
...
The temporary directories will be created under the packer config
directory. Setting PACKER_TMP_DIR will override this path.
2015-10-20 11:34:14 -07:00
Denis Bardadym
25e2ff7b85
Fix not allowed comma, add all allowed special characters
2015-10-19 13:41:30 +03:00
Mark Peek
6f5c64db41
Merge branch 'use-default-volumesize'
2015-10-18 13:04:41 -07:00
Mark Peek
a9716a4dc7
Merge pull request #2797 from jen20/improve-aws-instance-builder-error
...
Add suggestion to AWS Instance builder error message
2015-10-18 12:14:03 -07:00
Rickard von Essen
40355c1d40
Merge pull request #2839 from rickard-von-essen/issue-2836
...
Fixes #2836 - Use "/Applications/Parallels Desktop.app" as fallback…
2015-10-18 20:48:18 +02:00
Mark Peek
fc39f07ecc
Add EbsOptimized to RequestSpotInstances ( #2806 )
2015-10-18 11:39:36 -07:00
Mark Peek
edda3de677
Merge pull request #2806 from abridgett/feature/add_ebs_optimized_support
...
Add ebs_optimized support
2015-10-18 11:31:50 -07:00
Mark Peek
c48548b3bb
go fmt
2015-10-18 11:13:09 -07:00
Mark Peek
f6c7e3740f
Don't create EBS block device if VirtualName is specified
2015-10-18 11:05:21 -07:00
Mark Peek
914e78f602
builder/amazon/common: go fmt
2015-10-18 11:00:05 -07:00
Mark Peek
581c3574f6
Merge pull request #2672 from lightpriest/b-aws-ebs-block-device
...
Fix and refactor block device mapping builder
2015-10-18 10:56:53 -07:00
Rickard von Essen
4015c1789b
Fixes #2836 - Use "/Applications/Parallels Desktop.app" as fallback app path.
2015-10-16 19:57:39 +02:00
Seth Vargo
e863dbe100
Revert "Merge pull request #2807 from markpeek/markpeek-docker-tmpdir"
...
This reverts commit 31d3678814
, reversing
changes made to a3a7c974d0
.
2015-10-15 14:31:13 -04:00
Rickard von Essen
141dcd5c03
Fixes #2828 : parallels prlctl_post don't interpolate values.
2015-10-15 09:28:29 +02:00
Dan Buch
cac93d311c
builder/googlecompute: accept disk type, default pd-standard
2015-10-13 20:18:26 -04:00
Chris Bednarski
f01956405b
Merge pull request #2654 from mitchellh/b-xmlpath
...
Update dependency to an SSL-enabled path; this was migrated from launchpad to github
2015-10-12 16:39:35 -07:00
Eric Johnson
96d522fb64
Merge pull request #2811 from sparkprime/verbatim_account
...
account_file can be verbatim JSON string
2015-10-12 15:57:52 -07:00
Chris Bednarski
ff6d448886
Merge pull request #2814 from mitchellh/b-2793-repro
...
Add a test case to validate download file size when downloading from docker
2015-10-12 13:38:52 -07:00
Mark Peek
e5a713ff01
Alternative fix for #2641 : make random script name actually random
2015-10-11 13:31:09 -07:00
Mark Peek
45829c30e5
builder/amazon/*: fix go vet
2015-10-11 12:18:23 -07:00
Chris Bednarski
5eddaa77bf
Corrected sprintf formatting in error messages
2015-10-08 17:43:54 -07:00
Chris Bednarski
cc153aa71f
Added a test to verify byte size for larger files downloaded from docker
2015-10-08 17:15:27 -07:00
Chris Bednarski
8ff5c07d0c
Add a new packer template for testing large file downloads
2015-10-08 16:37:14 -07:00
Dave Cunningham
1fea962a3a
account_file can be verbatim JSON string
2015-10-08 02:40:18 -04:00
Mark Peek
31d3678814
Merge pull request #2807 from markpeek/markpeek-docker-tmpdir
...
Workaround docker-machine shared folder mapping issue
2015-10-07 14:14:02 -07:00
Mark Peek
77bfd1de2e
Workaround docker-machine shared folder mapping issue
...
When using docker-machine on a Mac only the /Users folder is shared with
the VM. Uploads fail since the normal tmpdir is not shared. This change
uses the local packer directory (usually when run in the users home
folders) allowing it to work without setting TMPDIR explicitly. A better
fix would be to use the docker API directly but that would force users
to use docker API version 20+.
- fixes #901 , fixes #1752 , fixes #2436 , fixes #2675 , fixes #2697 .
2015-10-07 13:29:53 -07:00
Mark Peek
a3a7c974d0
Merge pull request #2422 from vtolstov/qemu
...
fix qemu driver and builder
2015-10-06 21:30:38 -07:00
Adrian Bridgett
da771c469e
spot_price of "0" to mean on demand
...
this helps avoid duplicating packer templates just to select
spot instances or not
2015-10-06 22:13:17 +01:00
Adrian Bridgett
8349e22df9
Add ebs_optimized support
2015-10-06 21:36:21 +01:00
James Nugent
b60e1fd862
Add suggestion to AWS Instance builder error message
...
A common cause of the failure of the bundle volume step is missing the
ec2-bundle-vol command on the target instance. This commit adds a note
about this to the error message produced as Packer output if the
bundling step fails (it is already in the documentation).
2015-10-02 17:06:33 -04:00
Orivej Desh
46d687d5ad
Make ssh_host_port_max an inclusive bound to agree with documentation
2015-09-29 03:09:38 +00:00
Rickard von Essen
9cf99289c5
Fixed GCE builder after dependency change.
...
See
4af91da601
2015-09-20 10:14:07 +02:00
Israel Shirk
c81a486f34
Rearranges vmware builders to put compaction before VMX finalization to avoid stomping VMX changes
2015-09-18 07:51:46 -06:00
Rickard von Essen
e4dc543cae
Fixes #2743 : Change log messages for step_forward_ssh
...
Changed the log messages and changed the m name of the
VirtualBox builder NAT rule name from packerssh to
packercomm.
2015-09-17 13:43:08 +02:00
Rickard von Essen
3f14b9d984
Merge pull request #2731 from legal90/prl-compact-disk
...
Parallels: Add "CompactDisk" build step
2015-09-16 14:03:31 +02:00
Rickard von Essen
b528811540
Merge pull request #2662 from rickard-von-essen/prl_pd11
...
Parallels Desktop 11: verify correct edition and enable headless mode
2015-09-16 13:34:05 +02:00
Vasiliy Tolstov
48f8612b72
add virtio-scsi
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-09-15 10:59:29 +00:00
James Nugent
632d38a1c5
Tag EBS volumes with volume_tags in EBS builder
...
This change allows specification of a new "volume_tags" array in the
amazon-ebs builder in order to allow tagging of volumes used on the
source instance. It is implemented as a new step which is skipped if
there are no tags specified.
2015-09-11 16:39:34 -04:00
Mikhail Zholobov
abfe706fc6
builder/parallels: Add "StepCompactDisk"
2015-09-11 11:38:20 +03:00
Mikhail Zholobov
f7b26e44fe
builder/parallels: Add "CompactDisk" driver function
...
This function compacts the specified virtual disk image.
2015-09-11 11:37:52 +03:00
Vasiliy Tolstov
3fae902bc3
enable discards only on qemu >= 2
...
older qemu versions does not have discard option, so not enable it
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2015-09-08 10:40:23 +00:00
Mikhail Zholobov
4ebee7bf3f
builder/parallels: Add "DiskPath" driver function
...
This function determines path to the first virtual disk image of the specified virtual machine.
2015-09-05 13:08:24 +03:00
Or Cohen
2a94b596ce
Fix and refactor block device mapping builder
...
Fix NoDevice not properly configured #2398 .
Refactor the mapping builder to match BlockDeviceMapping from AWS SDK:
* If NoDevice is specified, include NoDevice only.
* If VirtualName starts with ephemeral, don't create Ebs (they are mutually
exclusive anyway)
* Otherwise, assume Ebs and create it with the exact specified attributes by
the user.
Change/add tests to reflect these changes.
2015-08-25 00:24:05 +03:00
Rickard von Essen
83980d2326
Enable headless mode by default on Parallels Desktop 11
2015-08-24 15:09:29 +02:00
Rickard von Essen
7d3afc882a
Add check for Parallels Desktop edition in PD 11.
...
Starting since Parallels Desktop 11, the command line functionality is
available only in Pro and Business editions.
2015-08-22 13:15:59 +02:00
Chris Bednarski
0a79546cf9
Update dependency to an SSL-enabled path; this was migrated from launchpad to github
2015-08-21 17:17:56 -07:00
Chris Bednarski
bf733b75d5
Revert "By default, Qemu will now have an extension added based on the file format. This is a change to more closely match behavior from 0.7.5."
...
This reverts commit 55fadd96bc
.
2015-08-21 16:46:29 -07:00
Chris Bednarski
c8d1c650f0
Revert "Updated test for qemu VMName. Previously (0.7.5) a file extension was automatically added to the VMname but this logic is not exposed for testing."
...
This reverts commit d13647ee0f
.
2015-08-21 16:45:47 -07:00
Chris Bednarski
1830c81eab
Correct and expand docker config tests for commit, discard, export_path
2015-08-20 14:15:52 -07:00
Chris Bednarski
d13647ee0f
Updated test for qemu VMName. Previously (0.7.5) a file extension was automatically added to the VMname but this logic is not exposed for testing.
2015-08-20 14:03:16 -07:00
Olivier Tremblay
6644f57160
Merge branch 'master' into custom-targetpath
2015-08-20 08:20:55 -04:00
Olivier Tremblay
f301a6454d
Added documentation, renamed config param to iso_target_path
2015-08-20 07:37:24 -04:00
Olivier Tremblay
661552dfd5
Merge branch 'master' into custom-targetpath
2015-08-20 07:26:22 -04:00
Chris Bednarski
8f7f82334a
Merge pull request #2628 from mitchellh/b-docker-export-validation
...
Improve artifact validation for docker builder
2015-08-19 13:12:34 -07:00
Chris Bednarski
5503b7f496
Don't export errors
2015-08-19 13:12:16 -07:00
Chris Bednarski
55fadd96bc
By default, Qemu will now have an extension added based on the file format. This is a change to more closely match behavior from 0.7.5.
2015-08-18 17:44:17 -07:00
Chris Bednarski
746b9a8391
Formatting tweaks
2015-08-18 16:55:29 -07:00
Chris Bednarski
1b1bd19c20
Reformat code so we can grep for this more easily
2015-08-18 16:47:12 -07:00
Chris Bednarski
750a9c61de
Added discard option for docker builder, also reorganized some error messages
2015-08-18 14:38:32 -07:00
Chris Bednarski
32978a5109
Add an explicit error message when there is no output file specified
2015-08-18 13:48:18 -07:00
Chris Bednarski
1a775c05d9
Update calls to amazon to match the upstream
...
- see http://aws.amazon.com/releasenotes/2948141298714307
- run awsmigrate-renamer on each amazon module (chroot, instance, etc.)
2015-08-17 17:44:01 -07:00
Ian Glover
1447af5e42
Populate access and secret key for bundle_upload_command.
2015-08-13 14:58:15 +01:00
Chris Bednarski
d0f6ab4331
Merge pull request #2585 from mitchellh/f-dockerdownload
...
Implement docker download
2015-08-12 12:24:23 -07:00
Chris Bednarski
5ad4b0e97e
Added tests and handle the tar format from docker cp -
2015-08-12 12:16:26 -07:00
Chris Bednarski
8cdd078952
Changed fixtures so we can do a directory test too
2015-08-12 11:48:47 -07:00
Chris Bednarski
62c5e8358d
Added a test for docker upload and download
2015-08-12 11:36:56 -07:00
Chris Bednarski
de9ecd2d62
Add a test fixture file
2015-08-12 11:36:33 -07:00
Chris Bednarski
3523ffdce1
Farewell extra line. You were pretty but out of place.
2015-08-12 11:36:10 -07:00
Rickard von Essen
b6098baac2
Merge pull request #2587 from rickard-von-essen/issue-2543
...
Fix interpolation of {{.Flavor}} in parallels_tools_guest_path. (2)
2015-08-12 10:29:42 +02:00
Rickard von Essen
da82ff3fd6
Fix interpolation of {{.Flavor}} in parallels_tools_guest_path. (2)
...
Actually fix the error...
Fixes [GH-2543]
2015-08-12 10:28:06 +02:00
Chris Bednarski
047382eec9
Style tweak
2015-08-11 22:30:19 -07:00
Chris Bednarski
dc3c55cf8e
Implemented downloader for the docker communicator so we can pull files out of a container
2015-08-11 22:22:52 -07:00
Rickard von Essen
5e610df4b3
Merge pull request #2583 from rickard-von-essen/issue-2543
...
Fix interpolation of {{.Flavor}} in parallels_tools_guest_path.
2015-08-12 01:44:19 +02:00
Rickard von Essen
5a6bcdeb78
Fix interpolation of {{.Flavor}} in parallels_tools_guest_path.
...
Fixes [GH-2543]
2015-08-12 01:34:08 +02:00
Chris Bednarski
313fcaf0ff
Revert backwards-compatibility break in VMX option casing
...
PR #2309 introduced case-sensitive options in VMX files. This is to support a case-sensitive option called `virtualSSD`. The change made all options case-sensitive, which causes problems with external VMX options provided in user templates. To prevent breakage, this change is being reverted.
- Fixes #2574
- Reverts #2542
- Reverts #2309
2015-08-10 14:52:34 -07:00
Chris Bednarski
4cc443da8e
Update use of ec2rolecreds to match upstream
2015-08-10 13:59:56 -07:00
Toni Ylenius
cbb2b538bd
Support source_image_name in OpenStack builder
...
As gophercloud supports source_image_name let's allow that in builder
configuration also. This an alternative way of providing source_image.
2015-08-10 16:37:22 +03:00
Chris Bednarski
abb67fdd79
Fix govet issues
2015-08-05 19:41:29 -07:00
Chris Bednarski
cabbe007dd
Merge pull request #2415 from DrewDahl/fix-qemu-vnc-missed-keys
...
Add 1/10th second delay between key events to VNC for QEMU
2015-08-03 15:57:52 -07:00
Chris Bednarski
5b8e4dc5b4
Merge pull request #2534 from mitchellh/b-2515
...
Update code.google.com/gosshold/ssh to point to golang.org/x/crypto/ssh, since this has been moved into core now
2015-08-01 17:16:26 -07:00
Chris Bednarski
f7a0945311
Merge pull request #2538 from fnoeding/amazon-ebs-only-get-password-for-winrm
...
amazon builder: only fetch password for winrm
2015-08-01 16:20:48 -07:00
Chris Bednarski
263641c537
Fix case for ethernet.generatedAddress property lookup in VMX
2015-08-01 15:09:59 -07:00
Florian Noeding
62c39888b4
amazon builder: always base64 encode ec2 user data
2015-07-31 16:34:33 +02:00
Florian Noeding
98b9d22b68
amazon builder: only fetch password for winrm
2015-07-31 15:34:25 +02:00
Chris Bednarski
32b714e085
Update code.google.com/gosshold/ssh to point to golang.org/x/crypto/ssh, since this has been moved into core now
...
Fixes #2515
2015-07-30 19:19:59 -07:00
Chris Bednarski
28d1295460
Merge branch 'openstack_metadata' of https://github.com/trumant/packer into trumant-openstack_metadata
2015-07-30 14:38:03 -07:00
Chris Bednarski
5cd6e19467
Merge pull request #2451 from monsterzz/b-openstack-ipv6-ssh-support
...
Fix handling IPv6 when ssh_interface set (openstack builder)
2015-07-30 14:36:17 -07:00
Chris Bednarski
f8cfd0a1cb
Merge pull request #2309 from marc-ta/casesensitivevmxkeys
...
Updated how vmx entries are handled
2015-07-30 14:31:54 -07:00
Bob Kuo
585638d063
Do not require exclusive VNC access while buildling
...
An additional client can be connected during build time for inspection.
We can manually connect and set our VNC clients to ignore all input or
we can connect with vnc2flv to record the build session for later
verification.
2015-07-29 10:00:09 -05:00
Chris Bednarski
a9c299d9c4
Merge pull request #2404 from mitchellh/b-instance-destroy
...
amazon/common: store instance ID earlier for cleanup
2015-07-28 18:24:37 -07:00
Chris Bednarski
28bf1877c2
Updated AWS SDK calls to match the 0.7.0 release of the AWS SDK
2015-07-28 17:10:21 -07:00
Olivier Tremblay
223e35fc65
Makes StepDownload's TargetPath customizable.
...
I exposed TargetPath as a config file option "target_path". I don't like
the name, but it follows the naming convention. The purpose of TargetPath
stands unmodified, and it enables a fair amount of customization.
2015-07-28 07:45:02 -04:00
Chris Bednarski
c73314cd38
Merge pull request #2514 from hazelesque/rackconnect-v2-update-accessipv4
...
openstack: store updated accessIPv4 from RackConnect
2015-07-27 16:43:17 -07:00
Chris Bednarski
715662f60b
Reformat
2015-07-27 16:42:06 -07:00
Chris Bednarski
ff6a091531
Merge pull request #2512 from hazelesque/openstack-support-using-existing-keypair
...
openstack builder: support using existing keypair
2015-07-27 16:41:17 -07:00
Hazel Smith
a7da0ffde1
openstack: store updated accessIPv4 from RackConnect
2015-07-27 23:07:25 +01:00
Hazel Smith
b47eb4cea9
openstack builder: support using existing keypair
2015-07-27 23:05:51 +01:00
Hazel Smith
ce54dba2d3
openstack builder: log which IP address SSH will use
2015-07-27 23:00:06 +01:00
Yo Takezawa
628462b919
Use snapshot size if you don't specify a VolumeSize
2015-07-21 14:07:30 +09:00
Chris Bednarski
f3f3d1fe73
Formatting
2015-07-16 19:34:36 -07:00
georgevicbell
bf0c326cd5
Update step_connect_docker.go
2015-07-16 22:07:39 -04:00
georgevicbell
b2811a8252
Update communicator.go
2015-07-16 21:51:13 -04:00
georgevicbell
d00271aab3
Fix Capitilzation
2015-07-16 21:50:24 -04:00
georgevicbell
4da4150abe
Update communicator.go
2015-07-16 21:37:08 -04:00
georgevicbell
3a681d0c0c
Add Pty Bool
2015-07-16 21:22:11 -04:00
georgevicbell
fb39fa2cc6
Update step_connect_docker.go
2015-07-16 21:13:04 -04:00
georgevicbell
e3ab74e09f
Add Config struct for docker PTY
2015-07-16 21:06:03 -04:00
Travis Truman
988cf2fecf
Fixes #2434 by adding OpenStack Glance metadata support
2015-07-15 21:31:13 -04:00
Tommy Ulfsparre
241903d0b0
no point in setting iops on a standard volumes
2015-07-15 17:18:03 -07:00
Chris Bednarski
c615539929
Reformat long lines
2015-07-15 17:17:59 -07:00
Chris Bednarski
9365a43179
Reformat
2015-07-15 17:07:36 -07:00
Tommy Ulfsparre
ae064207d5
Add test for ephemeral block device mapping
2015-07-15 17:05:32 -07:00
Anthony Spring
224bb78175
Make EBS block device mapping optional for ephemeral virtual names.
2015-07-15 17:04:45 -07:00
Chris Bednarski
618d2f3158
Merge pull request #2438 from lvillani/portcount-vbox-5.0
...
Use --portcount on VirtualBox 5.x
2015-07-15 13:01:22 -07:00
Gleb M Borisov
8495a8c919
Fix handling IPv6 when ssh_interface set (openstack builder)
2015-07-15 02:11:46 +03:00
Chris Bednarski
d2339b7ccc
Merge pull request #2408 from mitchellh/b-google-image-name
...
Fix interpolation in google compute image name
2015-07-13 14:18:55 -07:00
Lorenzo Villani
7e64e90670
Use --portcount on VirtualBox 5.x
2015-07-13 20:32:45 +02:00
Andrew Dahl
1f6137e636
Add 1/10th second delay between key events to VNC for QEMU
2015-07-08 16:55:25 -05:00
Chris Bednarski
1c71eaaa91
Change panic to multierror
2015-07-07 17:12:21 -06:00
Chris Bednarski
775450f46a
Merge branch 'fix_gce_image_name' of https://github.com/samitpal/packer into b-google-image-name
2015-07-07 16:19:55 -06:00
Chris Bednarski
bd6c31c2d9
Added TestImageName and moved private methods to the bottom of the file
2015-07-07 16:18:31 -06:00
Sunil K Chopra
750e09d51d
should be ssh_host, not host
2015-07-07 17:04:27 -05:00
Mitchell Hashimoto
26aa3dd575
amazon/common: store instance ID earlier for cleanup
2015-07-07 11:07:38 -06:00
Samit Pal
6d6b3e1ac2
The default image name in the code has a bug. It is being set to packer-{{timestamp}}, the {{timestamp}} part needs to be interpolated. Without the interpolation the GCE builder fails with
...
the following error
==> googlecompute: Creating image...
==> googlecompute: Error waiting for image: googleapi: Error 400: Invalid value for field 'resource.name': 'packer-{{timestamp}}'. Must be a match of regex '(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?)', invalid
2015-07-07 05:27:58 +00:00
Steven Merrill
0869c9fe64
Fix #2830 .
2015-07-02 10:23:44 -04:00
Marc Siegfriedt
e9ef2b987e
fixed the test as well
2015-07-01 15:11:40 -07:00
Marc Siegfriedt
df1be999dc
Fixed case sensitive issue with VMX entries not being overwritten
2015-07-01 15:11:40 -07:00
Marc Siegfriedt
1d7d490c01
updated how vmx entries are handled
2015-07-01 15:11:40 -07:00
Chris Bednarski
caa518b294
Merge pull request #2358 from mitchellh/b-do-private-network
...
Detect the first public IPv4 address for Digital Ocean
2015-06-29 15:13:31 -07:00
Chris Bednarski
51804e9132
Find a public IP address to provision a digital ocean box
2015-06-29 14:47:28 -07:00
Mitchell Hashimoto
2ee2850c1a
Merge pull request #2353 from mitchellh/b-gce-comm-default
...
builder/googlecompute: default SSH settings properly [GH-2340]
2015-06-29 14:03:46 -07:00
Mitchell Hashimoto
6dd36075b2
Merge pull request #2352 from mitchellh/b-amazon-bundle
...
builder/amazon/instance: set valid bundle prefix [GH-2328]
2015-06-29 13:59:45 -07:00
Mitchell Hashimoto
6c7a7b6068
builder/googlecompute: default SSH settings properly [GH-2340]
2015-06-29 09:56:33 -07:00
Mitchell Hashimoto
98db68e36c
builder/amazon/instance: set valid bundle prefix [GH-2328]
2015-06-29 09:49:11 -07:00
Mitchell Hashimoto
b315e470c8
builder/amazon: set debug flag for get password
2015-06-29 09:40:58 -07:00
Mitchell Hashimoto
0a2e54feaf
builder/amazon: output WinRM password for debug mode [GH-2336]
2015-06-29 09:40:15 -07:00
Mitchell Hashimoto
4a60e469e9
update CHANGELOG
2015-06-29 09:33:20 -07:00
Mitchell Hashimoto
677498a55c
Merge pull request #2323 from israelshirk/feature/vmware-nonesum
...
builder/vmware: Run stat on vmware when checksum type = none
2015-06-29 09:32:08 -07:00
Mitchell Hashimoto
95dd79740f
Merge pull request #2324 from tcahill/group-launch-permissions
...
Fix setting ami_groups
2015-06-29 09:30:51 -07:00
Mitchell Hashimoto
7b64723a11
Merge pull request #2327 from emate/fix-for-spot-requests-cleanup
...
Fixes spot instance cleanup.
2015-06-29 09:24:01 -07:00
Mitchell Hashimoto
aab5ca7059
update CHANGELOG
2015-06-29 09:22:33 -07:00
Marcin Matlaszek
3eaf7f38b0
Fix adding launch permissions for created ami.
2015-06-29 15:39:27 +02:00
Tom Cahill
6644d76982
Use aws.String to obtain string pointers
2015-06-26 12:08:44 -07:00
Tom Cahill
016d916d83
Fix adding groups to AMI launch permissions.
...
Previously, groups were granted launch permissions by submitting a
ModifyImageAttribute request with the UserGroups parameter set
appropriately. This is no longer valid, as the LaunchPermission
parameter must be set.
2015-06-26 10:52:27 -07:00
Clint Shryock
4d003aa5a3
builder/amazon-instance: Don't specify empty Virtualization Type
2015-06-26 10:43:13 -05:00
Marcin Matlaszek
586cab11ee
Fixes spot instance cleanup.
2015-06-26 15:29:46 +02:00
Israel Shirk
88fac0b49c
Have nonesum run stat rather than nonesum because nonesum sums none. k.
2015-06-25 19:03:00 -06:00
Tommy Ulfsparre
8ae0cfc759
copy and convert to pointer
2015-06-25 20:07:45 +02:00
Clint
7b9d48799e
Merge pull request #2316 from jjappi/fix-aws-tagging
...
Fix failing AMI snapshot tagging when copying to other regions.
2015-06-25 10:17:34 -05:00
Marcin Matlaszek
dd97a60c9b
Fix for tag creation when creating new ec2 instance.
2015-06-25 17:02:38 +02:00
Jani Jappinen
c537623bc6
Fix failing AMI snapshot tagging when copying to other regions.
2015-06-25 17:25:28 +03:00
Clint Shryock
7af5d5419a
builder/amazon: Fix issue with sharing AMIs with ami_users
2015-06-24 11:41:58 -05:00
Clint
5b67472d07
Merge pull request #2296 from mitchellh/f-amazon-chroot-mount-options
...
builder/amazon-chroot: add mount_options configuration option
2015-06-23 11:55:56 -05:00
Clint Shryock
3a54e6899d
code cleanup
2015-06-23 11:34:42 -05:00
Mitchell Hashimoto
3fac725a55
Merge pull request #2291 from mitchellh/b-qemu-default
...
builder/qemu: default acceleration to tcg on Windows [GH-2284]
2015-06-23 09:34:07 -07:00
Clint Shryock
29cef0eae4
builder/amazon-chroot: add mount_options configuration option
2015-06-23 11:26:13 -05:00
Clint
3884555007
Merge pull request #2289 from mitchellh/b-amazon-chroot-fixes
...
builder/amazon-chroot: various fixing and debugging of chroot builder
2015-06-23 10:53:02 -05:00
Clint Shryock
5d2ea088a2
builder/amazon-chroot: add root_volume_size to resize chroot root volume
2015-06-23 10:35:59 -05:00
Clint Shryock
8a9a59c3ca
check if newDevice.EBS is nil
2015-06-23 09:11:29 -05:00
Clint Shryock
9f8b0041f0
builder/amazon-chroot: use source image virtualization type, unless specified
2015-06-22 22:08:31 -05:00
Clint Shryock
f374edc2b8
builder/amazon-chroot: Fixes for amazon-chroot builder
...
These are needed for chroot builder to work
2015-06-22 21:34:38 -05:00
Mitchell Hashimoto
5852bd7cd7
builder/qemu: default acceleration to tcg on Windows [GH-2284]
2015-06-22 17:56:35 -07:00
Mitchell Hashimoto
9bc0dfa389
builder/vmware: disable VNC before packaging
2015-06-22 14:50:25 -07:00
Mitchell Hashimoto
1aa1399e85
builder/parallels: fix compilation issuse
2015-06-22 12:46:13 -07:00
Mitchell Hashimoto
13c2c4660d
Merge branch 'issue_2080' of https://github.com/rickard-von-essen/packer into rickard-von-essen-issue_2080
2015-06-22 12:39:30 -07:00
Mitchell Hashimoto
5db4d7c01f
fmt
2015-06-22 12:37:52 -07:00
Mitchell Hashimoto
944b4bf46c
common: delete file if checksum fails
2015-06-22 12:17:29 -07:00
Clint
6579219013
Merge pull request #2282 from mitchellh/f-amazon-cleanup-volumes
...
builder/amazon-ebs: Clean up orphan volumes
2015-06-22 12:56:26 -05:00
Mitchell Hashimoto
93bb0d86af
builder/virtualbox: fix default names
2015-06-22 09:25:15 -07:00
Mitchell Hashimoto
84189f7a28
builder/*: properly save interpolation context
2015-06-22 09:22:42 -07:00
Mitchell Hashimoto
d600456487
builder/virtualbox: fix interpolation weirdness
2015-06-22 09:17:09 -07:00
Mitchell Hashimoto
54e081d5af
builder/virtualbox: only remove output dir after check
2015-06-22 09:09:12 -07:00
Clint Shryock
dff6cf1a83
code tweak after review
2015-06-22 10:48:54 -05:00
Mitchell Hashimoto
9c6d0dfc8b
builder/virtualbox: fix type casting
...
/cc @pearkes - This fixes that crash
2015-06-21 19:56:55 -07:00
Clint Shryock
c9714ce69e
builder/amazon-ebs: Clean up orphan volumes
...
Fixes #1783
2015-06-19 10:22:39 -05:00
Mitchell Hashimoto
9c0f37b2c9
builder/amazon: fix weird edge cases with key names [GH-2281]
2015-06-19 06:21:20 +02:00
Mitchell Hashimoto
5c290fdbc7
builder/amazon use proper key pair name
2015-06-19 06:15:16 +02:00
Chris Bednarski
1edbbd80bf
Merge pull request #2205 from mitchellh/f-vtolstov-compress
...
Added new compress post-processor from Vasiliy Tolstov
2015-06-18 19:09:44 -07:00
Chris Bednarski
f06847ff10
Merge branch 'master' into f-vtolstov-compress
2015-06-18 05:19:30 -07:00