Commit Graph

58 Commits (ef4afafde9e942ecc3f90baa47aee6423d84eac4)

Author SHA1 Message Date
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Megan Marsh 3f6deb8828 move multistep into the plugin sdk
6 years ago
Megan Marsh 1ffc358ada move tmp helper func into packer-plugin-sdk
6 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
6 years ago
Megan Marsh f28cabb162
Merge pull request #9940 from hashicorp/fix_9936
6 years ago
Megan Marsh b08dd28b85 skip slot 7 in disk creation so we don't use reserved slot
6 years ago
Megan Marsh eae3fda901 refactor out disk defaulting so it can be used to default the vmx cdrom too
6 years ago
Megan Marsh d2dd158fe2 Implement cd_files option. The Addfile code is modified from the floppy_files
6 years ago
Megan Marsh 25f2ec48d3
add network_name option to vmware builder to make it match the network option on the vsphere builder, so vmware users needn't update vmx data just for the network name (#9718)
6 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
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
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
Megan Marsh 89fb8f0d3e fix defaulting/lack thereof for cpu count and memory in vmware template
8 years ago
Ali Rizvi-Santiago 61ee3a44f5 Modified the cpus and memory options for the vmware builders to only apply them if they were specified.
8 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.
8 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.
8 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
8 years ago
Megan Marsh 3cf4c63a87 Change antiquated Master/Slave terminology for disk drives to more appropriate Primary/Secondary.
8 years ago
Ali Rizvi-Santiago 673d4579e4 Ack! Forgot to include the template variable in the definition for vmxTemplateData for commit 0e519d79e0. Now it's added..
8 years ago
Ali Rizvi-Santiago 0e519d79e0 Modified iso/step_create_vmx.go in the vmware-iso builder to also specify the "bios.hddOrder" field depending on the hdd device that was specified. This might close issue #6197
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
Megan Marsh ef4f3f143b
Merge pull request #5985 from AndiDog/f-5979-vmware-fusion-guestip-lookup-multiple-devices
8 years ago
Josh Soref fa36e1d961 spelling: processing
8 years ago
Andreas Sommer ff92fb883d Handle multiple devices per VMware network type
8 years ago
Ali Rizvi-Santiago df6cdcc7f7 Disable the usage of the XHCI bus for USB on the vmware-iso builder.
8 years ago
Megan Marsh 33acdbf3bf move comments so indentation is more logical
8 years ago
Ali Rizvi-Santiago ac2ddbcbf5 Fixes the assumption that all the VMware builder's drivers will implement a network mapper for mapping a network name to it's corresponding device.
8 years ago
Ali Rizvi-Santiago aefe41a44a Fixed an issue with the previous commit so that when the user does not specify the cdrom_adapter_type to fallback to the original decision made by the disk adapter type selection.
8 years ago
Ali Rizvi-Santiago eb0445ca96 Added support for specifying both the network adapter type and cdrom adapter type as requested by @night199uk. Also included the respective documentation for these new options.
8 years ago
Ali Rizvi-Santiago 74946071d2 Added support for specifying the disk adapter type to the vmware builders. This was squashed from the vmware-diskAdapterType branch (#2968) as submitted by Rami Abughazaleh <icnocop@users.noreply.github.com>. This closes #5671 and possibly #4885.
8 years ago
Ali Rizvi-Santiago b2fec18b1e Added parser for VMware Fusion's networking file. Replaced VmwareDriver's NetmapConfPath with a NetworkMapperInterface in order to handle the differences between VMware Fusion and the rest of the VMware suite.
8 years ago
Ali Rizvi-Santiago 58ebc5c9a5 When specifying NONE for serial or parallel in the VMware builder, disable the serial and parallel port devices entirely.
8 years ago
Ali Rizvi-Santiago 75fbfa0763 Replaced a hacky type assertion in the VMware builder with a call to Driver.GetVmwareDriver() that returns the driver-specific structure for ip and addressing information. Also implemented the addressing functions for the ESXi driver interface.
8 years ago
Ali Rizvi-Santiago 898b27c16d Added support for the NONE option to be specified for parallel and serial ports in the vmware iso builder.
8 years ago
Ali Rizvi-Santiago 884af69da1 go fmt on builder/vmware/*
8 years ago
Ali Rizvi-Santiago 0d6cf7fac4 Added support for auto-detection to the serial and parallel port types.
8 years ago
Ali Rizvi-Santiago 4225b3568e Fixed bad ORs and a bad fmtstring.
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 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker 9f992b8f80
go files are 0644
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker d920b3fbf4 run gofmt
10 years ago
Marc Siegfriedt 667c53942b use template for additional disks
11 years ago