Commit Graph

256 Commits (96d628eef1c8981ec8a893bebacaa48e71311ae2)

Author SHA1 Message Date
Megan Marsh 96d628eef1 fix silliness with pointers
7 years ago
Megan Marsh 5c2ca450bd fix tests
7 years ago
Megan Marsh 5815b376b4 remove unnecessary checks; we always default format to ovf if it is unset.
7 years ago
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.
7 years ago
Megan Marsh c3d6d45696 modify test so that it accesses CommConfig the same way we really do within the driver
7 years ago
Megan Marsh f18bb19f96 remove redundant config; CommConfig was already a part of the SSSHConfig struct
7 years ago
Megan Marsh fa12113eaf remove unused NewLocalArtifact
7 years ago
Megan Marsh 2ae235a28a fix tests
7 years ago
Megan Marsh 290f4a7c4c cleanup to make it actually build after that monstrous rebase
7 years ago
Alexander Laamanen 3193f50f17 Support export with the vmx builder.
7 years ago
Alexander Laamanen a68a639a1a Move step_export to common.
7 years ago
Alexander Laamanen 63054fb808 Fix the test.
7 years ago
Stuart Miller da5f322484 Add quotes around all filenames to prevent issues with spaces
7 years ago
Alexander Laamanen f42f5a8ad3 Remove some extra logging.
7 years ago
Alexander Laamanen e7e6a80587 No need to make upload public.
7 years ago
Alexander Laamanen c940f7e754 Conditional reload.
7 years ago
Alexander Laamanen 17845beadc Fix the CommHost tests
7 years ago
Alexander Laamanen 5e74bcfb88 Fix tests, move remote_ default values to driver_config.
7 years ago
Alexander Laamanen 4d9cb19012 Refactor artifacts and output_dir implementations.
7 years ago
Alexander Laamanen 2d00dc6756 Add VMName to the vmx mods.
7 years ago
Alexander Laamanen 7b5943160b Re-enable the CommHost() call. Use common's driver factory.
7 years ago
Alexander Laamanen ba22090bc9 Move step_register and step_uload_vmx from iso to common.
7 years ago
Alexander Laamanen b5298464c5 Move the remote_driver from iso to common.
7 years ago
Alexander Laamanen 91c7089455 Implement the first version of the remote Clone().
7 years ago
Alexander Laamanen 46cfb5a30c Move driver_esx5 to commons and allow it to be instantiated wtih NewDriver()
7 years ago
Adrien Delorme 51d2aac9f6 SSHPrivateKey => SSHPrivateKeyFile
8 years ago
Megan Marsh bf191d1ef6
Merge pull request #6204 from arizvisa/GH-6197
8 years ago
Megan Marsh 340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
8 years ago
Megan Marsh 31d4f8af45 use a time.Duration instead of a hardcoded ms
8 years ago
Megan Marsh 918db58604 added new template variables to replace PACKER_KEY_INTERVAL with tunable key and keygroup intervals depending on driver used
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
DanHam a39c5887fb
Test we halt if a bad path is set in vmx_path
8 years ago
DanHam 21117e5d38
Test we fail if displayName is not stored in the statebag as 'display_name'
8 years ago
DanHam 88c43ec98d
Test we fail if the displayName key is not found in the VMX
8 years ago
DanHam d68d26a6e5
Fix tests: We now need to set `displayName` key/val pair in the test VMX
8 years ago
DanHam 3eab3cc99b
ESXi builds require we store the value of displayName in the statebag
8 years ago
M. Marsh 406f4eeb93
Merge pull request #6394 from conradjones/master
8 years ago
Conrad Jones d9b6924986 Add cloneType to fusion driver
8 years ago
Bob Brumfield 04ff0761e6 Notify that we are skipping file, but retain error message
8 years ago
Bob Brumfield 591bfe3dfa Continue searching for leases even if one of the files cannot be read.
8 years ago
Conrad Jones d05a601d00 Add support to vmware-vmx builder for linked clones.
8 years ago
DanHam 73eb9a629e
Revert "Fix test - reporting compaction results requires a tmp file"
8 years ago
DanHam 2939cd75ae
Revert "Report the result of the disk compaction step"
8 years ago
DanHam 25dd27a164
Remove tmp directories created by builder/vmware/common tests
8 years ago
DanHam c828015bc3
Follow variable varName <-> statebag var_name convention
8 years ago
DanHam f342975ff3
Fix test - reporting compaction results requires a tmp file
8 years ago
DanHam 08f9d619a9
Report the result of the disk compaction step
8 years ago
DanHam 10d93dffa4
Fix tests for vmware/common
8 years ago
DanHam c48a7889f9
Simplify handling of disks by collating requirements and unifying ops
8 years ago
Ali Rizvi-Santiago 5d8b476a7f Fixed the regex in common/step_clean_vmx.go for the VMware builder to also support removal of sata-based cdrom devices. Also added a comment in iso/step_create_vmx.go that links both pieces of related code.
8 years ago