Commit Graph

746 Commits

Author SHA1 Message Date
Nathan Sullivan 0cfb7564d5 lets try a string instead of a bool for AssociatePublicIpAddress 2013-11-26 13:44:39 +10:00
Nathan Sullivan 5df7bc0acf oops bugfix for work on https://github.com/mitchellh/packer/issues/578 2013-11-26 12:05:37 +10:00
Nathan Sullivan 31bf1f342c https://github.com/mitchellh/packer/issues/578 2013-11-26 11:32:08 +10:00
Mitchell Hashimoto cc13e6690c builder/amazon/chroot: don't choose partition mount point if taken
[GH-635]
2013-11-19 12:50:33 -08:00
Mitchell Hashimoto d9c3aed479 builder/virtualbox: use VBOX_INSTALL_PATH to find VBoxManage 2013-11-19 12:32:10 -08:00
Mitchell Hashimoto b787d6fb1d builder/vmware: ESX artifacts have a different builder ID
This is so that things like vagrant post-processors and vsphere
post processors don't work.
2013-11-18 16:10:55 -08:00
Doug MacEachern 4af1c7f1b2 builder/vmware: Double check that OutputDirectory does not already exist
The initial check in Builder.Prepare does not use the OutputDir interface.
stepPrepareOutputDir also checks if OutputDir exists, error out there unless
using -force so we get the same behavior when RemoteType is esx5.
2013-11-12 13:11:02 -08:00
Doug MacEachern 3f5a02cf2a builder/vmware: Add ListFiles and Remove methods to OutputDir interface
- Fixes builder/vmware when using RemoteType esx5,
  as there is no longer a local OutputDir
2013-11-12 12:49:57 -08:00
Doug MacEachern 9655be5582 builder/vmware: Path related fixes in esx5 driver
- Fix mkdir of packer_cache in ESX5Driver.UploadISO

- Fix vmx path in ESX5Driver.IsRunning
2013-11-12 09:17:28 -08:00
Mitchell Hashimoto 21bb0674f2 builder/docker: ctrl-C works during provisioning 2013-11-12 16:24:16 +00:00
Mitchell Hashimoto d88cb09d32 builder/vmware: ctrl-c works during wait for boot 2013-11-12 16:20:52 +00:00
Mitchell Hashimoto c1bd7468d5 builder/virtualbox: ctrl-c works during wait for boot 2013-11-12 16:19:38 +00:00
Mitchell Hashimoto 832b4408a5 builder/docker: verify docker is available on path 2013-11-09 21:26:05 -08:00
Mitchell Hashimoto c04d1cd57e builder/docker: say when killing the container 2013-11-09 19:17:27 -08:00
Mitchell Hashimoto d8b29cd63b builder/docker: remove unused file 2013-11-09 19:11:07 -08:00
Mitchell Hashimoto 7bcfd83bdd builder/docker: stream output from commands 2013-11-09 19:06:03 -08:00
Mitchell Hashimoto 2b89da50b3 builder/docker: UploadDir 2013-11-09 18:44:43 -08:00
Mitchell Hashimoto ab5f719734 builder/docker: show stderr if docker fails to run 2013-11-09 17:27:30 -08:00
Mitchell Hashimoto 8ec68031d0 builder/docker: ability to disable pull 2013-11-09 17:21:24 -08:00
Mitchell Hashimoto 0287cdd614 builder/docker: config refactor 2013-11-09 17:07:14 -08:00
Mitchell Hashimoto 06b6cb1af1 builder/docker: artifact 2013-11-09 13:22:13 -08:00
Mitchell Hashimoto a58754b974 builder/docker: StepExport tests 2013-11-09 13:15:51 -08:00
Mitchell Hashimoto 0e3011cbce builder/docker: StepRun tests 2013-11-09 13:03:01 -08:00
Mitchell Hashimoto 62b81dc432 builder/docker: StepPull test, driver abstraction for tests 2013-11-09 12:12:23 -08:00
Mitchell Hashimoto 2da9233655 builder/docker: test StepTempDir 2013-11-09 11:58:20 -08:00
Mitchell Hashimoto da683afde0 builder/docker: config validation test 2013-11-09 11:47:32 -08:00
Mitchell Hashimoto 23ad5442ec builder/docker: perform cleanup in run method, not prematurely 2013-11-09 10:15:25 -08:00
Mitchell Hashimoto 44a41451f0 builder/docker: Communicator.Start doesn't block 2013-11-09 10:13:27 -08:00
Mitchell Hashimoto d5ce8ddb4a builder/docker: export the final image 2013-11-09 09:48:36 -08:00
Mitchell Hashimoto d27ceaf509 builder/docker: remove the exit code file when we're done 2013-11-09 00:47:37 -08:00
Mitchell Hashimoto 2e7574e360 builder/docker: command output and exit codes work
/cc @mwhooker - CCing you on this because it is also ridiculous. See the
big comments
2013-11-09 00:33:36 -08:00
Mitchell Hashimoto eabd32f3ce builder/docker: comment the sleep on remote exec 2013-11-09 00:06:45 -08:00
Mitchell Hashimoto c1f0fe3f3f builder/docker: fix upload for copy to work 2013-11-09 00:05:44 -08:00
Mitchell Hashimoto 5f76ed68c4 builder/docker: Remote execution works!
/cc @mwhooker - WOW. By luck, I had a hunch that maybe something like
this might be going on based on straces I was reading. Check:
https://github.com/dotcloud/docker/issues/2628

