Commit Graph

3538 Commits

Author SHA1 Message Date
Jesse Cooke adedfb85a6 Ditch ` around content words 2014-09-24 14:00:58 -07:00
Ask Holme 173237ba45 make docker-push work with docker-tag artifacts 2014-09-24 22:22:39 +02:00
Jesse Cooke c2ffdd99a7 Minor edits 2014-09-24 10:07:57 -07:00
Shawn Neal 5fd9651982 GH 1508 - Ensure Packer VMX is updated and saved
We need to ensure the VMWare process has exited before attempting to run VMX file cleanup steps, otherwise VMWare may overwrite our changes. While Packer does its best to ensure VMWare has exited, there's still a race condition on some OSs between VMWare flushing the VMX and Packer updating it. The workaround is to artifically wait 5 seconds.

When using the VMX builder its possible for the source machine to have a floppy and/or CD-ROM mounted which gets cloned to the new VM Packer spins up, but have no Packer configuration for those devices. With this change we always attempt to remove the mounted devices regardless of the Packer configuration.
2014-09-24 09:42:10 -07:00
Jason A. Beranek 2c0a7a501e Update CHANGELOG.md 2014-09-20 22:24:33 -05:00
Brian Downs bf5ec1f985 Ran go fmt 2014-09-19 15:55:05 -07:00
Brian Downs 1303329a91 Added struct to be passed to the Process function to render the vagrant file path. Resolves Issue #1125. 2014-09-19 15:46:07 -07: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
Shawn Neal 7d9c252b3a Clean VMX step should always remove floppy.
When using the VMX builder its possible for the source machine to have a floppy configured which gets cloned to the new VM Packer spins up. When the new VM's Packer config doesn't have a floppy_files config entry, the Packer clean VMX step fails to remove the floppy disk from the new VM. This can cause build failures, for example with the vsphere post processor; generating errors like:

* Post-processor failed: Failed: exit status 1
Error: File (/home/teamcity/tmp/buildTmp/packer941120499) could not be found.

Opening the cloned VM's VMX file you can clearly see it has a floppy entry from the source machine's VMX file (exact same path) even though the Packer config contains no floppy_files entry.
2014-09-16 18:27:00 -07: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
Mitchell Hashimoto cc16e19a6b communicator/ssh: upload proper source [GH-1484] 2014-09-10 14:16:24 -07:00
Mitchell Hashimoto 42e9e734b9 common: don't wait SSH on first try 2014-09-10 14:04:56 -07:00
Ross Smith II b765b9ce1c Update CHANGELOG.md 2014-09-10 10:20:45 -07:00
Ross Smith II a7aa20c8c7 Add support for VMware Fusion 7 Pro [GH-1478] 2014-09-10 10:14:50 -07:00
Ross Smith II f36b20ca28 make sure executable is named packer.exe in Windows build [GH-1483] 2014-09-10 09:47:49 -07:00
Mitchell Hashimoto 0bf293f193 Up version for dev 2014-09-08 19:36:11 -07:00
Mitchell Hashimoto 7078c2f922 Fix some scripts 2014-09-08 17:03:38 -07:00
Mitchell Hashimoto 3006be4376 v0.7.0 2014-09-08 15:57:24 -07:00
Mitchell Hashimoto 9c93c9e874 packer: check for latest version 2014-09-08 15:25:50 -07:00
Mitchell Hashimoto d51364a897 Better logging for checkpoint 2014-09-08 14:21:13 -07:00
Mitchell Hashimoto d4fcbfafa8 Mechanisms to disable checkpoint 2014-09-08 14:20:13 -07:00
Mitchell Hashimoto 806a8e0154 Move checkpoint into its own file to make it easy 2014-09-08 14:17:27 -07:00
Mitchell Hashimoto 1c380ea521 Checkpoint
(configs to disable will come next)
2014-09-08 14:10:17 -07:00
Mitchell Hashimoto a8c4bb4464 Update CHANGELOG 2014-09-08 13:47:53 -07:00
Mitchell Hashimoto 4ee978ca27 Merge pull request #1470 from mitchellh/configdir
Config Dir and plugin discovery there
2014-09-08 13:47:26 -07:00
Mitchell Hashimoto 305019676c website: update website to point to proper directory 2014-09-08 13:44:58 -07:00
Mitchell Hashimoto 25868e1a13 ConfigDir 2014-09-08 13:38:35 -07:00
Mitchell Hashimoto 5afcac3f2e Update CHANGELOG 2014-09-08 13:22:18 -07:00
Mitchell Hashimoto b6ae00fc37 Merge branch 'rasa-1064-fix-upload-file-permissions' 2014-09-08 13:20:53 -07:00
Mitchell Hashimoto 75395af12d Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions
Conflicts:
	builder/parallels/common/step_upload_parallels_tools.go
	builder/vmware/common/step_upload_tools.go
	provisioner/chef-client/provisioner.go
	provisioner/chef-solo/provisioner.go
2014-09-08 13:20:46 -07:00
Mitchell Hashimoto 351ef8bf98 website: compress 2014-09-08 10:30:30 -07:00
Mitchell Hashimoto 2ed100a0b0 website: document compress post-processor 2014-09-08 10:30:10 -07:00
Mitchell Hashimoto 812ba35479 fmt 2014-09-08 10:28:21 -07:00