Mitchell Hashimoto
226c244a46
builder/vmware: start/stop ESXi5 VMX with proper path
2013-11-07 21:22:12 -08:00
Mitchell Hashimoto
f88301a890
builder/vmware: only unregister if registration success
2013-11-07 21:19:24 -08:00
Mitchell Hashimoto
5f380a614f
builder/vmware: register the VMX to the proper path on esx
2013-11-07 21:18:25 -08:00
Mitchell Hashimoto
4fd6b3222f
builder/vmware: log when writing a VMX
2013-11-07 21:03:15 -08:00
Mitchell Hashimoto
d1134ea788
builder/vmware: for remote builds, put VMX in temp dir
2013-11-07 21:02:12 -08:00
Mitchell Hashimoto
8dba90e4ad
builder/vmware: set proper default disk type for esx
2013-11-07 20:57:05 -08:00
Mitchell Hashimoto
13a420fe50
builder/vmware: make upload dst,src like normal go
2013-11-07 20:47:15 -08:00
Mitchell Hashimoto
a665e01ba8
builder/vmware: esx file check works properly
2013-11-07 20:46:34 -08:00
Mitchell Hashimoto
aba932b58b
builder/vmware: upload the ISO to the ESXi machine
2013-11-07 12:28:41 -08:00
Mitchell Hashimoto
4d299ee41d
builder/vmware: make things more Go-like
...
This commit currently breaks the builder though, since the ISo is now
uploaded back into ESX.
2013-11-07 12:01:18 -08:00
Doug MacEachern
e7542ff33d
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
d740015ef4
builder/vmware: check for ifconfig in /sbin [GH-591]
2013-11-04 14:34:51 -08:00
Mitchell Hashimoto
dd6b5f0d85
builder/vmware: force LANG=C for ifconfig [GH-592]
2013-11-04 14:26:18 -08:00
Mitchell Hashimoto
f40a6e21aa
builder/virtualbox,vmware: warning if shutdown_command is not specified
2013-11-02 23:17:21 -05:00
Mitchell Hashimoto
f9747ad110
builder/all: update to warnings
2013-11-02 23:03:59 -05:00
Mitchell Hashimoto
65169b4576
builder/virtualbox,vmware: support user templates in SSH key path
...
[GH-539]
2013-10-20 15:58:39 -07:00
Mitchell Hashimoto
fb8b82fca5
builder/vmware: always set msg.AutoAnswer
2013-09-05 13:44:57 -07:00
Mitchell Hashimoto
e26f7e87e0
builder/vmware: auto-answer dialogs [GH-393]
2013-09-05 13:43:01 -07:00
Greg Karékinian
6cd10286db
Fix typo
...
s/Detatching/Detaching/
2013-09-02 12:46:47 +02:00
Mitchell Hashimoto
36698d4b6d
builder/vmware: new multistep API
2013-08-31 12:50:25 -07:00
Mitchell Hashimoto
e7b2751d63
builder/vmware: support key based SSH auth [GH-70]
2013-08-27 22:57:42 -07:00
Mitchell Hashimoto
e50a15c4ee
builder/vmware: support vmx_template_path [GH-270]
2013-08-27 17:23:28 -07:00
Mitchell Hashimoto
20541a7eda
builder/vmware: ability to not request a PTY for SSH [GH-270]
2013-08-27 16:51:05 -07:00
Justin Bronn
ffe63b8bd8
Make it possible to customize the VMware virtual disk type id.
2013-08-22 11:40:56 -07:00
Mitchell Hashimoto
de80940027
builder/vmware: interrupts work during VNC type on VMware
2013-08-16 09:07:27 -07:00
Mitchell Hashimoto
a1a7ff20c2
*: switch to packer ConfigTemplate
2013-08-15 19:17:23 -07:00
Mitchell Hashimoto
015933b29f
builder/vmware: support iso_urls for multiple URLs [GH-110]
2013-08-15 17:46:41 -07:00
Mitchell Hashimoto
51fb48c5cd
builder/vmware: switch to common download step
2013-08-15 17:46:41 -07:00
Mitchell Hashimoto
9f84f2c363
common: return -1 download percent if download hasn't started [GH-288]
2013-08-14 11:15:47 -04:00
Mitchell Hashimoto
6090b6ecdf
builder/vmware: create driver in Run method
2013-08-13 08:54:12 -07:00
Mitchell Hashimoto
43c6b9e6d1
builder/vmware: find files if they exist [GH-279]
2013-08-12 16:13:06 -07:00
Mitchell Hashimoto
724e2b3c52
builder/vmware: fix windows builds
2013-08-12 14:01:50 -07:00
Mitchell Hashimoto
5decc186a6
builder/vmware: nitpick some styles
...
/cc @rasa - I changed up quite a bit here. I tried to reduce function
count if possible, renamed some functions, etc. Overall the
functionality was all spot on, but I felt the functions were too
specialized. Thanks!
2013-08-09 17:31:43 -07:00
Ross Smith II
cfc7715495
fixed typo in vmware path on Windows XP, fixes #237/#238
2013-08-09 17:10:05 -07:00
Ross Smith II
60fc565dbb
Add support for VMWare Workstation on Windows XP, fixes #237
2013-08-09 17:09:55 -07:00
Mitchell Hashimoto
100458955f
builder/*, provisioner/*: set user vars
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
ad9575a041
builder/vmware: error checking on upload path template
2013-08-08 17:25:25 -07:00
Mitchell Hashimoto
d71621a599
builder/vmware: use new template stuff
2013-08-08 17:25:25 -07:00
Mitchell Hashimoto
ef59ee41a8
rename builder/common to common since it is generally useful
2013-08-01 12:11:54 -07:00
Mitchell Hashimoto
744c52f685
builder/vmware: slightly nicer error messages
2013-07-31 22:52:36 -07:00
Mitchell Hashimoto
844fde01a7
builder/vmware: error message tweaking for Player driver
2013-07-31 22:15:13 -07:00
Julian Phillips
4b6bbfd723
builder/vmware: We only need one runAndLog function
...
We shouldn't need a different one for each driver ...
Conflicts:
builder/vmware/driver_workstation9.go
2013-07-31 22:11:07 -07:00
Julian Phillips
898e468edd
builder/vmware: Add Support for VMware Player 5 (Linux)
...
We have two choices for VMware on Linux. We already support
Workstation, add support for Player too.
VMware Player doesn't come with vmware-vdiskmanager, so fall back to
using qemu-img if we can find that.
Conflicts:
builder/vmware/driver.go
2013-07-31 22:09:38 -07:00
Mitchell Hashimoto
5de3a948fa
builder/vmware: sleep before cleaning files on Windows
2013-07-31 15:36:22 -07:00
Mitchell Hashimoto
8f6b2e4d32
builder/virtualbox,vmware: retry removing output dir if fails
2013-07-31 15:16:39 -07:00
Mitchell Hashimoto
ce4db65fa0
builder/vmware: compile host_ip on every platform
2013-07-31 15:10:28 -07:00
Mitchell Hashimoto
1ff52979fe
builder/vmware: redo host IP stuff for Windows
2013-07-31 14:46:12 -07:00
Mitchell Hashimoto
e11b6617f3
builder/vmware: more logs for Workstation
2013-07-31 14:02:00 -07:00
Mitchell Hashimoto
5fd00cfd3a
builder/vmware: convert line endings in workstation to Unix-style
2013-07-31 13:58:57 -07:00
Mitchell Hashimoto
f5b0b4f9d7
builder/vmware: improved logging for various workstation steps
2013-07-31 13:50:49 -07:00