Commit Graph

3461 Commits

Author SHA1 Message Date
Mitchell Hashimoto 373cefa93c Merge pull request #1585 from Tpbrown/ansible-color-and-unbuffered
provisioner/ansible: Colorize Ansible output, and don't buffer output.
2014-10-14 15:36:27 -07:00
Mitchell Hashimoto 345eb66566 Update CHANGELOG 2014-10-14 15:35:58 -07:00
Mitchell Hashimoto be268a04fd Merge pull request #1587 from joshfng/master
provisioner/shell: single quote env var values.
2014-10-14 15:35:11 -07:00
Josh Frye 5835ca42b4 Move quoting to else block only for valid vars. Add test case. 2014-10-14 14:20:36 -07:00
Josh Frye a667282e00 Single quote env var values. 2014-10-14 13:03:14 -07:00
Tim Brown baa8697f5d Colorize Ansible output, and don't buffer output.
Setting environment variables for the ansible-playbook invocation.

ANSIBLE_FORCE_COLOR will ensure output is colorized.  PYTHONUNBUFFERED will stream output as Ansible runs, vs getting a big dump of output at the end.
2014-10-13 15:31:11 -07:00
Seth Vargo 2fd3f64ab0 Merge pull request #1573 from rozha/master
fix a minor typo in platforms.html
2014-10-11 07:21:35 -07:00
Ilya Novikov d69d9f1536 fix a minor typo in platforms.html 2014-10-11 16:49:10 +05:30
Eric Johnson 7fe6cab83a Merge pull request #1563 from mpage/fix-gce-metadata
fix: Respect metadata supplied for GCE builders.
2014-10-10 19:03:09 -07:00
Seth Vargo ff514004a8 Merge pull request #1537 from nifr/patch-1
Fixed dead links in doc section environment-variables.
2014-10-10 06:34:45 -07:00
Mitchell Hashimoto 22b186ce15 Merge pull request #1564 from mitchellh/sethvargo/middleman-hashicorp
Use middleman-hashicorp
2014-10-08 22:22:23 -07:00
Seth Vargo d62843144e Tell Rack to cache /assets 2014-10-06 20:37:07 -04:00
Seth Vargo 37eb3043f5 Upgrade to middleman-hashicorp 2014-10-06 20:35:19 -04:00
Seth Vargo cd23c39064 Move assets to assets/ 2014-10-06 20:34:44 -04:00
Matt Page 0fe61fa1e0 fix: Respect metadata supplied for GCE builders.
Previously, any per instance metadata supplied via the GCE builder
was ignored.

Test plan:

- make test
- Manual testing via:
-- Created a packer config that contained a GCE builder with custom
   metadata set.
-- Ran `packer build`.
-- Verified the instance had the correct metadata in the GCE console.
2014-10-06 14:18:34 -07:00
Rickard von Essen 2aa5a1988b Updated CHANGELOG 2014-10-04 23:16:38 +02:00
Rickard von Essen d75d44ad9e Merge pull request #1548 from legal90/create_disk
builder/parallels: Create VM without hdd and then add it later
2014-10-04 23:06:15 +02:00
Rickard von Essen fc08874c66 Merge pull request #1502 from JessThrysoee/remove_step_remove_devices
builder/parallels: Rely on Cleanup functions to detach devices
2014-10-04 22:41:20 +02:00
Mikhail Zholobov eb37742ab0 builder/parallels: Disable default cdrom0 device and then enable it on cleanup
This is needed to make 'cdrom0' device unavailable during the ISO installation process.
It is required for some guest OS types, such as FreeBSD and OmniOS.
2014-10-04 22:39:54 +02:00
Mikhail Zholobov 13251ced49 builder/parallels: Added setting the boot order
CD/DVD drive with installation ISO should be exactly the 2nd device in the VM boot order.
This ensures that VM will boot from this ISO at the first boot time only.
2014-10-04 22:39:54 +02:00
Mikhail Zholobov 280c3c52de builder/parallels: Attach ISO images to the separate cdrom device
For each ISO image the individual cdrom device will be added to the VM. During the cleanup these devices will be deleted.
It makes attach steps more clear - there is no doubt what is the name of the device.

