Commit Graph

899 Commits (ff01e6715ab6ae89d4353ce7d98d356700a7bb30)

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
Megan Marsh d2dd158fe2 Implement cd_files option. The Addfile code is modified from the floppy_files
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 bbc3a5b0d1 add tests to make sure prepare for export defaults properly
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 b3c3e3ed63
Merge pull request #9589 from hashicorp/fix_9184
6 years ago
Adrien Delorme 44616d3bff
refactor initialization out from packer configs + tests (#9627)
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
Roger Hu 28f8241a05 update generated files
6 years ago
Moss 8ea64c5b35 undocument ssh_keypair_name and ssh_agent_auth
6 years ago
Moss 41edd09d3c undocument temporary_key_pair_name and ssh_private_key_file
6 years ago
Megan Marsh 4f77bb0c4a add new ssh_ciphers option
6 years ago
Megan Marsh 4178625afb re-add winrm_no_proxy option. Winrm code needs to be modified in order to read no_proxy env var when client is created rather than when net/http library is instantiated.
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
Joshua Foster d35f342319 add the ability to configure the http bind address. defaults to 0.0.0.0.
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 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
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
Megan Marsh 7e0cfd8b77 add undocumented tag to struct-markdown generator so that we can leave internal-use-only fields out of docs
6 years ago
Wilken Rivera e8f8ebf132
builder/vmware: Add some additional debug logging to the driver version check (#9064)
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
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
Megan Marsh 6008f911fd
Merge pull request #8847 from takaishi/support-keyboard-interactive
6 years ago
r_takaishi f50ff1d270 make generate
6 years ago
Paul Cichonski (pcichons) c3d793255e Do not test if NIC is reachable when ssh bastion is required
6 years ago
Wilken Rivera e1a46ec293
Fix gosimple S1025 linting errors (#8838)
6 years ago
Megan Marsh dde74232f2
Clearly document all template-engine-enabled options (#8770)
6 years ago
Jason A. Beranek 9cbb49bacb
builder/vmware/iso: Expand `guest_os_type` docs (#8760)
6 years ago
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
6 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
6 years ago
Moss 61bee60ecf Add StepHttpIpDiscover tests
6 years ago
Moss df38d11270 Fix compilation error
6 years ago
Moss 0566f1f999 Extract http ip discover to a new step
6 years ago
Megan Marsh 8c8de27509 add note about error abort to vmware warning
6 years ago
Sylvia Moss d6a351b173
Rename communicator config variables and remove deprecated code (#8584)
6 years ago
Megan Marsh be3c1ef106 bump the timeout to a very high level to protect against laggy CI machines
6 years ago
Adrien Delorme f1e6f8eac1 removed unused config puts
6 years ago
Adrien Delorme a67948f155 fix config pointers
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables.
6 years ago
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing
6 years ago
Stephen Tawn c66219084e Fix error message when ovftool is missing
7 years ago
Lars Lehtonen 5f02150e05
builder/vmware/common: defer close after testing for errors
7 years ago
Lars Lehtonen 9924d16fc3
builder/vmware/common: remove unused testHWConfig()
7 years ago
Lars Lehtonen 6eefe55e23
builder/vmware/iso: remove unused testState()
7 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
7 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
7 years ago
Adrien Delorme 21a0cbffba fmt
7 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Adrien Delorme 766e5c77ef builder.vmware.vmx: remove duplicate RemoteType field.
7 years ago
Adrien Delorme 00e3f97f5b builder.vmware.iso: remove duplicate Format field
7 years ago
Lars Lehtonen 2b795053b4
builder/vmware: fix dropped test errors
7 years ago
Megan Marsh c24693372d
Merge pull request #8132 from scienty/support_floppy_vmx_esxi
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Prakash Sidaraddi 67be007f45 Support floppy_files for vmx on esxi
7 years ago
allinwait 171c2a9a07 add the floppy label option
7 years ago
Adrien Delorme ba9ffcbf73 re-indent HWConfig struct comments
7 years ago
Adrien Delorme b3cdf2ac8f remove docs typo
7 years ago