Commit Graph

23 Commits (azr_remove_amazon_builder)

Author SHA1 Message Date
Pyrrvs 12a6fddbd8 handle apple dhcp lease with missing 'name' and 'lease' informations
5 years ago
Pyrrvs f0612e4688 improve parser by skipping all lines containing a '{' or a '}'. fix unecessary []byte cast (linter issue).
5 years ago
gla 7201ce9248 make packer compatible MacOS BigSur by making vmware fusion drivers able to lookup the VM IP address in apple dhcpd leases instead of vmware leases.
5 years ago
Lars Lehtonen 03a0beb683
builder/vmware/common: simplify type assertion switch (#9893)
6 years ago
Wilken Rivera 03a374f4b6
Fix linting issues for SA6005 check (#9854)
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
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
Ali Rizvi-Santiago 0609909f1a Fixed some lint issues.
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 7c1ad4adcf Added unit-tests for the dhcpd configuration components in the vmware builder, and fixed a few discovered race conditions.
6 years ago
Adrien Delorme 94a1f0bcb6 go fmt
6 years ago
Vladislav Rassokhin 991cf22504 Prevent endless reading of closed file in vmware plugin
7 years ago
Andreas Sommer ff92fb883d Handle multiple devices per VMware network type
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 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 884af69da1 go fmt on builder/vmware/*
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