Commit Graph

237 Commits (8a36ddd69dcc9f88fe4e2afd83130a11247a5959)

Author SHA1 Message Date
Megan Marsh 90bdcf58bd update step_download to return an ActionContinue if the URls field is empty. this allows us to simplify the hyperv builder, and is still safe because all other builders and uses of step_download already validate that the iso url is not empty if that's what they need, most of them inside of the IsoConfig prepare function.
6 years ago
Adrien Delorme f1e6f8eac1 removed unused config puts
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
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
6 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
6 years ago
Megan Marsh 0cb098b713 regenerate code because of hyperv refactor
6 years ago
Megan Marsh eccdb44e3b
Merge pull request #8246 from hashicorp/fix_8089
6 years ago
Megan Marsh 34f5bfa498 regenerated things
6 years ago
Megan Marsh e439dd039b fix tests
6 years ago
Megan Marsh fe5ea886a2 refactir hyperv builders to remove duplicated config and prepare code
6 years ago
Megan Marsh eb7bce0728 add additional disk size option to hyperv-vmcx
6 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
6 years ago
Davor Kapsa 50262ba0b8
Remove explicit err var declaration
6 years ago
Adrien Delorme 299544a4c7 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
allinwait 171c2a9a07 add the floppy label option
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
William L. Brooks be4ca4b666 Move hyper-v host ip determination earlier in steps, connect to Hyper-V vm prior to issuing the start operation.
7 years ago
Megan Marsh 8bca6b7cba
Merge pull request #7785 from dhirschfeld/patch-1
7 years ago
Dave Hirschfeld 2a284dffa0
Bump MaxRamSize to 1TB
7 years ago
Megan Marsh 29bff0975f clarify pathing requirements for hyperv-vmcx
7 years ago
Dave Hirschfeld 96a3ef1465
Set MaxRamSize to 64GB
7 years ago
Adrien Delorme 4c1abf828c
Merge branch 'master' into scrape_doc_to_builder_struct_config
7 years ago
Adrien Delorme c11ef90cb6 use interpolate.NewContext() instead of testConfigTemplate(t)
7 years ago
Adrien Delorme 2dc300c02e hyperv-iso: use partial docs
7 years ago
Adrien Delorme 926c8bbaa6 refactor ShutdownConfig into a single struct
7 years ago
Megan Marsh daddb65da8 add tests
7 years ago
Megan Marsh 2e821da84b check to make sure a vm-name isn't already in use before trying to launch a vm with said name.
7 years ago
Adrien Delorme 4399684372 make fmt autogenerated docs
7 years ago
Adrien Delorme e6cbb013ba add // go:generate struct-markdown to all previously edited files
7 years ago
Adrien Delorme f1917edd34 generate the comments for config struct of builders scraping doc website
7 years ago
Megan Marsh 73205f3a91 add keep_registered option to hyperv
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Megan Marsh b3c6dd0baa fix tests
7 years ago
Megan Marsh bcacd331c3 change cpu to cpus and ram_size to memory in order to bring hyper v into line with other builder defaults
7 years ago
Adrien Delorme 5a6dffde9a use port as ints
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Yaakov 0a08920816 Hyper-V: Fix integer overflows in 32-bit builds
7 years ago
Megan Marsh 97a791389a deduplicate step_output_dir and move to common folder
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Adrien Delorme 19cbb9cb24
Merge pull request #7136 from hashicorp/fix_5984
7 years ago
Ladar Levison 217028b902 Added comment regarding use of host param.
7 years ago
Ladar Levison 8a9962882c Use Printf not Println. D'oh.
7 years ago
Ladar Levison 35aaf44fa5 A properly formatted hyperv ssh.go file.
7 years ago
Ladar Levison cb0011d665 Fix ssh_host bug in hyper-v builders.
7 years ago