Commit Graph

13 Commits (fadda1fe6d7711b05cd21bebc818e9894deffec2)

Author SHA1 Message Date
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 452fcbd9a1 Only attach dvd drive if there is one
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
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 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 18241e5215 Setting boot drive is generation specific
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 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 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 1fe4c501e4 Port of https://github.com/pbolduc/packer-hyperv/
9 years ago