Commit Graph

310 Commits (e2fe35ef40bbce9b87f945901afa00a3fa769093)

Author SHA1 Message Date
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
Megan Marsh 6ea64bc378
Merge pull request #7191 from arizvisa/GH-7190
7 years ago
Ali Rizvi-Santiago 4894873971 Added logic to the vmware-iso builder that appends the number of cores per socket to the vmx in `stepCreateVmx`.
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Megan Marsh 7d5ea43f41 revert the hddorder being added to the vmx template, since it's breaking things for some of our users.
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Megan Marsh dbfc1b5aff fix tests
7 years ago
Megan Marsh 0fe4d79bbf add validation to prevent users from being confused about format functionality
7 years ago
Ali Rizvi-Santiago e0d3861e81 Updated StepCreateVMX to add the CDROM device that packer uses to the "temporaryDevices" statebag so that StepCleanVMX can unmount its ISO later.
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 89fb8f0d3e fix defaulting/lack thereof for cpu count and memory in vmware template
7 years ago
Ali Rizvi-Santiago 61ee3a44f5 Modified the cpus and memory options for the vmware builders to only apply them if they were specified.
7 years ago
Ali Rizvi-Santiago cd45248eaa Moved common hardware config options used by the vmware-iso builder into common/hw_config and added options for the CpuCount and MemorySize.
7 years ago
Ali Rizvi-Santiago 4e73c85e22 Re-sorted, grouped, and commented the options in the template VMX for the VMWare builder to keep things organized.
7 years ago
Megan Marsh 3b413d2e5e fix rebase conflicts
7 years ago
Megan Marsh 536e0501ac Validate username/password for ovftool during prepare.
7 years ago
Megan Marsh 49b40e0789
Merge pull request #6984 from hashicorp/add_display_name_vmware
7 years ago
Megan Marsh 2e2b2cea82 add a warning that checks for collisions between packer-generated values in the default vmx file and the vmx_data
7 years ago
Megan Marsh 3cf4c63a87 Change antiquated Master/Slave terminology for disk drives to more appropriate Primary/Secondary.
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 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 c294e65c36 A separate driver file is not really needed anymore
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 46cfb5a30c Move driver_esx5 to commons and allow it to be instantiated wtih NewDriver()
7 years ago
Megan Marsh fd8a85042d use strconv.Quote instead of fmt.Sprint
7 years ago
Megan Marsh 18c5e8deb8 fix
7 years ago
Megan Marsh 1e4133cbf9 quote upload path
7 years ago
Megan Marsh 3f591d78f3 quote vmx path in register function
7 years ago
Megan Marsh 8cba32d526 escape all the d.sh calls that contain paths
7 years ago
Megan Marsh 5b9adc0c48 single quotes
7 years ago
Megan Marsh e5e75df033 fix datastore path that contains spaces
8 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Jeffrey Martin 1833b4edaf
validate compaction is skipped when not 'thin'
8 years ago
Jeffrey Martin b51cd22b21
document ESXi disk compaction & use verbose option
8 years ago
Jeffrey Martin 09c71f3810
add support for disk compaction to esx5 builder
8 years ago
Adrien Delorme 25de7ad1f2 PrivateKey => PrivateKeyFile
8 years ago