Commit Graph

706 Commits (a2c3de939661d47ad7c19bb59ba85bd04e10ccda)

Author SHA1 Message Date
DanHam 0821653256
Fix 'nil' dir in VMware artifact when building locally
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
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
Ali Rizvi-Santiago 96bdf17d2e Added knowledge of the "temporaryDevices" statebag to the StepCleanVMX tests for the VMware builders.
7 years ago
Ali Rizvi-Santiago fa4998e1ec Modified StepCleanVMX to walk through the "temporaryDevices" statebag so that we can disable or remove its devices cleanly. This gets rid of the regex hack that was previously used to identify a cdrom-image.
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 3512c3c5ea Updated StepConfigureVMX to add the floppy disk device to the "temporaryDevices" statebag so that StepCleanVMX can remove it 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 11ef407b4d
Merge pull request #7016 from rickard-von-essen/vmware-tech-prev
7 years ago
Megan Marsh ec75913412 fix crash that occurs when dir is nil
7 years ago
Megan Marsh 89fb8f0d3e fix defaulting/lack thereof for cpu count and memory in vmware template
7 years ago
Ali Rizvi-Santiago f8c23c1808 Updated things related to the vmware-iso builder to include @azr's suggestions.
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 fb7ce9f2b5 Renamed both `cpu_count` and `memory_size` to `cpus` and `memory` (respective).
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
Rickard von Essen 4ea3d1567a
vmware: Correctly parse version for VMware Fusion Tech Preview
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 dca02c7b07
Merge pull request #6962 from hashicorp/fix_6940
7 years ago
Megan Marsh 3b413d2e5e fix rebase conflicts
7 years ago
Megan Marsh 89184ae384 rework if/else to simplify main code body.
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
Adrien Delorme f1fa28847f
remove debug line.
7 years ago
Adrien Delorme 78ac943679
Merge pull request #6987 from hashicorp/6624
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 e5c4a4a6fb create export directories for vmx and ovf file types, too.
7 years ago
Megan Marsh 68c9e34bfe add new display_name template option
7 years ago
Megan Marsh 790d5661c5 escape username
7 years ago
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 c294e65c36 A separate driver file is not really needed anymore
7 years ago
Alexander Laamanen 2ed6c3ef5e Set output dir always according to the config.
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