Commit Graph

6741 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
Patrick Lang 6342e1525d s/EnabeSecureBoot/EnableSecureBoot/g
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 9c53df1e0e Add special key modifiers to log output when used.
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 5f7290c6f8 Add type scan support for ctrl, shift, alt.
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 f38d787b0e Powershell uses UTF16Le for encodedCommand
9 years ago
Taliesin Sisson e36051d394 Pattern for infrastructure changed to quote filename and execute file with ampersand as everything is run in powershell now
9 years ago
Taliesin Sisson d61513bf77 Encode powershell using utf8
9 years ago
Taliesin Sisson 17597b48e1 Base64 encode powershell to avoid any necessary escaping
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 8c3239770d Skip these tests on platforms that don't have powershell installed
9 years ago
Taliesin Sisson 4721327bf6 Fix duplicate imports
9 years ago
Taliesin Sisson e5510873bb Added file with correct line endings
9 years ago
Taliesin Sisson 807d7eaced On windows a lot of git clients will convert LF to CRLF. This would be a problem where file contents are compared exactly
9 years ago
Taliesin Sisson 4d22bd1d4a Generate switch name using uuid v1
9 years ago
Taliesin Sisson 5d5809b27e Make hiding of progress backward compatible with old versions of powershell
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 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 bda2468404 removed unused reference
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 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 e8c2b49be8 Use correct quotation of variables
9 years ago
Taliesin Sisson 4b394c8563 Write output will put ouput from function, so we don't want to be getting line from output of function
9 years ago
Taliesin Sisson c42cb88ddd Using Write-Output instead of Write-Host since PS v5 now leaks the host stream to stderr
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 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 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