Commit Graph

194 Commits (3dc4ba2d6889e28a4e46aef53fb30342ce3df51f)

Author SHA1 Message Date
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
DanHam 3fc2defb6d
Refactor the export step for Hyper-V ISO and VMCX builders
8 years ago
Unknown 5710c0aca1 Making log output clearer for hyper-v gui connection
8 years ago
Unknown 29c4b4436d Changes requested in PR #6243
8 years ago
Unknown fc734b6bd9 Using vmconnect to display gui for hyper-v
8 years ago
M. Marsh 5871b8242b
Merge pull request #6101 from adarobin/azurecompatible
8 years ago
Stefan Henseler 6f00596053 Adds config option to specify hyper-v secure boot template
8 years ago
Adam Robinson 3aebd5f462 Add use_fixed_vhd_format Hyper-V ISO option
8 years ago
Matthew Hooker 1d36ef038c
implement boot config struct for hyperv
8 years ago
Matthew Hooker c6299972b9
s/boot_command/bootcommand/
8 years ago
Matthew Hooker 94129b7fe3
we're using PC-XT (set1) not PC-AT
8 years ago
Matthew Hooker bdb1eee7d8
Implement new parser for HyperV boot command
8 years ago
M. Marsh f5c031baf9
Merge pull request #5941 from synax/hyper-v-disk-block-size
8 years ago
Josh Soref 62f59662a3 spelling: installation
8 years ago
Josh Soref 60ef3c3374 spelling: directories
8 years ago
Josh Soref efb525f03d spelling: creating
8 years ago
Stefan Henseler 103186af86 Adds Support to configure hyper-v disk block size
8 years ago
Ben Phegan 3c88e787df
Merge branch 'master' into hyperv_mac_address
8 years ago
SwampDragons 6d14eb6ea4
Merge pull request #5631 from vijayinvites/diffdisks
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Ben Phegan c338cb79d0 Initial commit of feature to allow MAC address specification for HyperV builders
8 years ago
Vijaya Bhaskar Reddy Kondreddi 54f059d3d4 Add support for skip export
8 years ago
Vijaya Bhaskar Reddy Kondreddi 3d5303c60d Fix tests
9 years ago
Vijaya Bhaskar Reddy Kondreddi b7e3f37b44 Add support for differential disk
9 years ago
Erlend Graff 27fc72c137 fix formatting errors
9 years ago
Erlend Graff d890051940 hyper-v: implement driver mock
9 years ago
Matthew Hooker 19e6049f17
style fixes
9 years ago
Matthew Hooker f64fa7b5ba
Merge pull request #5491 from BenPhegan/hyperv-disk_additional_size
9 years ago
Matthew Hooker 794e518eb7
use hyper-v admin group, not admin
9 years ago
Matthew Hooker 812fd12a0b
move trimspace to powershell exit check
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 2fbe0b4a7f Don't try to mount vhd and vhdx files as dvd drive. Hard drives are mounted in the create vm step
9 years ago
Taliesin Sisson 8232759397 If vhd or vhdx extension is specified for ISOUrls, we want to use an existing hard drive which means that we don't need to specify hard drive size
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 6fd7f0877d Initial check in to add a builder that can clone existing hyper v machines
9 years ago
Matthew Hooker eb64920e80 Merge pull request #5206 from sandersaares/hyperv-second-temp-dir
9 years ago
Bastian Schmidt c1aba87b39 Fixes #4880 by always using EnableDynamicMemory
9 years ago
Sander Saares 2a1a9a55f8 Clean up both VHD and regular temp dir
9 years ago
Sander Saares 028c941b77 Enable use of separate temp path for Hyper-V VHD
9 years ago
Taliesin Sisson 2325c1ee58 Merge pull request #5085 from Lee303/builder-hyperv-temppath
9 years ago
Taliesin Sisson d569a1b879 Merge pull request #5014 from Lee303/builder-hyperv-floppydirs
9 years ago
Lee 0680cb08e5 Add support for temp_path directive to override systemp %temp%
9 years ago
Wojciech Sciesinski 7bacc22825 Verify membership in the group Hyper-V Administrators by SID not name - fix #5022
9 years ago
Lee Spottiswood f95093ef63 Add support for floppy_dirs with hyperv-iso builder
9 years ago
JD Friedrikson a0052fdb68
Specify InsecureIgnoreHostKey for HostKeyCallback
9 years ago
Matthew Hooker bc3510b473
fix spelling
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker 35578d9ed1
remove unnecessary type conversions
9 years ago
Matthew Hooker d1b20b3d9c
remove a bunch of dead code.
9 years ago
Matthew Hooker 8b763032ce
builder/hyper-v don't wait for shutdown to return.
9 years ago
Matthew Hooker 597b7ad8c5
builder/hyper-v: validate output dir in step, not in config
9 years ago
Matthew Hooker c5ddbacb62 Merge pull request #4318 from Tadas/fix-hyperv-admin
9 years ago
Matthew Hooker 22d1322bd9
always check for an error first when walking a path
9 years ago
Matthew Hooker d2e59e4e92
set PACKER_HTTP_ADDR env var when available.
9 years ago
Tadas Medisauskas 4939ea1a3b Add support for Hyper-V admins security group
9 years ago
Matthew Hooker 45d4cf8b36
move powershell module to common
9 years ago
Matthew Hooker 5e324d6bb4
apply #4041 to hyperV builder
9 years ago
Taliesin Sisson e50fe9fd54 Porting over paulmey changes to license and copyright headers. Good guy Microsoft have changed the licensing to MPL2 and removed the copyright headers so that we can include it in the official Packer release.
9 years ago