Commit Graph

32 Commits (9fbd1e472adc1be00a038b59fa56dd7a775224db)

Author SHA1 Message Date
Taliesin Sisson 9fbd1e472a Add support for mac spoofing and dynamic memory.
9 years ago
Patrick Lang 1277a25d0b Fix type casting
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
Taliesin Sisson 7ce9203530 Enable-VMIntegrationService cmdlet has a language dependent value for -Name option. So avoid using it, as it will break on machines with different languages.
9 years ago
Taliesin Sisson e636c3de3c Dvd drive creation will auto select the controller number and controller location. This fixes the bug of first generation machines not being able to add more then 1 dvd drive.
9 years ago
Taliesin Sisson de447779f8 Windows Server 2016 won't let you set the first boot device
9 years ago
Taliesin Sisson 181132f32b Forget to pass in the dvd drive to eject the iso from
9 years ago
Gildas Cherruel 872fc559f5 Export of Hyper-V/VMCX machines
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 4ab2e8b252 try to get the virtual keyboard a number of different ways. This should hopefully work for Windows 7, Window 10 and Windows Server 2016
9 years ago
Taliesin Sisson 056fc59166 Do not try to type scancodes if there are none. We haven't figured out how to do this on Windows 10 or Windows 7 and below. This will at least allow other types of VMs to be built.
9 years ago
Gildas Cherruel 8734c5b25f Remove all Dvd Drives on Generation 1
9 years ago
Taliesin Sisson 199bee6885 Need to sleep after sending previous characters, not before
9 years ago
Taliesin Sisson d1961b7c8e Echo output when its used
9 years ago
Taliesin Sisson f8e3970d87 By default a gen 1 vm get a dvd drive. Remove it on creation so that it behaves the same as gen 2.
9 years ago
Taliesin Sisson 18241e5215 Setting boot drive is generation specific
9 years ago
Taliesin Sisson 93a2615f7a Fix gen 1 creation of dvd
9 years ago
Taliesin Sisson 07764c631e The default for wait is 1 second
9 years ago
Taliesin Sisson 3cb621f890 Get rid of mount and unmount that does not specify controller location exactly
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 9fd635742c Always force turn off vm
9 years ago
Taliesin Sisson 9cf8b18e09 If there is only one ip address on a card we need to force it to be an array. Otherwise powershell may treat it as a property.
9 years ago
Taliesin Sisson efafed4f37 Copy the folder structure correctly
9 years ago
Taliesin Sisson 5f2c12324c No need to remove floppy controller for 2nd generation vms
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 1fe4c501e4 Port of https://github.com/pbolduc/packer-hyperv/
9 years ago