Commit Graph

202 Commits (c29e3915be5a95643a00a103e7d97d607834bfcd)

Author SHA1 Message Date
Ali Rizvi-Santiago b1ff14714b go fmt
8 years ago
Ali Rizvi-Santiago 11ff4439a6 Moved the setting of HTTPDownloader's current progress to after the object actually gets instantiated. ;)
8 years ago
Ali Rizvi-Santiago 0fa6c3782e Added a progressbar using gopkg.in/cheggaaa/pb.v1 as per #3578 for all the DownloadClients in common/download.go.
8 years ago
Ali Rizvi-Santiago 2f1104625d Fixed some of the unit-tests in common/ due to the changes made in {config,download}.go
8 years ago
Ali Rizvi-Santiago 6170e24ecb Refactored the code a bit to move the CopyFile hack out of DownloadClient and instead into each protocol.
8 years ago
Ali Rizvi-Santiago 60831801a7 Added the file, ftp, and smb downloaders to common/download.go
8 years ago
Ali Rizvi-Santiago da9c94b345 Added some testcases for the various file uri transforms to download_test.go
8 years ago
Ali Rizvi-Santiago 281dd1258a Added proper support for downloading via a Windows UNC path or a relative uri.
8 years ago
SwampDragons fb730cf521
Merge pull request #5761 from hashicorp/fix_5713
8 years ago
Megan Marsh bdd186fa2b add tests for fileexistslocally helper function
8 years ago
Megan Marsh 3ace5bb91b simplify FileExistsLocally
8 years ago
Megan Marsh 55ddbf4765 sloppy copypasta
8 years ago
Megan Marsh 898dadd53c re-add this block. I still don't think we need it but I don't want to risk breaking things with this bugfix.
8 years ago
Megan Marsh a04a921c2d add UNC path to test cases, so I can try to enable it in future
8 years ago
Megan Marsh 154973241f add a bunch of windows filepath tests
8 years ago
Megan Marsh 40f0cc6dfe I don't think this is needed anymore
8 years ago
Megan Marsh 2838a2371d disambiguate url variable from url library
8 years ago
Megan Marsh 216c44b153 fix FileExistsLocally
8 years ago
Megan Marsh a3d5d40f78 reformat TestDownloadableURL into a table test to allow adding more URLS
8 years ago
Megan Marsh 4f3b470804 add helper function to manage validation of filepaths created using DownloadableURL
8 years ago
Megan Marsh 54bd057bb9 fix nasty edge case where we can't find guest additions on windows if they are on a different drive
8 years ago
SwampDragons 72afc2eab3
Merge pull request #5632 from VladRassokhin/do-not-donwload-twice
8 years ago
Vladislav Rassokhin af8a0c46c5 Do not re-download iso multiple times from different urls
8 years ago
Vijaya Bhaskar Reddy Kondreddi b7e3f37b44 Add support for differential disk
8 years ago
Megan Marsh 3c20176dbb runtime imported but not used
8 years ago
Megan Marsh 4fb8a27879 remove the actual offending code
8 years ago
Megan Marsh 74a4cc04fe fix regression :(
8 years ago
SwampDragons 2f9a6a99bd
Merge pull request #5578 from paboldin/do-5577
8 years ago
Megan Marsh 0efcb1bba2 dont error in the downloadableURL function; save validation for preflight steps
8 years ago
Megan Marsh 3a9dfb5b18 better
8 years ago
Megan Marsh e45a006d61 clearly state that url is wrong at validation stage of build
8 years ago
Pavel Boldin 853b04420c iso_config: allow for subdirs in hash sum files
8 years ago
Matthew Hooker 68fa09c308
Merge pull request #5512 from hashicorp/fix5501
8 years ago
Matthew Hooker f64fa7b5ba
Merge pull request #5491 from BenPhegan/hyperv-disk_additional_size
8 years ago
Matthew Hooker a66f51f025
Merge pull request #5517 from PatrickLang/hyperv-gen2-autocheckpoint
8 years ago
Patrick Lang 6d5f75e118 run gofmt
9 years ago
Patrick Lang 95d82b4637 Fixing auto checkpoints for generation 2 VMs. Resolves #5506
9 years ago
Matthew Hooker 812fd12a0b
move trimspace to powershell exit check
9 years ago
Matthew Hooker fb098d045d
builder/virtualbox-ovf retry removing VM.
9 years ago
Matthew Hooker 0be02ab217
hyper-v: Don't error while checking for admin permissions.
9 years ago
Ben Phegan 12fc928e1d Initial commit of Hyper-V disk_additional_size capability. Support a
9 years ago
Vijaya Bhaskar Reddy Kondreddi 4f6a207441 go fmt
9 years ago
Taliesin Sisson efa62e1550 Can specify an iso, vhd or vhdx for download. If it is a vhd or vhdx it is used as the hard drive for spinning up a new machine, importing an exported virtual machine or cloning a virtual machine.
9 years ago
Taliesin Sisson 452fcbd9a1 Only attach dvd drive if there is one
9 years ago
Taliesin Sisson 429e1bc3ad Adding an ISO is now optional for hyperv vmcx
9 years ago
Taliesin Sisson 6fd7f0877d Initial check in to add a builder that can clone existing hyper v machines
9 years ago
Matthew Hooker 150b1522f4 Merge pull request #5374 from PatrickLang/hyperv-checkpoint
9 years ago
Patrick Lang 6acdb9d148 Disabling automatic checkpoints
9 years ago
Sander Saares 028c941b77 Enable use of separate temp path for Hyper-V VHD
9 years ago
Rickard von Essen 97498f80be
core: iso_checksum_url should strip query param
9 years ago