Related to: [mitchellh/packer#1502]
2014-10-04 22:39:54 +02:00
Mikhail Zholobov 0cfe58193f builder/parallels: Added driver method 'DeviceAddCdRom' 2014-10-04 22:39:54 +02:00
JessThrysoee 5394ce61fd builder/parallels: Rely on Cleanup functions to detach devices
Remove the redundant StepRemoveDevices and rely on the cleanup to be handled by:
* StepAttachParallelsTools.Cleanup
* StepAttachFloppy.Cleanup
* stepAttachISO.Cleanup
2014-10-04 22:39:54 +02:00
Jack Pearkes 37a9c3dc7d Merge pull request #1554 from mitchellh/sethvargo/update_middleman
Update website to use latest middleman
2014-10-04 10:01:57 -07:00
Rickard von Essen 57ad64da30 Merge pull request #1501 from JessThrysoee/current_fdd0_does_not_exist
builder/parallels: Ignore 'The fdd0 device does not exist'
2014-10-04 18:04:08 +02:00
Seth Vargo a4eb1035ea Update website to use latest middleman 2014-10-03 17:55:34 -07:00
Seth Vargo ab12c84407 Remove unnecessary counter file (as per @pearkes) 2014-10-03 17:55:26 -07:00
Mikhail Zholobov 48c64b05cb builder/parallels: Init VM without hdd and attach it later
Avoid the disk resize because it is unsupported for some guests (OS X)
http://kb.parallels.com/en/113653
2014-10-01 16:13:46 +04:00
Rickard von Essen dc3f156f02 Merge pull request #1499 from JessThrysoee/python_prltype
builder/parallels: Bundle python version of prltype
2014-09-27 11:10:37 +02:00
Nicolai Fröhlich 7fdb045ed0 Fixed dead links in doc section environment-variables.
Due to a missing `/` the links pointed to i.e. `docs/other/docs/other/core-configuration.html` producing a 404 / Page not found.
2014-09-26 15:28:24 +02:00
Jason A. Beranek 2c0a7a501e Update CHANGELOG.md 2014-09-20 22:24:33 -05:00
JessThrysoee 16b82d6d15 builder/parallels: Bundle python version of prltype
Uses the Python API from Parallels Virtualization SDK to write
boot commands.

This eliminates a 3rd party requirement and makes it easier for people
not using homebrew to get started with packer.
2014-09-19 22:19:15 +02:00
JessThrysoee cf6532ffe2 builder/parallels: Ignore 'The fdd0 device does not exist'
A current floppy disk probably doesn't exist, so the build shouldn't
fail when we try to delete it.
2014-09-18 20:36:05 +02:00
Jason A. Beranek 5e4ffb56d0 Merge pull request #1505 from jasonberanek/issue-1480
builder/vmware-esx: Ignore localhost for VNC lookup and document VNC requirements [GH-1480]
2014-09-16 23:16:51 -05:00
Jason A. Beranek 58a50e0513 website: document vmware-esxi VNC requirements 2014-09-16 22:16:22 -05:00
Jason A. Beranek 8689301d68 builder/vmware-esxi: Ignore localhost for VNC lookup [GH-1480]
Adds logic to ESXi driver VNC Address function to ignore listen
  addresses that bind to localhost (127.0.0.1), this allows certain
  default ports to be available on ESXi for VNC connections
2014-09-16 22:00:52 -05:00
Jason A. Beranek a7122b3cf3 Merge pull request #1497 from routelastresort/vmx-step-order
fixed vmware-vmx step order
2014-09-15 08:55:37 -05:00
John Deatherage e571a133b0 fixed vmware-vmx step order 2014-09-14 04:28:55 -07:00
Mitchell Hashimoto c143e60ffc Merge pull request #1486 from roidrage/master
Run two builds in parallel with go get
2014-09-11 19:57:23 -07:00
Mitchell Hashimoto 76e2b33a6d website: re-add packer prefix 2014-09-11 14:35:51 -07:00
Mitchell Hashimoto ddeefdcedd scripts: ignore errors on gox for now 2014-09-11 11:51:44 -07:00
Mitchell Hashimoto fd54017233 scripts: reintroduce dist 2014-09-11 11:51:20 -07:00
Mitchell Hashimoto f4b73c7ebf scripts: build should do everything now 2014-09-11 11:16:59 -07:00
Mathias Meyer 971cdd22d7 Run two builds in parallel with go get.
By default, go get determines parallelism based on the number of
cores available. Those show up as 32 in the Travis CI environment
but a virtual machine is limited both by the amount of cores it
has allocated and the amount of memory available to it. 32 parallel
build processes are likely to exhaust the memory resources, leading
to killed processes.

This change reduces the number of builds running concurrently to 2,
which should reduce the likelihood of memory exhaustion greatly.

The number could probably be dialed up a little bit, but this should
give a good default reflecting the environment's resources.
2014-09-11 07:55:07 +02:00
Mitchell Hashimoto f4ca5eb179 website: remove packer_ prefix from files for now 2014-09-10 20:52:44 -07:00
Mitchell Hashimoto c5dc0f9e7d scripts: add openbsd/freebsd to builds 2014-09-10 16:10:33 -07:00
Mitchell Hashimoto a22f70f61f v0.7.1 2014-09-10 16:09:43 -07:00
Mitchell Hashimoto 6c9ae492be Merge pull request #1485 from cspicer/gh-975-ansible-docs
website: Add group_vars and host_vars to Ansible provisioner docs
2014-09-10 16:06:09 -07:00
Chris Spicer 840c4e4d02 Add group_vars and host_vars to Ansible provisioner docs to reflect current code 2014-09-10 15:37:05 -07:00
Mitchell Hashimoto 9214ce8bb5 Update CHANGELOG 2014-09-10 14:59:40 -07:00