Commit Graph

209 Commits (ae444a3250ccb2597284f79b4bf55ddbc7d3b1df)

Author SHA1 Message Date
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 Donoughe ef03e97dc3 pass MacAddress to StepCreateVM
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 cab8b6ed68 spelling: maximum
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 8cd403425e
test fixes WIP
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
Megan Marsh 20390ff1ec fix vetting for test fail print statements
9 years ago
Erlend Graff 27fc72c137 fix formatting errors
9 years ago
Erlend Graff ae6987c74b hyper-v: add test for hashicorp/packer#5184
9 years ago
Erlend Graff eeeee3ec35 hyper-v/vmcx: add missing InterpolateContext
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
Matthew Hooker 2655cf7493 fix tests
9 years ago
Matthew Hooker 91d66fb67c use new method of building runner
9 years ago
Matthew Hooker d8c6e6d4a4 remove duplicate line
9 years ago
Matthew Hooker 7978fd8ec0 make fmt
9 years ago
Taliesin Sisson 5f2c71f7d7 Floppy directories are provided by default with common.floppydrives
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 628116f4c4 Test settings for clone from vm and import vmxc from path
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 3d0ac529e0 use common floppy_config instead of builder specific one
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 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
Vijaya Bhaskar Reddy Kondreddi e45223a867 Fix -on-error issue not working.
9 years ago
Tobias ada8902721 fix formatting
9 years ago
Tobias eafaaa881f builder/hyperv/iso: missing InterpolateContext
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 4d394033d2 add tests
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
Mikhail Zholobov 57d07f227a
Add "iso_target_extension" option for all local *-iso builders
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
Taliesin Sisson e357c56186 Builders don't need to set this up anymore
9 years ago