packer-cn/builder/virtualbox/common
Adrien Delorme 0fa60c68fb
Drop the iso_checksum_type & iso_checksum_url fields (#8437)
* Drop the iso_checksum_type & iso_checksum_url fields

In favor of simply using iso_checksum that will know what to do.

* fix after master merge

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* remove checksum lowercasing tests

* Update builder_test.go

* Update builder_test.go

* better docs

* Update builder_test.go

* even better docs

* Update config.go

* Update builder_test.go

* Update step_create_vmx_test.go

* make generate

* better docs

* fix imports

* up tests

* Update _ISOConfig-required.html.md

* Update builder_test.go

* don't use sha1.Sum("none") as a caching path

* Update builder_test.go

* better docs

* Update iso_config_test.go

remove ISOChecksumType/ISOChecksumURL references

* Update step_download_test.go

* add iso_checksum_url and iso_checksum_type fixers + tests

* add concrete examples of checksum values

* add examples of checksumming from local file

* update go-getter dep

* up deps

* use new go-getter version

* up ESX5Driver.VerifyChecksum: use go-getter's checksumming

* ISOConfig.Prepare: get checksum there in case we need it as a string in ESX5Driver.VerifyChecksum

* Update iso_config.go

* get go-getter from v2 branch

* Update driver_esx5.go

add more comments

* Update driver_esx5.go

* show better error message when the checksum is invalid

* Update builder_test.go

put in a valid checksum to fix tests, checksum is md5("packer")

* Update builder_test.go

test invalid and valid checksum

* more test updating

* fix default md5 string to be a valid md5

* TestChecksumFileNameMixedCaseBug: use 'file:' prefix for file checksumming

* Update iso_config_test.go

* Update iso_config_test.go

* Update builder_test.go

* Update builder_test.go

* Update builder_test.go

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update go.mod

* Update go.mod

* Update CHANGELOG.md
2020-05-28 11:02:09 +02:00
..
artifact.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
artifact_test.go Sharing info with post-processors via artifact (#8632) 2020-01-30 11:27:58 +01:00
comm.go Rename communicator config variables and remove deprecated code (#8584) 2020-01-09 08:37:30 -08:00
comm_config.go add undocumented tag to struct-markdown generator so that we can leave internal-use-only fields out of docs 2020-05-01 10:31:38 -07:00
comm_config_test.go add undocumented tag to struct-markdown generator so that we can leave internal-use-only fields out of docs 2020-05-01 10:31:38 -07:00
driver.go Remove all floppy controllers before adding a new one 2020-03-02 21:56:20 -08:00
driver_4_2.go return error when LoadSnapshots turns up empty 2020-03-18 14:03:22 -07:00
driver_4_2_test.go builder/virtualbox/common: Move Driver here 2013-12-21 15:00:48 -08:00
driver_mock.go Remove all floppy controllers before adding a new one 2020-03-02 21:56:20 -08:00
export_config.go fix generation script, bugfixes in source comments, update website paths in primary codebase 2020-04-07 17:53:22 -04:00
export_config_test.go virtualbox: merge ExportOpts and ExportConfig structs 2019-06-19 16:35:15 +02:00
guest_additions_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
guest_additions_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
hw_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
hw_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
output_config.go allow user defined output filename 2020-05-05 16:09:05 -07:00
output_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
run_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
run_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
shutdown_config.go Adds acpi_shutdown to virtualbox builder (#8587) 2020-01-09 08:36:19 -08:00
shutdown_config_test.go Retry command execution when VM session is locked (#8483) 2019-12-13 10:47:19 +01:00
snapshot.go virtualbox: simplify ParseSnapshotData 2019-11-06 10:24:20 +01:00
snapshot_test.go virtualbox: simplify ParseSnapshotData 2019-11-06 10:24:20 +01:00
step_attach_floppy.go send logs about floppy failure directly to UI not just logs (#9272) 2020-05-25 12:02:29 +02:00
step_attach_floppy_test.go Add a simple test for the call to remove all floppy controllers 2020-03-03 20:58:09 -08:00
step_attach_guest_additions.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_configure_vrdp.go Fix gosimple S1025 linting errors (#8838) 2020-03-04 15:31:30 -05:00
step_download_guest_additions.go Drop the iso_checksum_type & iso_checksum_url fields (#8437) 2020-05-28 11:02:09 +02:00
step_export.go allow user defined output filename 2020-05-05 16:09:05 -07:00
step_export_test.go fix tests 2020-05-06 09:27:20 -07:00
step_http_ip_discover.go Replace file shared state by statebag (#9238) 2020-05-19 11:49:48 +02:00
step_http_ip_discover_test.go Replace file shared state by statebag (#9238) 2020-05-19 11:49:48 +02:00
step_port_forwarding.go Rename communicator config variables and remove deprecated code (#8584) 2020-01-09 08:37:30 -08:00
step_remove_devices.go move retry code into the common/retry pkg and make retry context aware 2019-04-09 17:46:38 +02:00
step_remove_devices_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_run.go implement ID and Type values in the provisioner template info sharing 2019-12-13 11:57:01 -08:00
step_shutdown.go Adds acpi_shutdown to virtualbox builder (#8587) 2020-01-09 08:36:19 -08:00
step_shutdown_test.go Adds acpi_shutdown to virtualbox builder (#8587) 2020-01-09 08:36:19 -08:00
step_ssh_key_pair.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_suppress_messages.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_suppress_messages_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_test.go fix imports 2018-01-24 17:09:17 -08:00
step_type_boot_command.go Replace file shared state by statebag (#9238) 2020-05-19 11:49:48 +02:00
step_upload_guest_additions.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_upload_version.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_upload_version_test.go test fixes WIP 2018-01-24 17:09:17 -08:00
step_vboxmanage.go Replace file shared state by statebag (#9238) 2020-05-19 11:49:48 +02:00
vbox_version_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
vbox_version_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
vboxbundle_config.go make fmt autogenerated docs 2019-06-06 16:29:25 +02:00
vboxbundle_config_test.go use interpolate.NewContext() instead of testConfigTemplate(t) 2019-06-14 12:17:28 +02:00
vboxmanage_config.go packer.io prefix removal, html extension remove for in-code errors 2020-04-07 17:53:22 -04:00
vboxmanage_config_test.go virtualbox merge vbpx manage configs 2019-06-19 17:07:23 +02:00