Commit Graph

16 Commits

Author SHA1 Message Date
Mitchell Hashimoto ba8a0dbec0 builder/vmware: only unregister if registration success 2013-11-07 21:19:24 -08:00
Mitchell Hashimoto 8a8ac430d1 builder/vmware: upload the ISO to the ESXi machine 2013-11-07 12:28:41 -08:00
Doug MacEachern a828a9a064 builder/vmware: new driver to support building images directly on ESX
This driver talks directly to ESX over ssh, using vim-cmd, esxcli and sh;
no vCenter or VIM api required.

Remote* config properties added to support a remote driver

RemoteDriver interface extends Driver:
* SSHAddress - esx flavor uses esxcli to find the VM's ip address
* Download - esx flavor downloads iso files to a vmfs datastore

Driver can optionally implement the following interfaces:
* VNCAddressFinder - esx flavor needs to check remote ports
* OutputDir - esx driver needs a local and remote OutputDir
* Inventory - esx driver needs to register/unregister VMs
* HostIPFinder - esx flavor needs an address on the same network as esx itself
2013-11-07 12:01:18 -08:00
Mitchell Hashimoto f74ff91166 builder/vmware: new multistep API 2013-08-31 12:50:25 -07:00
Mitchell Hashimoto 6b6beae3b8 builder/vmware: unexport calculted config fields 2013-07-14 21:23:46 +09:00
Mitchell Hashimoto 874b4acf1c builder/vmware: output VNC info if headless
/cc @smerrill
2013-07-02 12:23:19 -07:00
Steven Merrill c4c43b1252 Add VMWare headless mode. 2013-07-02 00:13:13 -04:00
Mitchell Hashimoto 6d3b09c542 builder/vmware: properly handle errors 2013-06-19 21:20:48 -07:00
Mitchell Hashimoto c559ec7d71 builder/vmware: check if running prior to shutting down 2013-06-06 16:14:07 -07:00
Mitchell Hashimoto 275dc6d21f builder/vmware: Driver abstraction 2013-06-06 12:19:38 -07:00
Mitchell Hashimoto 9e9196eab8 builder/vmware: boot_wait is now a duration 2013-06-06 09:21:50 -07:00
Mitchell Hashimoto d5cfa42e05 builder/vmware: Wait a minimum time before shutting down VM 2013-06-05 17:59:33 -07:00
Mitchell Hashimoto 6d610f1c6e builder/vmware: type the boot sequence 2013-06-05 17:15:16 -07:00
Mitchell Hashimoto 429ff62128 builder/vmware: Add a boot wait in seconds 2013-06-05 15:48:13 -07:00
Mitchell Hashimoto cd3523fd4f builder/vmware: Stop the run properly 2013-06-05 15:19:25 -07:00
Mitchell Hashimoto 9c27f5857b builder/vmware: Better commenting 2013-06-05 15:10:16 -07:00