-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port #4041 to hyperv-iso builder #10
Commits on Nov 23, 2016
-
Port of https://github.com/pbolduc/packer-hyperv/
Remove steps that are windows specific
Configuration menu - View commit details
-
Copy full SHA for 5390251 - Browse repository at this point
Copy the full SHA 5390251View commit details -
Use the same configuration style as existing builders
Move builder into correctly named folder
Configuration menu - View commit details
-
Copy full SHA for 2f08e60 - Browse repository at this point
Copy the full SHA 2f08e60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36840b7 - Browse repository at this point
Copy the full SHA 36840b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4b8af5 - Browse repository at this point
Copy the full SHA f4b8af5View commit details -
Use the convention for default vmname
Use the convention for default hdd size Tests added for builder
Configuration menu - View commit details
-
Copy full SHA for c8c3bf7 - Browse repository at this point
Copy the full SHA c8c3bf7View commit details -
Wait until WinRM is available, before continuing with install. This i…
…s how other system like VeeWee do it. Add support for number of cpus to use for vm Add support for vm generation
Configuration menu - View commit details
-
Copy full SHA for 36cc54a - Browse repository at this point
Copy the full SHA 36cc54aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe32de5 - Browse repository at this point
Copy the full SHA fe32de5View commit details -
Remove devices after it has been shut down
Attempt to stop vm, before deleting it
Configuration menu - View commit details
-
Copy full SHA for ca30485 - Browse repository at this point
Copy the full SHA ca30485View commit details -
Setup local http server Add compaction of hard drive GetHostAdapterIpAddress function added for hyperv renamed step step_start_vm to step_run to fall in ine with naming conventions of other builders
Configuration menu - View commit details
-
Copy full SHA for 4e1e06d - Browse repository at this point
Copy the full SHA 4e1e06dView commit details -
With generation 2 machine by default a dvd drive is not created. So c…
…reate a dvd drive for os if it does not exist. Allow secure boot mode to be configured from config.
Configuration menu - View commit details
-
Copy full SHA for c65f831 - Browse repository at this point
Copy the full SHA c65f831View commit details -
Configuration menu - View commit details
-
Copy full SHA for d28df30 - Browse repository at this point
Copy the full SHA d28df30View commit details -
When redirecting local ports to hyper visor ports we need to configur…
…e WinRM ports as well as SSH ports.
Configuration menu - View commit details
-
Copy full SHA for e5a4c9f - Browse repository at this point
Copy the full SHA e5a4c9fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 291cb2a - Browse repository at this point
Copy the full SHA 291cb2aView commit details -
Quote powershell so that it does not try to interpret command to be run
Get VName out of state. This allows template replacement to be run on vmname
Configuration menu - View commit details
-
Copy full SHA for b09ca49 - Browse repository at this point
Copy the full SHA b09ca49View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbb56b2 - Browse repository at this point
Copy the full SHA fbb56b2View commit details -
Hyperv generation 2 machines use scsi for dvd drives. Allow gen 1 mac…
…hines to have at least 1 iso image attached
Configuration menu - View commit details
-
Copy full SHA for 408bae3 - Browse repository at this point
Copy the full SHA 408bae3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 095e76c - Browse repository at this point
Copy the full SHA 095e76cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72ab029 - Browse repository at this point
Copy the full SHA 72ab029View commit details -
No need to remove floppy controller for 2nd generation vms
Don't want to be prompted for confirmation from powershell commandlets
Configuration menu - View commit details
-
Copy full SHA for fe3c140 - Browse repository at this point
Copy the full SHA fe3c140View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5940f79 - Browse repository at this point
Copy the full SHA 5940f79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d38d8f - Browse repository at this point
Copy the full SHA 9d38d8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86b4698 - Browse repository at this point
Copy the full SHA 86b4698View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83cd0ba - Browse repository at this point
Copy the full SHA 83cd0baView commit details -
Configuration menu - View commit details
-
Copy full SHA for d986d74 - Browse repository at this point
Copy the full SHA d986d74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4893a2b - Browse repository at this point
Copy the full SHA 4893a2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 720f7ff - Browse repository at this point
Copy the full SHA 720f7ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1caff6 - Browse repository at this point
Copy the full SHA a1caff6View commit details -
Default minimum and maximum sizes were geared towards spinning up windows server instances. Linux instances are far more efficient and make do with lower requirements. Set the minimum sizes to match this.
Configuration menu - View commit details
-
Copy full SHA for f5eeede - Browse repository at this point
Copy the full SHA f5eeedeView commit details -
If there is only one ip address on a card we need to force it to be a…
…n array. Otherwise powershell may treat it as a property. Stop-Vm with force parameter to ensure that powershell prompts will not appear
Configuration menu - View commit details
-
Copy full SHA for a31ac35 - Browse repository at this point
Copy the full SHA a31ac35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43f7b4b - Browse repository at this point
Copy the full SHA 43f7b4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b83fd6b - Browse repository at this point
Copy the full SHA b83fd6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e652d3 - Browse repository at this point
Copy the full SHA 1e652d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0727d9e - Browse repository at this point
Copy the full SHA 0727d9eView commit details -
Make use of driver instead of directly referencing hyper
Move inline powershell to hyperv
Configuration menu - View commit details
-
Copy full SHA for d424556 - Browse repository at this point
Copy the full SHA d424556View commit details -
GuestAdditionsMode and GuestAdditionsPath can be set in config. If Gu…
…estAdditionsMode == "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. Included the build step to download ISO, so iso_urls works properly now. Online activation should be done via provisioner Installation of integration services should be done via provisioner Cleaned up the way dvd drives are mounted and unmounted (still need to implement feature to find unused drives before adding a new one) Cleaned up the way floppies are mounted and unmounted
Configuration menu - View commit details
-
Copy full SHA for 0bdfb27 - Browse repository at this point
Copy the full SHA 0bdfb27View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd1cb01 - Browse repository at this point
Copy the full SHA bd1cb01View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc92ace - Browse repository at this point
Copy the full SHA bc92aceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b9a78f - Browse repository at this point
Copy the full SHA 6b9a78fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd65a0 - Browse repository at this point
Copy the full SHA bcd65a0View commit details -
Get rid of mount and unmount that does not specify controller locatio…
…n exactly Handle cleanup if unmount step has not already done so
Configuration menu - View commit details
-
Copy full SHA for a59e0bf - Browse repository at this point
Copy the full SHA a59e0bfView commit details -
If we are not getting the exit code assigned then default to it being…
… successful Useful to know what the exit code is if there is an error
Configuration menu - View commit details
-
Copy full SHA for 33aea80 - Browse repository at this point
Copy the full SHA 33aea80View commit details -
Using Write-Output instead of Write-Host since PS v5 now leaks the ho…
…st stream to stderr
Configuration menu - View commit details
-
Copy full SHA for a6207af - Browse repository at this point
Copy the full SHA a6207afView commit details -
Write output will put ouput from function, so we don't want to be get…
…ting line from output of function Fix unit tests for not showing progress stream when using powershell Ensure that progress stream does not get leaked into stdout Using Write-Output instead of Write-Host since PS v5 now leaks the host stream to stderr
Configuration menu - View commit details
-
Copy full SHA for b0564cd - Browse repository at this point
Copy the full SHA b0564cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8344ed7 - Browse repository at this point
Copy the full SHA 8344ed7View commit details -
If exit code = 1 and the length of the stderr is 0, then we can assum…
…e that the exit code was not set, so assume success
Configuration menu - View commit details
-
Copy full SHA for 8170775 - Browse repository at this point
Copy the full SHA 8170775View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3539e28 - Browse repository at this point
Copy the full SHA 3539e28View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1dea34 - Browse repository at this point
Copy the full SHA b1dea34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d13e29 - Browse repository at this point
Copy the full SHA 1d13e29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77fd89f - Browse repository at this point
Copy the full SHA 77fd89fView commit details -
By default a gen 1 vm get a dvd drive. Remove it on creation so that …
…it behaves the same as gen 2.
Configuration menu - View commit details
-
Copy full SHA for 578e3ba - Browse repository at this point
Copy the full SHA 578e3baView commit details -
Configuration menu - View commit details
-
Copy full SHA for c7a952c - Browse repository at this point
Copy the full SHA c7a952cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d0cee32 - Browse repository at this point
Copy the full SHA d0cee32View commit details -
Configuration menu - View commit details
-
Copy full SHA for 241dda7 - Browse repository at this point
Copy the full SHA 241dda7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e836cda - Browse repository at this point
Copy the full SHA e836cdaView commit details -
Do not try to type scancodes if there are none. We haven't figured ou…
…t how to do this on Windows 10 or Windows 7 and below. This will at least allow other types of VMs to be built.
Configuration menu - View commit details
-
Copy full SHA for 434bee3 - Browse repository at this point
Copy the full SHA 434bee3View commit details -
try to get the virtual keyboard a number of different ways. This shou…
…ld hopefully work for Windows 7, Window 10 and Windows Server 2016
Configuration menu - View commit details
-
Copy full SHA for 0b36a70 - Browse repository at this point
Copy the full SHA 0b36a70View commit details -
A workaround for bug in Windows 10 and Windows 2016 where you have to…
… specify a path when creating a dvd drive
Configuration menu - View commit details
-
Copy full SHA for 6aea6b1 - Browse repository at this point
Copy the full SHA 6aea6b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34ed9a9 - Browse repository at this point
Copy the full SHA 34ed9a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d4e5dd - Browse repository at this point
Copy the full SHA 6d4e5ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for c297fdb - Browse repository at this point
Copy the full SHA c297fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e37b9 - Browse repository at this point
Copy the full SHA 61e37b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9069772 - Browse repository at this point
Copy the full SHA 9069772View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04e26d8 - Browse repository at this point
Copy the full SHA 04e26d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41c738c - Browse repository at this point
Copy the full SHA 41c738cView commit details -
On windows a lot of git clients will convert LF to CRLF. This would b…
…e a problem where file contents are compared exactly
Configuration menu - View commit details
-
Copy full SHA for b9277e7 - Browse repository at this point
Copy the full SHA b9277e7View commit details -
Added file with correct line endings
When dealing with windows the file url format is file:///c:/ On windows a lot of git clients will convert LF to CRLF. This would be a problem where file contents are compared exactly
Configuration menu - View commit details
-
Copy full SHA for f78aca6 - Browse repository at this point
Copy the full SHA f78aca6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ad5565 - Browse repository at this point
Copy the full SHA 9ad5565View commit details -
Configuration menu - View commit details
-
Copy full SHA for baa748c - Browse repository at this point
Copy the full SHA baa748cView commit details -
Test should run and pass even when run on an environment that does no…
…t have Powershel.
Configuration menu - View commit details
-
Copy full SHA for da69ac8 - Browse repository at this point
Copy the full SHA da69ac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1526524 - Browse repository at this point
Copy the full SHA 1526524View commit details -
Fix a bug in the size of string that was returned when decoding a base64 string Added tests around encoding and decoding powershell scripts. Used [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes('powershell commands')) | clip to generate what base 64 strings should look like
Configuration menu - View commit details
-
Copy full SHA for 9e2f922 - Browse repository at this point
Copy the full SHA 9e2f922View commit details -
Pattern for infrastructure changed to quote filename and execute file…
… with ampersand as everything is run in powershell now Handle powershell commands by specifying any extra infrastructure around running scripts inside of ExecuteCommand and ElevatedExecuteCommand
Configuration menu - View commit details
-
Copy full SHA for 4ec9997 - Browse repository at this point
Copy the full SHA 4ec9997View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3894865 - Browse repository at this point
Copy the full SHA 3894865View commit details -
Builds in AppVeyor are failing as they do not have enough free memory…
…. Drop the thresh hold a little more.
Configuration menu - View commit details
-
Copy full SHA for 38f157d - Browse repository at this point
Copy the full SHA 38f157dView commit details -
Add type scan support for ctrl, shift, alt.
<leftAlt> <leftCtrl> <leftShift> <rightAlt> <rightCtrl> <rightShift> Add type support for combinations of ctr, alt, shift with (only use lower case characters with this): <leftAltOn> <leftCtrlOn> <leftShiftOn> <leftAltOff> <leftCtrlOff> <leftShiftOff> <rightAltOn> <rightCtrlOn> <rightShiftOn> <rightAltOff> <rightCtrlOff> <rightShiftOff>
Configuration menu - View commit details
-
Copy full SHA for 3f868d1 - Browse repository at this point
Copy the full SHA 3f868d1View commit details -
Dvd drive creation will auto select the controller number and control…
…ler location. This fixes the bug of first generation machines not being able to add more then 1 dvd drive.
Configuration menu - View commit details
-
Copy full SHA for 2a95c43 - Browse repository at this point
Copy the full SHA 2a95c43View commit details -
Add special key modifiers to log output when used.
Update documentation to include new key modifiers.
Configuration menu - View commit details
-
Copy full SHA for 581a6e0 - Browse repository at this point
Copy the full SHA 581a6e0View commit details -
Enable-VMIntegrationService cmdlet has a language dependent value for…
… -Name option. So avoid using it, as it will break on machines with different languages.
Configuration menu - View commit details
-
Copy full SHA for 99a0a9e - Browse repository at this point
Copy the full SHA 99a0a9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 791564c - Browse repository at this point
Copy the full SHA 791564cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f72a2b0 - Browse repository at this point
Copy the full SHA f72a2b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2f314a - Browse repository at this point
Copy the full SHA a2f314aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b67753 - Browse repository at this point
Copy the full SHA 1b67753View commit details -
Add support for mac spoofing and dynamic memory.
To enable nested virtualization, mac spoofing, no dynamic memory and at least 4gb of ram should be set for the vm. Set warning if this has not been done. Detected Virtualization Extensions are supported by the machine your are running on, as it only works for Windows 10 and Windows Server 2016 onwards.
Configuration menu - View commit details
-
Copy full SHA for ec7d470 - Browse repository at this point
Copy the full SHA ec7d470View commit details -
Add documentation for: enable_mac_spoofing, enable_dynamic_memory and…
… enable_virtualization_extensions
Configuration menu - View commit details
-
Copy full SHA for b876f01 - Browse repository at this point
Copy the full SHA b876f01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 766f913 - Browse repository at this point
Copy the full SHA 766f913View commit details -
Added the ability to independently configure switch vlan. This will p…
…eople to leave the switch in trunk mode and set a vlan for the vm.
Configuration menu - View commit details
-
Copy full SHA for 7ca6476 - Browse repository at this point
Copy the full SHA 7ca6476View commit details -
govendor fetch golang.org/x/text/encoding/unicode
Configuration menu - View commit details
-
Copy full SHA for a8f2832 - Browse repository at this point
Copy the full SHA a8f2832View commit details -
Configuration menu - View commit details
-
Copy full SHA for eaeb335 - Browse repository at this point
Copy the full SHA eaeb335View commit details -
Fix code type for formatting Remove empty space
Configuration menu - View commit details
-
Copy full SHA for 1c501df - Browse repository at this point
Copy the full SHA 1c501dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad581c8 - Browse repository at this point
Copy the full SHA ad581c8View commit details -
SSHKeyPath and SSHWaitTimeout have been deprecated in favor of commun…
…icator configuration
Configuration menu - View commit details
-
Copy full SHA for b41fd06 - Browse repository at this point
Copy the full SHA b41fd06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0769fe4 - Browse repository at this point
Copy the full SHA 0769fe4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d2ecd6 - Browse repository at this point
Copy the full SHA 8d2ecd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b103690 - Browse repository at this point
Copy the full SHA b103690View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c15056 - Browse repository at this point
Copy the full SHA 8c15056View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c2b4de - Browse repository at this point
Copy the full SHA 0c2b4deView commit details -
Add missing configuration elements.
Remove configuration elements that are no longer used.
Configuration menu - View commit details
-
Copy full SHA for e7054ef - Browse repository at this point
Copy the full SHA e7054efView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6fb0f3 - Browse repository at this point
Copy the full SHA c6fb0f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 151d2ae - Browse repository at this point
Copy the full SHA 151d2aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d73e725 - Browse repository at this point
Copy the full SHA d73e725View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c38dec - Browse repository at this point
Copy the full SHA 0c38decView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19824bb - Browse repository at this point
Copy the full SHA 19824bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for f05fdc5 - Browse repository at this point
Copy the full SHA f05fdc5View commit details -
Configuration menu - View commit details
-
Copy full SHA for baa380b - Browse repository at this point
Copy the full SHA baa380bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b4030f - Browse repository at this point
Copy the full SHA 1b4030fView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a7b3106 - Browse repository at this point
Copy the full SHA a7b3106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66f00b6 - Browse repository at this point
Copy the full SHA 66f00b6View commit details -
Porting over paulmey changes to license and copyright headers. Good g…
…uy Microsoft have changed the licensing to MPL2 and removed the copyright headers so that we can include it in the official Packer release. microsoft/packer-hyperv@1ce6ba9?diff=unified#diff-5d60887f0940c9f8d6724e59843ac1fb
Configuration menu - View commit details
-
Copy full SHA for bc8dff3 - Browse repository at this point
Copy the full SHA bc8dff3View commit details
Commits on Dec 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 098abe9 - Browse repository at this point
Copy the full SHA 098abe9View commit details
Commits on Dec 13, 2016
-
Configuration menu - View commit details
-
Copy full SHA for f209763 - Browse repository at this point
Copy the full SHA f209763View commit details