Commit Graph

148 Commits (774a168957f14cedc2dd67b9bb2ea329fcd5d294)

Author SHA1 Message Date
Adrien Delorme 19cbb9cb24
Merge pull request #7136 from hashicorp/fix_5984
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 da8b140bca Fix Hyper-V builder formatting.
7 years ago
Ladar Levison 348c267054 Updated support for legacy network adapters on Hyper-V.
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Adrien Delorme 8a6c55dd69 make builder/hyperv/iso/builder_test.go invisible to windows
8 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 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 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 674bad0ab4
Break very long lines for readability
8 years ago
DanHam 00276f2f64
Change step name to better illustrate purpose of step
8 years ago
DanHam 32148168bd
Introduce a new step to collate build artifact at the end of the build
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 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
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 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
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 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 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
Ben Phegan 12fc928e1d Initial commit of Hyper-V disk_additional_size capability. Support a
9 years ago
Matthew Hooker 2655cf7493 fix tests
9 years ago
Matthew Hooker d8c6e6d4a4 remove duplicate line
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 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
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
Lee 0680cb08e5 Add support for temp_path directive to override systemp %temp%
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
Matthew Hooker 81522dced0
move packer to hashicorp
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
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
Taliesin Sisson 74255c553b Be smarter about loading guest additions iso. Windows 10 and Windows Server 2016 no longer come with iso. So default to not loading guest additions when the iso is missing
9 years ago
Taliesin Sisson 44f73fa75f Changed ram_size_mb to ram_size
9 years ago
Taliesin Sisson fb192ce6d6 Remove unused import
9 years ago
Taliesin Sisson 3f0835aab2 Remove headless option as it is not used.
9 years ago
Taliesin Sisson 3c1df5a791 Remove inconsistent "_mb" from ram size
9 years ago
Taliesin Sisson 0515487062 Configuration settings are no longer used
9 years ago
Taliesin Sisson 20643e35a8 Do not specify a default username or password
9 years ago
Taliesin Sisson c2d1f6b617 Added the ability to independently configure switch vlan. This will people to leave the switch in trunk mode and set a vlan for the vm.
9 years ago
James Johnson 48b6cc0650 Enable VlanID
9 years ago
Taliesin Sisson 9fbd1e472a Add support for mac spoofing and dynamic memory.
9 years ago
Patrick Lang 6d391fc34a Adding support for nested Hyper-V
9 years ago
Patrick Lang f94c2cd2f7 Adding nested virtualization support
9 years ago
Patrick Lang 6342e1525d s/EnabeSecureBoot/EnableSecureBoot/g
9 years ago
Taliesin Sisson c1538c59c9 Builds in AppVeyor are failing as they do not have enough free memory. Drop the thresh hold a little more.
9 years ago
Taliesin Sisson 52c6cd5fc1 Test should run and pass even when run on an environment that does not have Powershel.
9 years ago
Taliesin Sisson 7c754bf791 Try to match style of other builders
9 years ago
Taliesin Sisson fb098fcbf0 http server has moved to common step
9 years ago
Taliesin Sisson 4b6ce3da60 Build agents might not have guest additions
9 years ago
Taliesin Sisson aaf9007249 Include cache in the state bag.
9 years ago
Taliesin Sisson 010d171bec GuestAdditionsMode and GuestAdditionsPath can be set in config. If GuestAdditionsMode == "attach" it will mount the HyperV Integration Services ISO. If GuestAdditionsPath is set, then it will be used as an alternative to where the HyperV Integration Service ISO is.
9 years ago
Taliesin Sisson 730c6217ad Fix disk size test
9 years ago
Taliesin Sisson c24c882b84 Use simple naming convention for now
9 years ago
Taliesin Sisson 5f2c12324c No need to remove floppy controller for 2nd generation vms
9 years ago
Taliesin Sisson 837f9addd0 Check the floppy files and not the dvd files attached
9 years ago
Taliesin Sisson 4e8074d7e5 Need to expose generation as a public property
9 years ago
Taliesin Sisson e18594f404 Hyperv generation 2 machines use scsi for dvd drives. Allow gen 1 machines to have at least 1 iso image attached
9 years ago
Taliesin Sisson ef507c7bd7 Pass in any iso images to add as dvd drives during boot
9 years ago
Taliesin Sisson 3051ea6633 Quote powershell so that it does not try to interpret command to be run
9 years ago
Taliesin Sisson 02db768018 With generation 2 machine by default a dvd drive is not created. So create a dvd drive for os if it does not exist.
9 years ago
Taliesin Sisson aa1f1da1ff Support for boot_command
9 years ago
Taliesin Sisson 03b0698edd Remove devices after it has been shut down
9 years ago
Taliesin Sisson 2d7cfcd65d Throw error if we can't get mac or ip address during steps
9 years ago
Taliesin Sisson 87b3dec3d2 Wait until WinRM is available, before continuing with install. This is how other system like VeeWee do it.
9 years ago
Taliesin Sisson 79a5f90379 Use the convention for default vmname
9 years ago
Taliesin Sisson ca16f33fa3 Use the same configuration style as existing builders
9 years ago
Taliesin Sisson 1fe4c501e4 Port of https://github.com/pbolduc/packer-hyperv/
9 years ago