Marc Siegfriedt
c1e129848c
3833 - fix for port in MR3347
2016-08-26 20:58:04 +00:00
Rickard von Essen
3e1aed9a6f
Enable to disable vnc password for VMware builder
2016-08-19 13:26:23 +02:00
Israel Shirk
f961ce701b
Adds password protection for VNC on VMWare
2016-08-19 13:26:16 +02:00
Jeremiah Roth
9489c83f0f
If the VM has more than one NIC, loop through until we find one that works ( #3347 )
2016-08-19 13:23:43 +02:00
Dan Tran
4ac6e2a08c
Dont check for poweron command error to force retry at state check ( #3195 )
2016-08-19 13:21:50 +02:00
Charlie Vieth
6ce847e720
Do not add remotedisplay.vnc.ip to vmx data on ESXi
...
* The remotedisplay.vnc.ip vmx data key breaks ESXi, this commit prevents it
from being automatically added during VNC configuration when using the ESX5
driver.
* It can still be configured via the vmx_data section of the builder
template
Signed-off-by: Sunjay Bhatia <sbhatia@pivotal.io>
2016-08-19 13:19:04 +02:00
Charlie Vieth
d14d62074e
Add winrm functionality to vmware-iso builder ( #3738 )
...
* Use winrm_host, if provided, this allows packer to work in ESXi
environments without DHCP.
Signed-off-by: Charlie Vieth <cviethjr@pivotal.io>
2016-08-19 13:02:55 +02:00
Ian Duffy
0327f6c935
Allow configurable VNC bind IP for VMware builders
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-05-23 14:07:03 +01:00
michael
499bd5a362
Add support for SSH Key Authentication with ESX builder
2015-11-03 19:08:35 -08:00
Yuya Kusakabe
699c673536
builder/vmware-esxi: Add step_export
...
If `format` option is configured, packer exports the VM with ovftool.
website: Document about OVF Tool and `format` option.
post-processor/vsphere: Enable to use `mitchellh.vmware-esx` artifact type and OVF and OVA formats, fixes #1457 .
2015-10-23 09:00:53 +09:00
Mitchell Hashimoto
4a60e469e9
update CHANGELOG
2015-06-29 09:33:20 -07:00
Israel Shirk
88fac0b49c
Have nonesum run stat rather than nonesum because nonesum sums none. k.
2015-06-25 19:03:00 -06:00
Mitchell Hashimoto
115d583cff
helper/communicator: make host more generic
2015-06-13 19:23:33 -04:00
Mitchell Hashimoto
b61ed3adfc
builder/vmware: convert to helper/comm
2015-06-13 18:52:44 -04:00
Mitchell Hashimoto
71d8c6610a
Merge pull request #1968 from bhcleek/master
...
do not request a pty
2015-06-13 16:23:31 -04:00
Brandon Heller
a7eeb6a6a7
vmware/iso: support hierarchical output directories
...
When providing a hierarchical output_directory value like
'transient/jenkins-slave', the VM would fail to build in the CreateDisk
step. The properly created output directory would not match the location
provided to CreateDisk, since datastorePath() did not properly split such
paths. Now this case works; tested hierarchical and singular
output_directory values.
2015-06-04 02:49:58 -07:00
jszwedko
b1497b951c
code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh
...
code.google.com/p/go.crypto/ssh is now at golang.org/x/crypto/ssh as of
https://code.google.com/p/go/source/detail?spec=svn.crypto.69e2a90ed92d03812364aeb947b7068dc42e561e&repo=crypto&r=8fec09c61d5d66f460d227fd1df3473d7e015bc6
Using the code.google.com import redirects properly, but runs into
issues if you try to use a subpackage of `ssh`, e.g. `agent` which
refers to golang.org/x/crypto/ssh causing conflicts if your types expect
code.google.com/p/go.crypto/ssh.
This is a precursor to a PR for #1066 .
2015-05-28 08:17:49 -07:00
Mitchell Hashimoto
f5945eeb1b
vmware/iso: new interpolation
2015-05-27 14:16:28 -07:00
Billie H. Cleek
2184892f8a
do not request a pty
...
Change the default behavior from requesting a PTY when executing a
command with the ssh communicator to requesting a PTY only when
configured to do so.
Update the vmware builders to be fully backward compatible with the new
behavior.
2015-02-12 20:18:54 -08:00
Christian Groschupp
e9246ec490
builder/vmware/iso: Upload VMX to ESX5 after editing [GH-1422,GH-1083]
2014-11-16 19:48:02 +01:00
Mitchell Hashimoto
6c44d72112
Merge pull request #1403 from notogawa/issue-1334
...
Fixes #1334 , Add power on retry to ESXi Driver.
2014-10-28 08:35:42 -07:00
Mitchell Hashimoto
e422a45449
fmt
2014-10-28 08:35:21 -07:00
Mitchell Hashimoto
00543fe582
Merge pull request #1479 from jasonberanek/esxi-remote-cache
...
buidler/vmware-esxi: Add configuration options for the remote location to cache ISO and floppy files
2014-10-28 08:28:15 -07: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
Jason A. Beranek
b6eb3eba1d
builder/vmware-esxi: Add configuration options for remote cache path
...
Add configuration option to explicitly control where Packer uploads
ISO and floppy files to on ESXi hosts. The `remote_cache_datastore`
defaults to the `remote_datastore` value. The 'remote_cache_directory'
defaults to 'packer_cache', similar to the local caching capabilities.
Addresses issues with [GH-1218] and [GH-1221] where paths for uploaded
ISO and floppy files are not written to a valid location in the
datastore.
2014-09-10 00:10:06 -05: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
Jason A. Beranek
ebdfa2bc56
vmware-iso/driver-esxi: Fix VNC detection of used ports
...
Fixes error in earlier commit that didn't properly detect a port
was listened to.
2014-08-20 20:42:05 -05:00
Jason A. Beranek
93e4475d6a
vmware-iso/driver-esxi: Detect VNC in cross-platform way [GH-1372]
...
Use VMware calls to determine ports being listened to, and determine
free VNC port
2014-08-18 21:50:48 -05:00
Jason A. Beranek
2c41d59e21
vmware-iso: Update VNCAddressFinder interface to return errors from VNCAddress()
2014-08-18 20:34:37 -05:00
notogawa
eacae832ad
Fixes #1334 , Add power on retry to ESXi Driver.
2014-08-11 16:43:34 +09:00
Mitchell Hashimoto
67bad68c9f
Merge pull request #1250 from higebu/check-upload-iso-hash
...
builder/vmware/esxi: checksum iso upload to not always upload
2014-07-19 09:42:26 -07:00
yuuzi41
982e523ba2
fix invalid esx5 path separator in windows
...
before, this code had joining path elements by filepath module. filepath module generate path string with backslash-joined in Windows. but ESX require path string with slash-joined. it means that this code generate illegal path string in windows. illegal path string raised "Error creating disk".
this patch fixes path separator from backslash to slash in windows. from this, creating disk would succeed without error.
2014-07-02 21:55:47 +09:00
Yuya Kusakabe
6ff38c86ea
Fixes #1244 , Add a check for upload iso hash to ESXi Driver
2014-06-12 14:33:34 +09:00
Ross Smith II
d92179847d
provisioner/file: set file/directory permissions
...
fixes #1064
2014-05-09 21:03:35 -07:00
Yuya Kusakabe
6dc858e6cf
Fixes #1062 , ESXi Driver supports PACKER_CACHE_DIR
2014-05-09 13:16:18 +09:00
Yuya Kusakabe
5cac40b47c
Fixes #1106 , Remote ESXi builder doesn't upload floppy
2014-05-03 18:41:00 +09:00
Yuya Kusakabe
7ff781b258
Revert the way to retrieve vm ip in VMware ESXi Driver
2014-05-03 00:25:58 +09:00
Mitchell Hashimoto
91574c3a60
builder/vmware: fix builds
2014-04-26 12:25:18 -07:00
Mitchell Hashimoto
e84e5e4f2c
Merge branch 'update-ssh-package' of github.com:higebu/packer into higebu-update-ssh-package
...
Conflicts:
builder/amazon/common/ssh.go
builder/digitalocean/ssh.go
builder/googlecompute/ssh.go
builder/openstack/ssh.go
communicator/ssh/communicator_test.go
communicator/ssh/keychain.go
communicator/ssh/keychain_test.go
2014-04-26 11:12:06 -07:00
higebu
37b92dff3a
Fix unknown command and syntax error of the ESX5Driver
2014-04-22 00:27:33 +09:00
higebu
f087ce16dc
Fix the build problem by updating ssh package
2014-04-15 10:17:26 +09:00
Ross Smith II
27491f93f8
use old ssh code until higebu's branch is ready, see #1019
2014-04-11 08:23:12 -07:00
Paul Myjavec
aedef06016
esx5, Get host IP by creating & inspecting connection, allows hypervisor to reside in other networks
2014-02-20 19:37:12 +11:00
Mitchell Hashimoto
c74b3758d3
builder/vmware-iso: ESX5Driver impl OutputDir [GH-773]
2014-01-01 20:55:08 -08:00
Mitchell Hashimoto
03fb5fb0f1
builder/vmware/common: Fusion6 driver can clone
2013-12-26 15:03:12 -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