Commit Graph
18838 Commits
Author SHA1 Message Date
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
Chris S 195405ca5b Update post-processor.go
Added support for spaces for vm folders, datastore names etc. in the ovftool command line arguments.
2016-01-25 17:00:30 +00:00
Vasiliy Tolstov d96283e475 qemu: allow to use live iso without cache
Signed-off-by: Vasiliy Tolstov <[email protected]>
2016-01-25 10:44:42 +00:00
Seth Vargo cd4a70f846 Add structured data 2016-01-24 13:11:58 -05:00
Seth Vargo 631036caea Remove breadcrumbs (causes crash and wasn't being used) 2016-01-24 13:11:51 -05:00
Chris Bednarski a0b30dcf59 Merge pull request #3100 from msabramo/docs_user_variable_example_conditional_provisioner
docs: Add example of conditional provisioner
2016-01-23 21:43:48 -08:00
Chris Bednarski 9ec9adb3ff Merge pull request #3099 from tylert/frob-shell-doc-markup
Use monospaced-font for remote_path and start_retry_timeout string de…
2016-01-22 11:07:23 -08:00
Marc Abramowitz dec48aa9c1 Add example of conditional provisioner
to user-variable docs
2016-01-22 10:38:25 -08:00
Tyler Tidman 520e0fb7f5 Use monospaced-font for remote_path and start_retry_timeout string defaults 2016-01-22 12:46:00 -05: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 9dc4c0a7d1 Merge pull request #2761 from stagrlee/master
More documentation for ssh_keypair_name,  ssh_private_key_file
2016-01-21 13:27:36 -08:00
Chris Bednarski 6587926a2b Merge pull request #2848 from epowell/master
Implement a null-object communicator for 'none'
2016-01-21 12:44:36 -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 1f8ebab4de There's no Warn, only Say 2016-01-20 15:30:16 -08:00
Chris Bednarski 1b1d0f12e9 Merge pull request #3084 from tylert/vagrant-install-go-binary
Install go binary and make sure it's in the path for vagrant
2016-01-20 09:13:57 -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
Chris Bednarski 812f5c4acb Merge pull request #3093 from brentrojas/patch-1
Update push.html.markdown
2016-01-20 09:09:55 -08:00
Brent Rojas 88c40c5d41 Update push.html.markdown
Remove unneeded word.
2016-01-19 21:54:32 -08:00
Chris Bednarski 7396bb2090 Merge pull request #3091 from ryanuber/f-googlecompute-imagename
builder/googlecompute: fix image name defaults
2016-01-19 11:23:03 -08:00
Ryan Uber 7732cf45a0 builder/googlecompute: fix image name defaults 2016-01-19 11:12:19 -08:00
Tyler Tidman 1356885894 Add another dependency back; Try to make installing go more idempotent 2016-01-17 12:40:12 -05:00
Tyler Tidman 24cf4a485e Make appveyor happy and try to repeat less in the vagrant inline script 2016-01-16 20:04:42 -05:00
Tyler Tidman 7f1f91d2a3 Install go binary and make sure it's in the path for vagrant 2016-01-16 19:42:28 -05:00
Anders Quist c64378e8fc Merge branch 'master' of https://github.com/mitchellh/packer 2016-01-16 07:22:25 +01:00
Chris Bednarski 76c49f6ed0 Remove errant trailing slash from blog URL 2016-01-15 13:41:29 -08:00