Commit Graph

375 Commits (poc/packer-init)

Author SHA1 Message Date
Sylvia Moss 31f08909b4
Add usb_scan_codes option to use USB scancodes instead of VNC for remote builds (#9895)
6 years ago
Lars Lehtonen 03a0beb683
builder/vmware/common: simplify type assertion switch (#9893)
6 years ago
Wilken Rivera f4556fd3f1
Merge pull request #9831 from hashicorp/remedial_remote_export_config_tests
6 years ago
Wilken Rivera 03a374f4b6
Fix linting issues for SA6005 check (#9854)
6 years ago
Megan Marsh 1c5bc41beb refactor ovftool validation into vmware driver
6 years ago
Megan Marsh a6d5106cd7 Allow "export" to ovf/ova for local vmware builds in addition to esx ones.
6 years ago
Megan Marsh e9b526ee2d
Move step_create_disk into common folder, and add to vmx builder (#9815)
6 years ago
Megan Marsh a2cfaace59 extract output dir configuration and defaulting into the step_output_dir, using pointers to make sure they get set properly back on the main config
6 years ago
Megan Marsh 3b2bedf794 implement a remote_output_directory option, and heavily comment output code
6 years ago
Megan Marsh b0d2201d55
Merge pull request #9782 from hashicorp/fix_9151
6 years ago
Megan Marsh 0a5cd953fc fully destroy vm if it was cancelled or errored
6 years ago
Megan Marsh aa2418cf01
add progress tracker to vmware-esx iso upload. Add colored prefix to … (#9779)
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
Megan Marsh 395a0c472e improve postprocessor stdout
6 years ago
Megan Marsh 74aef3c819 apply same url encoding to other places we call ovftool
6 years ago
Megan Marsh a687d6fe12
ci/tech-debt: Fix vmware acceptance tests (#9636)
6 years ago
Adrien Delorme 1edd848877 esx5driver.VerifyChecksum: try checksum remote file instead of local file
6 years ago
Ali Rizvi-Santiago 3da5a64a8d Fixed a race in the ReadNetworkingConfig implementation from the parsers belonging to the vmware builders that existed between reading the version and consuming tokens from the rest of the file.
6 years ago
Megan Marsh 5d67183c4c fix test
6 years ago
Megan Marsh 093cfcfd9f
Merge pull request #9322 from arizvisa/GH-8528
6 years ago
Ali Rizvi-Santiago 8985ba077c Re-added the (mistakenly removed) host override to the CommHost for the vmware builders.
6 years ago
Megan Marsh 4cd3429914 add ssh override test
6 years ago
Ali Rizvi-Santiago 9c5a65263f Added @SwampDragons' suggestion to the `CommHost()` implementation for the vmware builders which uses the communicator config's `Config.Port()` function to determine the communication port-number independent of the configured protocol.
6 years ago
Megan Marsh baed65156c
Merge pull request #9319 from arizvisa/GH-8528.refactor
6 years ago
Ali Rizvi-Santiago 898321bcfe Added suggestions from @SwampDragons to the parsers from the vmware builders, included unit-tests and sample file for fusion's networking file, and fixed a few situations where the channel wasn't being closed.
6 years ago
Megan Marsh df37918467
Merge pull request #9303 from arizvisa/GH-8528.unit-tests
6 years ago
Ali Rizvi-Santiago e5b6d8c37c Didn't know that WinRM uses a different variable for the port number when trying to determine the communication host in `CommHost`...now it's fixed.
6 years ago
Ali Rizvi-Santiago 229b5d17ff Re-worked the vmware builder drivers so that they're able to check multiple ip addresses when trying to connect via the CommHost.
6 years ago
Ali Rizvi-Santiago 0609909f1a Fixed some lint issues.
6 years ago
Ali Rizvi-Santiago ad7194c920 Rewrote the GuestIP implementation in the vmware builder to use the new dhcpd lease parsers instead of the old regexp-based logic.
6 years ago
Ali Rizvi-Santiago 020b005522 Finished implementing the final dhcpd lease entries parser for the vmware builders and also included its own unit tests.
6 years ago
Ali Rizvi-Santiago cf5332fa20 Updated the dhcpd lease entry parser in the vmware builder to return errors if any are encountered.
6 years ago
Ali Rizvi-Santiago afa4696985 Tightened the regular expressions used by the vmware builder to parse the dhcpd leases, and added support for parsing the weekdays.
6 years ago
Ali Rizvi-Santiago e2a7c317eb Implemented the dhcpd lease entry decoder and the address decoder for the vmware builder.
6 years ago
Ali Rizvi-Santiago efb775accb Added a number of parsing combinators to the vmware builder and some minor tests for them to help with parsing dhcpd leases.
6 years ago
Ali Rizvi-Santiago f17007d546 Removed the sentinelSignaller chan from the vmware builder parsers and its unit-tests, and also commented all of the goroutines that are used.
6 years ago
Ali Rizvi-Santiago 159ea595df More lint issues fixed...
6 years ago
Ali Rizvi-Santiago 32b64e0576 Fixed some lint issues in the unit tests for the vmware builder driver parsers.
6 years ago
Adrien Delorme 0fa60c68fb
Drop the iso_checksum_type & iso_checksum_url fields (#8437)
6 years ago
Ali Rizvi-Santiago 2a8bc45bc4 Added unit-tests for the netmap parsing components in the vmware builder.
6 years ago
Ali Rizvi-Santiago 7c1ad4adcf Added unit-tests for the dhcpd configuration components in the vmware builder, and fixed a few discovered race conditions.
6 years ago
Sylvia Moss 1c30a71d09
Replace file shared state by statebag (#9238)
6 years ago
Wilken Rivera e8f8ebf132
builder/vmware: Add some additional debug logging to the driver version check (#9064)
6 years ago
Megan Marsh a48c0ecf49 update docs for headless to help users know they may need to launch the gui
6 years ago
Jeff Escalante 2999934326
fix generation script, bugfixes in source comments, update website paths in primary codebase
6 years ago
Jeff Escalante 9165be87da
packer.io prefix removal, html extension remove for in-code errors
6 years ago
Jeff Escalante 4afd107eeb
patch source files for extensions changes
6 years ago
Sylvia Moss b17b211aa9
Add cleanup_remote_cache config option to vmware-iso (#8917)
6 years ago
Adrien Delorme 88297c796d Merge branch 'master' into hcl2_singular_blocks
6 years ago
Adrien Delorme 94a1f0bcb6 go fmt
6 years ago