Mitchell Hashimoto
70af21615e
Merge pull request #2233 from mitchellh/b-output-dir
...
builder/virtualbox,vmware: validate output dir in step
2015-06-15 09:40:36 -07: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
d851898131
builder/vmware: mirror virtualbox output dir changes
2015-06-13 17:00:14 -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
Mitchell Hashimoto
9da9ce6046
vmware/iso: disk_additional_size
2015-06-10 12:41:17 -07:00
Mitchell Hashimoto
3ba9d70b22
Merge pull request #1382 from sneal/AdditionalDisksForVMwareISO
...
Additional disks for vmware iso
2015-06-10 12:39:50 -07:00
Mitchell Hashimoto
1d653efe90
Merge pull request #2174 from brandonheller/master
...
vmware/iso: support hierarchical output directories
2015-06-10 11:33:59 -07:00
Mitchell Hashimoto
23a48d6619
go fmt
2015-06-08 21:34:20 -07:00
Shawn Neal
e9a491ae45
New interpolation for additional vmware disks
2015-06-04 11:44:07 -07:00
Eric Richardson
7dfb837ddb
Formatting cleanups from `go fmt`
2015-06-04 08:22:50 -07:00
Eric Richardson
fab9ca9cdb
Initial work to implement additional disk support in the vmware-iso builder
...
* Matches the syntax from mitchellh/packer#703
* Creates disk(s), adds them to the vmx template, and runs compact at the end
2015-06-04 08:22:50 -07: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
Emil Hessman
57468b3d1a
builder/vmware/iso: fix incorrect printf verb type in test
...
Fixes the following vet report:
builder/vmware/iso/builder_test.go:178: arg b.config.DiskSize for printf verb %s of wrong type: uint
2015-02-25 05:43:18 +01: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
0db6cd3533
Merge pull request #1330 from qur/qemu-vagrant
...
Qemu vagrant
2014-10-28 08:42:17 -07: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
Nick Cronin
1aa102dd06
addresses #1191 - Add VMWare virtualhw.version configuration option under 'version'
2014-10-28 11:49:04 +11:00
Julian Phillips
90a57c411f
Expand Artifact API to expose build state
...
In order that something consuming an artifact can have access to extra
builder specific data add the State method which allows the caller to
ask for arbitary values by name.
2014-09-22 11:15:47 +01: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
Mitchell Hashimoto
1a45b96674
builder/vmware: add VNC to vmx
2014-09-05 12:10:40 -07:00
Mitchell Hashimoto
759c46487c
builder/vmware-vmx: support http files
2014-09-05 11:59:46 -07:00
Mitchell Hashimoto
c74f0c7cfe
Merge branch '1082-add-boot-commands-to-vmx-and-ovf-builders' of github.com:rasa/packer into rasa-1082-add-boot-commands-to-vmx-and-ovf-builders
...
Conflicts:
builder/virtualbox/ovf/config.go
builder/vmware/vmx/config.go
2014-09-05 11:42:01 -07:00
Mitchell Hashimoto
caca50324e
Merge pull request #1426 from jasonberanek/vnc-fixes
...
vmware-iso/esxi: fix multiple issues with VNC address discovery
2014-09-05 10:45:17 -07:00
Mitchell Hashimoto
67afff5ede
fmt
2014-09-03 21:27:54 -07:00
Mitchell Hashimoto
ba3bae8a65
Merge pull request #1239 from StefanScherer/fix_skip_floppy_in_vmx_data_post_step
...
builde/vmware: skip adding floppy again in vmx_data_post step
2014-09-02 10:02:17 -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
Jason A. Beranek
6acbc91ff7
vmware-iso: Fix error vnc min/max ports [GH-1288]
2014-08-18 20:15:15 -05:00
notogawa
eacae832ad
Fixes #1334 , Add power on retry to ESXi Driver.
2014-08-11 16:43:34 +09:00
Ross Smith II
2c8ea2b6d2
Merge pull request #1361 from sneal/do-not-add-floppy-files-to-vmx
...
Do not re-add floppy disk files to VMX
2014-07-21 18:09:19 -07:00
Shawn Neal
05ebc8f316
Do not re-add floppy disk files to VMX
...
This commit fixes errors like this in the vsphere post-processor when using floppy files in the builder step:
Error: File (/var/folders/zl/57c1vmr532z_ryf1scw53_b9ycmxh7/T/packer964492999) could not be found
The configure VMX step re-adds the floppy files, so we need to configure the VMX and _then_ clean the VMX in that order.
2014-07-21 17:06:43 -07: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
StefanScherer
de5c38e6c5
skip adding floppy again in vmx_data_post step
2014-06-09 01:02:21 +02:00
Ross Smith II
e93697ab4e
builder/virtualbox-ovf,vmware-vmx: add `boot_command` support
...
Fixes #1082
2014-05-12 21:19:24 -07:00
Mitchell Hashimoto
7e991af48e
builder/vmware/common: tests for StepPrepareTools
...
/cc @rasa - an example
2014-05-10 10:16:53 -07:00
Mitchell Hashimoto
1b1d87128c
Merge pull request #1154 from rasa/765-add-tools-upload-flavor-support-in-vmware-vmx
...
builder/vmware-vmx: Added tools_upload_flavor support
2014-05-10 10:07:34 -07:00
Ross Smith II
779c7184a2
go fmt
2014-05-09 21:12:14 -07:00
Ross Smith II
d92179847d
provisioner/file: set file/directory permissions
...
fixes #1064
2014-05-09 21:03:35 -07:00
Mitchell Hashimoto
e9727df15e
Merge pull request #1146 from higebu/fix-esxi-driver-iso-upload-path
...
Fixes #1062 , ESXi Driver supports PACKER_CACHE_DIR
2014-05-09 19:56:28 -07:00