Commit Graph

157 Commits (b4e70cc0ec0b24b040fe0dfbf68c560dc6c0f736)

Author SHA1 Message Date
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
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 5a6dffde9a use port as ints
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
Megan Marsh 006682a09c add version option and also refactor powershell script to use golang templates for ease of testing and variable passing.
7 years ago
Ladar Levison bdcbf61ade Fixed replace variable name.
7 years ago
Ladar Levison fa154f5298 Fixed driver mock up formatting.
7 years ago
Ladar Levison 31d03fb48e Added legacy network adapter driver mock up.
7 years ago
Ladar Levison 348c267054 Updated support for legacy network adapters on Hyper-V.
7 years ago
Megan Marsh b95123f457 add new copy_in_compare flag so users can set the copy var to whatever they need in order to get the compatibility report to work.
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Megan Marsh c5b346b07b
Merge pull request #6393 from DanHam/fix-hyperv-export
8 years ago
Megan Marsh 340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
8 years ago
Megan Marsh 31d4f8af45 use a time.Duration instead of a hardcoded ms
8 years ago
Megan Marsh 918db58604 added new template variables to replace PACKER_KEY_INTERVAL with tunable key and keygroup intervals depending on driver used
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
DanHam da21c25791
Convert incorrect 'vmxc' -> 'vmcx' in codebase, docs and template opts
8 years ago
DanHam 674bad0ab4
Break very long lines for readability
8 years ago
DanHam 2bb5a92755
Fix error in comment due to copy/paste from VMware step
8 years ago
DanHam 36bd2f5691
Fix an error with an error. Add some comments.
8 years ago
DanHam 8032c8151a
Tests for step to create output directory
8 years ago
DanHam f027585a93
Tests for step to create build directory
8 years ago
DanHam ed5bebfa8c
Change variable/statebag key name to better convey purpose
8 years ago
DanHam 00276f2f64
Change step name to better illustrate purpose of step
8 years ago
DanHam b386e567db
Change filename to better illustrate purpose of step
8 years ago
DanHam d2390f464d
Actually implement the function for the driver
8 years ago
DanHam 181bb0ba23
Add calling code and skeleton driver to make tests pass
8 years ago
DanHam 0a4ec13323
Tests for func to move VHDs to output dir when skip_export: true
8 years ago
DanHam 32148168bd
Introduce a new step to collate build artifact at the end of the build
8 years ago
DanHam ee7fa27ada
Fix up tests. Ensure export step stores the export path in state
8 years ago
DanHam 232dd8f0a6
Remove code to preserve legacy export dir structure from the export step
8 years ago
DanHam c2437ba592
Remove the option to place the VHD files in a separate directory
8 years ago
DanHam d5d82c32b2
Changes to the export process have made 'inline' build of disks redundant
8 years ago
DanHam 35b4e87c42
Add tests for export VM step
8 years ago
DanHam 30a71da8e7
Add tests for disk compaction step
8 years ago
DanHam 09028c14a3
Reintroduce the disk compaction process as a unique step
8 years ago
DanHam da2df69301
Remove disk compaction from the export step
8 years ago
DanHam c6b9d9ce90
Add checks/error reporting to compaction process
8 years ago
DanHam 534fc4a473
Ensure the export directory structure matches that of previous versions
8 years ago
DanHam dc46848f89
Remove now redundant function to copy exported VM files
8 years ago