Commit Graph

236 Commits

Author SHA1 Message Date
Mitchell Hashimoto 8fecdf179d builder/vmware/common: Fusion6Driver 2013-12-26 14:54:26 -07:00
Mitchell Hashimoto f23d66a1b9 builder/vmware/vmx: clone vmx 2013-12-26 14:39:41 -07:00
Mitchell Hashimoto 82fad98b07 builder/vmware/vmx: set the settings for cloning vmx 2013-12-26 08:36:00 -07:00
Mitchell Hashimoto eeeaec3562 builder/vmware/vmx: StepCloneVMX 2013-12-26 08:34:27 -07:00
Mitchell Hashimoto 141cfeb4bb builder/vmware/vmx: outputdir 2013-12-25 16:01:57 -07:00
Mitchell Hashimoto 6fdcb0f832 builder/vmware/vmx: initial stuff 2013-12-25 15:52:40 -07:00
Mitchell Hashimoto 16911d75e9 builder/vmware: move drivers out to common 2013-12-25 15:50:12 -07:00
Mitchell Hashimoto bee879409a builder/vmware: new artifact type that is common 2013-12-25 11:27:53 -07:00
Mitchell Hashimoto 8d963501d7 builder/vmware/iso: set SSHConfig 2013-12-25 10:44:10 -07:00
Mitchell Hashimoto 4f32692fd5 builder/vmware: StepShutdown 2013-12-24 23:33:49 -07:00
Mitchell Hashimoto 6c4af2d75f builder/vmware/iso: convert stepShutdown to use OutputDir for cleanup 2013-12-24 23:16:13 -07:00
Mitchell Hashimoto 87ab914a3c builder/vmware: StepCompactDisk 2013-12-24 23:09:22 -07:00
Mitchell Hashimoto f01b21c610 builder/vmware: StepCleanVMX 2013-12-24 18:40:52 -07:00
Mitchell Hashimoto 8f8ea60b4f builder/vmware/common: StepCleanFiles 2013-12-24 18:17:58 -07:00
Mitchell Hashimoto 95e0e465cf builder/vmware: move StepRun to common 2013-12-24 18:12:43 -07:00
Mitchell Hashimoto 7f86fa5fef builder/vmware/iso: Move remote registration out to separate step 2013-12-24 14:39:52 -07:00
Mitchell Hashimoto 6cf8d9b319 builder/vmware/common: StepSuppressMessages 2013-12-24 14:26:44 -07:00
Mitchell Hashimoto e5f674a8c2 builder/vmware/common: Mock driver and test for DHCP Lease IP lookup 2013-12-24 11:55:44 -07:00
Mitchell Hashimoto 458bfd186f builder/vmware: move driver out of ISO 2013-12-24 11:31:57 -07:00
Mitchell Hashimoto d73cbd3744 builder/vmware/common: make the dir private for LocalOutputDir 2013-12-24 11:22:22 -07:00
Mitchell Hashimoto 50f8b2c1a3 builder/vmware: move outputdir stuff to common 2013-12-24 11:21:02 -07:00
Mitchell Hashimoto 8bd3ca4470 builder/vmware/common: shuffling stuff around 2013-12-24 11:00:51 -07:00
Mitchell Hashimoto 29931cd0c0 builder/vmware/common: SSHConfig 2013-12-23 23:27:01 -07:00
Mitchell Hashimoto 6d83ef5499 builder/vmware/iso: move VMX methods out to the common 2013-12-23 23:09:47 -07:00
Mitchell Hashimoto 33452c2dfd builder/vmware: add more stuff to common 2013-12-23 23:07:43 -07:00
Mitchell Hashimoto 91392feb58 builder/vmware/iso: fix package name 2013-12-23 22:58:41 -07:00
Mitchell Hashimoto d1e68875a7 builder/vmware: move to iso package 2013-12-23 22:58:13 -07:00
Mitchell Hashimoto 5ab83238bf builder/vmware: separate step to configure vmx 2013-12-23 14:38:54 -08:00
Mitchell Hashimoto 69f971094c builder/vmware: style 2013-12-18 08:40:35 -08:00
Mitchell Hashimoto 6aef114372 go fmt 2013-12-11 11:19:36 -08:00
Mitchell Hashimoto 2789281285 builder/vmware: clarify guestiphack error message [GH-639] 2013-12-07 10:31:57 -08:00
Mitchell Hashimoto 8766a93245 builder/vmware: correct logic in cehcking if file is still there 2013-12-06 19:12:49 -08:00
Mitchell Hashimoto 6211cd2028 builder/vmware: more resilient to racing deletes [GH-675] 2013-12-06 19:11:40 -08:00
adrian kalaveshi d0387d1d3a Trivial bug fix in mechanism to clean installation ISOs for VMware builder
The resolution of Bug #608 still had issues.  This change removes a
superfluous period.

Testing Done:
- built packer with my change
- built VMware VMs and saw that the vmx file had the expected
  changes.
2013-12-05 21:36:34 +00: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 d88cb09d32 builder/vmware: ctrl-c works during wait for boot 2013-11-12 16:20:52 +00: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 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
Mitchell Hashimoto b228723903 builder/vmware: for remote builds, put VMX in temp dir 2013-11-07 21:02:12 -08:00
Mitchell Hashimoto a4b54f1cf3 builder/vmware: set proper default disk type for esx 2013-11-07 20:57:05 -08:00
Mitchell Hashimoto 148d7c06ab builder/vmware: make upload dst,src like normal go 2013-11-07 20:47:15 -08:00