Commit Graph

341 Commits (ba767d1663db82d02fa18c087e4d99043d141fd3)

Author SHA1 Message Date
Megan Marsh 49b40e0789
Merge pull request #6984 from hashicorp/add_display_name_vmware
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
Megan Marsh 68c9e34bfe add new display_name template option
8 years ago
Megan Marsh 5815b376b4 remove unnecessary checks; we always default format to ovf if it is unset.
8 years ago
Megan Marsh f18bb19f96 remove redundant config; CommConfig was already a part of the SSSHConfig struct
8 years ago
Megan Marsh fa12113eaf remove unused NewLocalArtifact
8 years ago
Megan Marsh 2ae235a28a fix tests
8 years ago
Megan Marsh 290f4a7c4c cleanup to make it actually build after that monstrous rebase
8 years ago
Alexander Laamanen 3193f50f17 Support export with the vmx builder.
8 years ago
Alexander Laamanen a68a639a1a Move step_export to common.
8 years ago
Alexander Laamanen c294e65c36 A separate driver file is not really needed anymore
8 years ago
Alexander Laamanen 5e74bcfb88 Fix tests, move remote_ default values to driver_config.
8 years ago
Alexander Laamanen 4d9cb19012 Refactor artifacts and output_dir implementations.
8 years ago
Alexander Laamanen 2d00dc6756 Add VMName to the vmx mods.
8 years ago
Alexander Laamanen 7b5943160b Re-enable the CommHost() call. Use common's driver factory.
8 years ago
Alexander Laamanen ba22090bc9 Move step_register and step_uload_vmx from iso to common.
8 years ago
Alexander Laamanen b5298464c5 Move the remote_driver from iso to common.
8 years ago
Alexander Laamanen 46cfb5a30c Move driver_esx5 to commons and allow it to be instantiated wtih NewDriver()
8 years ago
Megan Marsh fd8a85042d use strconv.Quote instead of fmt.Sprint
8 years ago
Megan Marsh 18c5e8deb8 fix
8 years ago
Megan Marsh 1e4133cbf9 quote upload path
8 years ago
Megan Marsh 3f591d78f3 quote vmx path in register function
8 years ago
Megan Marsh 8cba32d526 escape all the d.sh calls that contain paths
8 years ago
Megan Marsh 5b9adc0c48 single quotes
8 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
Adrien Delorme 5369c15459 helper: communicator.SSHFileSigner => ssh.FileSigner
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 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 fa44a4546f use ssh.ParsePrivateKey where we can
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
Adrien Delorme 6b3844a64f
Revert "allow to use ISO images in-place v.s. copying them"
8 years ago
Adrien Delorme 17f2949e36 remove stuttering; ISOConfig.InplaceISO -> Inplace
8 years ago
Adrien Delorme 82e480a285 allow to use ISO images inplace v.s. copying them
8 years ago
bugbuilder 2c4f703ff8 Merge
8 years ago
DanHam 902cea0f30
ESXi: Fix failure to export VM when `displayName` differs from `vm_name`
8 years ago
DanHam cd7d3812ea
ESXi: Fix failure to get VM IP when `displayName` differs from `vm_name`
8 years ago
M. Marsh 8658eaf1ac
Merge pull request #6424 from DanHam/fix-esxi-export-hang
8 years ago
DanHam 939aa7e289
Add test: We shouldn't error when main remote options are unset
8 years ago
DanHam efcdf60d96
Add tests to ensure remote_password is set when exporting with ovftool
8 years ago
DanHam 0d9134bdbc
Fix existing tests as they were not doing what they should have been
8 years ago
DanHam eee16262b6
Remove duplicate/redundant test
8 years ago
DanHam c8199458a7
Prevent hang on export for remote ESXi build due to empty remote_password
8 years ago
Conrad Jones d05a601d00 Add support to vmware-vmx builder for linked clones.
8 years ago
M. Marsh c586312bf7
Merge pull request #4538 from hashicorp/defaultovf
8 years ago
DanHam c828015bc3
Follow variable varName <-> statebag var_name convention
8 years ago
DanHam c48a7889f9
Simplify handling of disks by collating requirements and unifying ops
8 years ago
Matthew Hooker 67a9c7fb92
we never expect remote cache to be a directory.
8 years ago
Matthew Hooker de1dac1bdf
don't delete the cache directory.
8 years ago
Matthew Hooker 97cfd60b82
Remove remote cache correctly.
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
Matthew Hooker 451e3d0554
builder/vmware-esxi: remove floppy files when done
8 years ago
Matthew Hooker 6bbfe7e0bd
remove useless check against format
8 years ago
Matthew Hooker fdeadfe3f6
builder/vmware: correctly default export format to ovf
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
M. Marsh 83162717ed
Merge pull request #4563 from marema31/vmware-iso-warn-esx
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 fa2dddd26d Fixed some things mucked up during rebase.
9 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.
9 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.
9 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.
9 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.
9 years ago
Ali Rizvi-Santiago 029c357d8c Modified some tests to require the PACKER_ACC environment variable to be set before executing them. This turns them into acceptance tests as per CONTRIBUTING.md.
9 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.
9 years ago
Ali Rizvi-Santiago 6423525a33 Updated imports of github.com/mitchellh/packer to new naming scheme github.com/hashicorp/packer
9 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.
9 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.
9 years ago
Ali Rizvi-Santiago 884af69da1 go fmt on builder/vmware/*
9 years ago
Ali Rizvi-Santiago 0d6cf7fac4 Added support for auto-detection to the serial and parallel port types.
9 years ago
Ali Rizvi-Santiago e389d30a1b Implemented the unit-tests for builder/vmware/iso/step_create_vmx.go
9 years ago
Ali Rizvi-Santiago 15cb6a833a Ugh..missing argument in VMware builder's driver_esx5 unit-test due to api change for .HostIP(). Fixed.
9 years ago
Ali Rizvi-Santiago 4225b3568e Fixed bad ORs and a bad fmtstring.
9 years ago
Ali Rizvi-Santiago 75d3ea7cee Added support for sound, serial ports, parallel ports, usb, and specifying a default network to the vmware builder.
9 years ago
Matthew Hooker 8cd403425e
test fixes WIP
9 years ago
Matthew Hooker 7a189a83a1
fix imports
9 years ago
Matthew Hooker a831d522be
change run signatures
9 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
9 years ago
Matthew Hooker ebe995c0ff
run goimports
9 years ago
SwampDragons 8a30b3db80
Merge pull request #5456 from GoSecure/vmware-iso-improved-network-logging
9 years ago
bugbuilder f7b45312f1 Removing skip attribute
9 years ago
bugbuilder be2afccb85 Revamped the process to verify remote cache.
9 years ago
bugbuilder 463d87adcd Merge branch 'master' of https://github.com/hashicorp/packer into esxi-remote-cache
9 years ago
bugbuilder 23f4d187e2 validating keep_registered and fixing skip_export issues
9 years ago
Olivier Bilodeau 820811675d vmware-iso builder: Logging on network errors on connection refused
9 years ago
Matthew Hooker 07b013945f
more consistent flag name
9 years ago