Commit Graph

56 Commits (81522dced0b25084a824e79efda02483b12dc7cd)

Author SHA1 Message Date
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
Taliesin Sisson 335615408a Run go fmt on files
9 years ago
Taliesin Sisson 04a6880361 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 d7117560cf We are using powershell and Msvm to send keys to virtual keyboard so update comment
9 years ago
Taliesin Sisson a27d75ff89 Fix comment left over from initial import
9 years ago
Taliesin Sisson 501845cb4f SSHKeyPath and SSHWaitTimeout have been deprecated in favor of communicator configuration
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 9c53df1e0e Add special key modifiers to log output when used.
9 years ago
Taliesin Sisson 5f7290c6f8 Add type scan support for ctrl, shift, alt.
9 years ago
Taliesin Sisson 4d22bd1d4a Generate switch name using uuid v1
9 years ago
Taliesin Sisson fb098fcbf0 http server has moved to common step
9 years ago
Taliesin Sisson d878f4dd8e A workaround for bug in Windows 10 and Windows 2016 where you have to specify a path when creating a dvd drive
9 years ago
Taliesin Sisson bda2468404 removed unused reference
9 years ago
Taliesin Sisson d1961b7c8e Echo output when its used
9 years ago
Taliesin Sisson 18241e5215 Setting boot drive is generation specific
9 years ago
Taliesin Sisson 8477a0b748 Accidentally included bracket
9 years ago
Taliesin Sisson e0c10dec12 If exit code = 1 and the length of the stderr is 0, then we can assume that the exit code was not set, so assume success
9 years ago
Taliesin Sisson fe8d99fd8a If we are not getting the exit code assigned then default to it being successful
9 years ago
Taliesin Sisson 3cb621f890 Get rid of mount and unmount that does not specify controller location exactly
9 years ago
Taliesin Sisson 31ac1da28d Setting boot drive message
9 years ago
Taliesin Sisson 50a8d1b6b4 Forgot to check in these files.
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 422efeeaf6 Make use of driver instead of directly referencing hyper
9 years ago
Taliesin Sisson 9f94834826 Use correct formatting for printf
9 years ago
Taliesin Sisson 54733323a8 Should only default to first controller if its not 1 of the 2 controllers available
9 years ago
Taliesin Sisson 5f2c12324c No need to remove floppy controller for 2nd generation vms
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 3051ea6633 Quote powershell so that it does not try to interpret command to be run
9 years ago
Taliesin Sisson f3cc413bbb Set the dvd to the first boot device
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