Commit Graph

642 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
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
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 cba4d3235f
cleanup
8 years ago
Matthew Hooker bf0a320125
Implement new parser for qemu boot command
8 years ago
Matthew Hooker 1c0af28662
Some cleanup and comments.
8 years ago
Matthew Hooker 4e2f14196a
Rely on context to cancel typing boot command.
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
Ali Rizvi-Santiago 2c2904c095 Modified the path finders for the Player driver in the vmware-builders to search through all the possible variations for dhcp configuration and leases..
8 years ago
Ali Rizvi-Santiago 7e9699675f Modified device matching logs to look more consistent.
8 years ago
Ali Rizvi-Santiago 6e176f97a0 Added logs to all of the VMware drivers that emits each detected network device that gets enumerated for a network.
8 years ago
Ali Rizvi-Santiago 646523c5f4 Replaced the call to os.Open and ReadNetworkMap to just a single call to ReadNetmapConfig in both the Workstation9 and Player5 VMware drivers.
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
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
Josh Soref 61030c0d85 spelling: output
8 years ago
Josh Soref d987fcefc3 spelling: multiples
8 years ago
Andreas Sommer ff92fb883d Handle multiple devices per VMware network type
8 years ago
Megan Marsh ac2e02b938 remove loglines that should not have made it onto master
8 years ago
Ali Rizvi-Santiago df6cdcc7f7 Disable the usage of the XHCI bus for USB on the vmware-iso builder.
8 years ago
SwampDragons 9e8e376d6c
Merge pull request #5932 from hashicorp/add_configurable_snapshot_timeout
8 years ago
Megan Marsh 597ddc2192 add configurable snapshot timeout to oracle-classic 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 27ed479b0a Reinforced the VMWare Workstation builder methodology for locating the dhcp.conf and dhcpd.leases files on Linux.
8 years ago
Ali Rizvi-Santiago d6e5342ece Fixed a type-o in the VMWare builder when locating the dhcp configuration file on Linux.
8 years ago
Ali Rizvi-Santiago fa2dddd26d Fixed some things mucked up during rebase.
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 594ed950c7 Fixed a race condition in builder/vmware/common/driver_parser.go due to a misunderstanding how channels work when you close them.
8 years ago
Ali Rizvi-Santiago 737e951685 Added missing root path to path-finders for the VMware Fusion implementation in the vmware builder as mentioned by @SwampDragons.
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 069d00f70b Added the paths suggested by @phekmat and @SwampDragons for VMware Fusion... Although parser for the new mapper format is likely to be needed still.
8 years ago
Ali Rizvi-Santiago 8cc0776f3a Fixed oversight in VMware builder's mock-driver that neglected to initialize 'HostAddressResult'.
8 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.
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 258804106b Added missing GetVmwareDriver() method to VMware Builder's DriverMock.
8 years ago
Ali Rizvi-Santiago 6423525a33 Updated imports of github.com/mitchellh/packer to new naming scheme github.com/hashicorp/packer
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 b52e2d3f45 Added the ability for the vmware-builder to fallback and determine the network device-name using the .vmx configuration in case of a guest using the "custom" connection type.
8 years ago
Ali Rizvi-Santiago e389d30a1b Implemented the unit-tests for builder/vmware/iso/step_create_vmx.go
8 years ago
Ali Rizvi-Santiago 15cb6a833a Ugh..missing argument in VMware builder's driver_esx5 unit-test due to api change for .HostIP(). Fixed.
8 years ago
Ali Rizvi-Santiago 9b95ce0bc6 Completely forgot to support the unix paths in each of the drivers for the VMware builder. Fixed.
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
SwampDragons 8ae8f31a52
Merge pull request #5681 from mcandre/super-key
8 years ago
Matthew Hooker 8bdd3b45c7
use helper functions for reading vmx files
8 years ago
Matthew Hooker 76b2ce8604
log which vmware driver we decide on
8 years ago
Matthew Hooker 07421b4433
test vmware workstation version checking
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
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Andrew Pennebaker d069dc5b7c handle holding a-z keys, such as for boot options (vmware builder)
8 years ago
Andrew Pennebaker 4acc98a729 add super key (vmware builder)
8 years ago
SwampDragons 8a30b3db80
Merge pull request #5456 from GoSecure/vmware-iso-improved-network-logging
8 years ago
bugbuilder f7b45312f1 Removing skip attribute
8 years ago
bugbuilder be2afccb85 Revamped the process to verify remote cache.
8 years ago
bugbuilder 463d87adcd Merge branch 'master' of https://github.com/hashicorp/packer into esxi-remote-cache
8 years ago
bugbuilder 23f4d187e2 validating keep_registered and fixing skip_export issues
9 years ago
Matthew Hooker 4d117bf117
Make vm log output less confusing
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
Matthew Hooker 106408f6be
add new disable_vnc option
9 years ago
nictrix 6a238a3ef3
add option to skip vnc phase and update docs
9 years ago
Matthew Hooker 2a326b5172
fix nil ptr exception
9 years ago
Megan Marsh e93d64e80f Merge pull request #4592 from jimmythedog/ovfexportpath-localoutputdir
9 years ago
Matthew Hooker cd11e4ff33 Merge pull request #5187 from mkuzmin/vmware-artifactid
9 years ago
Matthew Hooker 28894fb418 Merge pull request #5274 from mmerdes/master
9 years ago
Victor Ronin cb75796389 Show a message why VM export was skipped while building on VMWare Fusion/Workstation
9 years ago
Matthias Merdes c8d09b5152 Fix timestamp interpolation in created file name
9 years ago
Michael Kuzmin 9876a28ea7 vmware: publish vm_name as artifact ID
9 years ago
bugbuilder 15eb338596 Cleaning refactoring name errors x2
9 years ago
bugbuilder f31f154237 Cleaning refactoring name errors
9 years ago
bugbuilder b50e279d8a Making visible verify cache step
9 years ago
bugbuilder d4e0847a74 remove unnecessary initialization
9 years ago
bugbuilder 22aa89db27 file scheme has prioriry as remote targetPath
9 years ago
bugbuilder 84ad413e23 Set remote iso path
9 years ago
bugbuilder 4023b618b4 Verify remote cache for ESXi
9 years ago
Matthew Hooker d35eeecf46
vnc port discovery timeout is 15 seconds
9 years ago
Megan Marsh 2a6f5f1b13 specify HostKeyCallback for vmware esx5 driver
9 years ago
Matthew Hooker bf830e393d Merge pull request #4810 from bryonr/fix_vmware_shutdown_cleanup_osx
9 years ago
Matthew Hooker 730cc0889e Merge pull request #4919 from hashicorp/fix4798
9 years ago
Matthew Hooker f801c507fc
builder/vmware: make vnc probe timeout configurable
9 years ago