Megan Marsh
|
68c9e34bfe
|
add new display_name template option
|
2018-11-09 10:54:31 -08:00 |
|
Megan Marsh
|
790d5661c5
|
escape username
|
2018-11-06 11:30:45 -08:00 |
|
Megan Marsh
|
96d628eef1
|
fix silliness with pointers
|
2018-11-06 09:50:28 -08:00 |
|
Megan Marsh
|
5c2ca450bd
|
fix tests
|
2018-11-02 15:44:27 -07:00 |
|
Megan Marsh
|
5815b376b4
|
remove unnecessary checks; we always default format to ovf if it is unset.
fix exportoutputdir
|
2018-11-02 14:22:01 -07:00 |
|
Megan Marsh
|
c3144c2d0a
|
add some missing template validation (copied from iso builder) and revert to current use of displayName for parsing vm ssh IP; using VMName was breaking chained builds that hadn't updated the display name from the previous build.
|
2018-11-02 14:22:01 -07:00 |
|
Megan Marsh
|
c3d6d45696
|
modify test so that it accesses CommConfig the same way we really do within the driver
|
2018-11-02 14:22:01 -07:00 |
|
Megan Marsh
|
f18bb19f96
|
remove redundant config; CommConfig was already a part of the SSSHConfig struct
|
2018-11-02 14:22:01 -07:00 |
|
Megan Marsh
|
fa12113eaf
|
remove unused NewLocalArtifact
consolidate artifacts
entirely remove local artifact object and get artifacts in the vmx builder the same way we do in the vmware iso builder
|
2018-11-02 14:22:01 -07:00 |
|
Megan Marsh
|
2ae235a28a
|
fix tests
|
2018-10-25 14:41:01 -07:00 |
|
Megan Marsh
|
290f4a7c4c
|
cleanup to make it actually build after that monstrous rebase
|
2018-10-25 14:17:35 -07:00 |
|
Alexander Laamanen
|
3193f50f17
|
Support export with the vmx builder.
|
2018-10-25 13:02:37 -07:00 |
|
Alexander Laamanen
|
a68a639a1a
|
Move step_export to common.
|
2018-10-25 12:55:10 -07:00 |
|
Alexander Laamanen
|
63054fb808
|
Fix the test.
|
2018-10-25 12:45:44 -07:00 |
|
Stuart Miller
|
da5f322484
|
Add quotes around all filenames to prevent issues with spaces
|
2018-10-25 12:45:44 -07:00 |
|
Alexander Laamanen
|
f42f5a8ad3
|
Remove some extra logging.
|
2018-10-25 12:44:29 -07:00 |
|
Alexander Laamanen
|
e7e6a80587
|
No need to make upload public.
|
2018-10-25 12:39:51 -07:00 |
|
Alexander Laamanen
|
c294e65c36
|
A separate driver file is not really needed anymore
|
2018-10-25 12:39:51 -07:00 |
|
Alexander Laamanen
|
2ed6c3ef5e
|
Set output dir always according to the config.
|
2018-10-25 12:37:47 -07:00 |
|
Alexander Laamanen
|
c940f7e754
|
Conditional reload.
|
2018-10-25 12:37:47 -07:00 |
|
Alexander Laamanen
|
17845beadc
|
Fix the CommHost tests
|
2018-10-25 12:37:47 -07:00 |
|
Alexander Laamanen
|
5e74bcfb88
|
Fix tests, move remote_ default values to driver_config.
|
2018-10-25 12:30:57 -07:00 |
|
Alexander Laamanen
|
4d9cb19012
|
Refactor artifacts and output_dir implementations.
|
2018-10-25 12:21:24 -07:00 |
|
Alexander Laamanen
|
2d00dc6756
|
Add VMName to the vmx mods.
|
2018-10-25 11:17:09 -07:00 |
|
Alexander Laamanen
|
7b5943160b
|
Re-enable the CommHost() call. Use common's driver factory.
|
2018-10-25 11:17:09 -07:00 |
|
Alexander Laamanen
|
ba22090bc9
|
Move step_register and step_uload_vmx from iso to common.
|
2018-10-25 11:07:02 -07:00 |
|
Alexander Laamanen
|
b5298464c5
|
Move the remote_driver from iso to common.
|
2018-10-25 11:01:22 -07:00 |
|
Alexander Laamanen
|
91c7089455
|
Implement the first version of the remote Clone().
|
2018-10-25 10:37:45 -07:00 |
|
Alexander Laamanen
|
46cfb5a30c
|
Move driver_esx5 to commons and allow it to be instantiated wtih NewDriver()
|
2018-10-25 10:33:37 -07:00 |
|
Megan Marsh
|
fd8a85042d
|
use strconv.Quote instead of fmt.Sprint
|
2018-10-22 10:59:47 -07:00 |
|
Megan Marsh
|
18c5e8deb8
|
fix
|
2018-10-19 13:46:55 -07:00 |
|
Megan Marsh
|
1e4133cbf9
|
quote upload path
|
2018-10-19 13:43:13 -07:00 |
|
Megan Marsh
|
3f591d78f3
|
quote vmx path in register function
|
2018-10-19 13:42:40 -07:00 |
|
Megan Marsh
|
8cba32d526
|
escape all the d.sh calls that contain paths
|
2018-10-19 13:42:40 -07:00 |
|
Megan Marsh
|
5b9adc0c48
|
single quotes
|
2018-10-19 13:42:40 -07:00 |
|
Megan Marsh
|
e5e75df033
|
fix datastore path that contains spaces
|
2018-10-09 16:36:55 -07:00 |
|
Megan Marsh
|
38cc525ec7
|
new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
|
2018-09-14 11:06:38 -07:00 |
|
Jeffrey Martin
|
1833b4edaf
|
validate compaction is skipped when not 'thin'
|
2018-08-30 16:44:00 -05:00 |
|
Jeffrey Martin
|
b51cd22b21
|
document ESXi disk compaction & use verbose option
|
2018-08-30 16:44:00 -05:00 |
|
Jeffrey Martin
|
09c71f3810
|
add support for disk compaction to esx5 builder
|
2018-08-30 16:43:53 -05:00 |
|
Adrien Delorme
|
25de7ad1f2
|
PrivateKey => PrivateKeyFile
|
2018-08-29 14:40:33 +02:00 |
|
Adrien Delorme
|
5369c15459
|
helper: communicator.SSHFileSigner => ssh.FileSigner
* had to to avoid circular dependency
* this commit fixes #6631 ( esxi cannot be reached by ssh )
|
2018-08-29 14:40:33 +02:00 |
|
Adrien Delorme
|
51d2aac9f6
|
SSHPrivateKey => SSHPrivateKeyFile
|
2018-08-29 14:40:32 +02:00 |
|
Megan Marsh
|
bf191d1ef6
|
Merge pull request #6204 from arizvisa/GH-6197
Specify "bios.hddOrder" during the CreateVMX step for the vmware-iso builder.
|
2018-08-24 15:46:31 -07:00 |
|
Megan Marsh
|
340363a649
|
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
Merge ssh config funcs from builders
|
2018-08-23 16:03:36 -07:00 |
|
Megan Marsh
|
31d4f8af45
|
use a time.Duration instead of a hardcoded ms
|
2018-08-23 13:16:01 -07:00 |
|
Megan Marsh
|
918db58604
|
added new template variables to replace PACKER_KEY_INTERVAL with tunable key and keygroup intervals depending on driver used
|
2018-08-22 11:37:56 -07:00 |
|
Adrien Delorme
|
fa44a4546f
|
use ssh.ParsePrivateKey where we can
|
2018-08-22 18:23:09 +02:00 |
|
Adrien Delorme
|
41f6e0334d
|
refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
* still need to append the auth methods into an array for gracefullness
|
2018-08-22 17:02:23 +02:00 |
|
Adrien Delorme
|
6b3844a64f
|
Revert "allow to use ISO images in-place v.s. copying them"
|
2018-08-20 10:48:06 +02:00 |
|