Anyways, this works now. No more blocker!
2013-11-08 23:59:25 -08:00
Mitchell Hashimoto 797c44bfc1 builder/docker: a non-working communicator 2013-11-08 23:43:41 -08:00
Mitchell Hashimoto 2e080ece6d builder/docker: start a container 2013-11-08 22:17:46 -08:00
Mitchell Hashimoto 4db609b24c builder/docker: tests for some exec stuff 2013-11-08 22:02:47 -08:00
Mitchell Hashimoto 034e04cc1e builder/docker: pull images 2013-11-08 22:00:57 -08:00
Mitchell Hashimoto 3feab1dea1 builder/docker: boilerplate 2013-11-08 16:55:02 -08:00
Mitchell Hashimoto c8a6def83d builder/vmware: downcase more vmx data 2013-11-08 14:21:31 -08:00
Mitchell Hashimoto e4f1dcb6f9 builder/vmware: Fusion suppresses upgrade requests 2013-11-08 12:19:09 -08:00
Mitchell Hashimoto 781332b297 builder/vmware: fix local output dir exists check 2013-11-08 11:48:04 -08:00
Mitchell Hashimoto 3adbd09639 builder/amazon/chroot: fix compile error 2013-11-08 11:19:10 -08:00
Mitchell Hashimoto 3780b57a1f builder/amazon/chroot: allow no such file errors on upload [GH-588] 2013-11-08 10:53:54 -08:00
Mitchell Hashimoto 17f1ee3e98 builder/amazon/chroot: quote commands and pass through a shell [GH-581] 2013-11-08 10:22:56 -08:00
Mitchell Hashimoto 52fb77a883 builder/vmware: case-insensitive VMX creation [GH-608] 2013-11-07 22:06:30 -08:00
Mitchell Hashimoto 47ac6897de builder/vmware: start/stop ESXi5 VMX with proper path 2013-11-07 21:22:12 -08:00
Mitchell Hashimoto ba8a0dbec0 builder/vmware: only unregister if registration success 2013-11-07 21:19:24 -08:00
Mitchell Hashimoto e5ae542142 builder/vmware: register the VMX to the proper path on esx 2013-11-07 21:18:25 -08:00
Mitchell Hashimoto 2ccc5e80c7 builder/vmware: log when writing a VMX 2013-11-07 21:03:15 -08:00