Commit Graph

120 Commits (e2fe35ef40bbce9b87f945901afa00a3fa769093)

Author SHA1 Message Date
aaronk1 4ffa1779f1
Correct typo in var name
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Megan Marsh 0371e2a1b4
Merge pull request #7074 from hashicorp/fix_3329
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Ali Rizvi-Santiago 1a36458e9e Tiny fix to replace some duplicate code with usage of the `halt` closure in the StepCloneVMX step for the vmware-vmx builder.
7 years ago
Megan Marsh 0058422a5c also for vmx
7 years ago
Ali Rizvi-Santiago 27b16cee0a Added a new "temporaryDevices" key to the VMware builders' statebag in order to keep track of devices that were temporarily added during build and need to be removed later by StepCleanVMX.
7 years ago
Megan Marsh 536e0501ac Validate username/password for ovftool during prepare.
7 years ago
Megan Marsh 68c9e34bfe add new display_name template option
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 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 2ed6c3ef5e Set output dir always according to the config.
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
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Megan Marsh 340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
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
Megan Marsh 1d15f09e36
Merge pull request #6440 from DanHam/simplify-vmx-find-disks
8 years ago
DanHam fff72780e1
Further simplify enumeration of attached disks for VMware VMX builder
8 years ago
Conrad Jones d05a601d00 Add support to vmware-vmx builder for linked clones.
8 years ago
DanHam a866232ac9
Use regex based approach to detect attached disks
8 years ago
DanHam c828015bc3
Follow variable varName <-> statebag var_name convention
8 years ago
DanHam a729ecda87
Fix tests for vmware/vmx builder
8 years ago
DanHam c48a7889f9
Simplify handling of disks by collating requirements and unifying ops
8 years ago
DanHam bd9e585cb9
Add test for enumeration of vmx network type
8 years ago
DanHam 94d5a7f2e2
Fix copy/paste error referencing Virtualbox
8 years ago
DanHam 1aee759f06
Fix tests and reconfigure for support of multi-disk vm
8 years ago
DanHam 6c9d4efd9f
Fix error on compaction step of vmx build. Support compacting multi-disk vm
8 years ago
Matthew Hooker c6299972b9
s/boot_command/bootcommand/
8 years ago
Matthew Hooker 408eba88ad
flatten boot command config and implement for vmware
8 years ago
Matthew Hooker 673245afcf
Replace boot command parser with PEG parser.
8 years ago
Ali Rizvi-Santiago 55702a697a Ack, forgot to :w in vim. Changed ui.Say in step_clone_vmx.go to use fmt.Sprintf as it originally was a call to log.Printf.
8 years ago
Ali Rizvi-Santiago 72da7cbfbb Fixed a case-sensitivity issue when determing the network type during cloning in the vmware-vmx builder and added also some logs that output the different options that were determined from the .vmx. This outputs more accurate debug information and helps out with issue #5925
8 years ago
Ali Rizvi-Santiago 75d3ea7cee Added support for sound, serial ports, parallel ports, usb, and specifying a default network to the vmware builder.
8 years ago
Matthew Hooker 8cd403425e
test fixes WIP
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago