Commit Graph

6701 Commits (4b394c8563dc66db875d12416d0575ee56ae8dd7)
 

Author SHA1 Message Date
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
Taliesin Sisson cd6213eb55 Seems like we do need to escape the double quote
9 years ago
Taliesin Sisson 9fd635742c Always force turn off vm
9 years ago
Taliesin Sisson ccf506ee22 Must point to iso hyperv plugin
9 years ago
Taliesin Sisson 25baa26a7a Incude hyperv as part of the plugins
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 730c6217ad Fix disk size test
9 years ago
Taliesin Sisson 15137310a7 Must escape string formatting for string fmt
9 years ago
Taliesin Sisson 5285a819dd Quoting of powershell commands and associated tests
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
Volodymyr Babchynskyy d57517d4a4 fix vagrant box structure
9 years ago
Taliesin Sisson 8e18baf493 Use plain text password
9 years ago
Taliesin Sisson c24c882b84 Use simple naming convention for now
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 837f9addd0 Check the floppy files and not the dvd files attached
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 ef507c7bd7 Pass in any iso images to add as dvd drives during boot
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 6c3030c73a Add a little safety around variables that are passed into provisioner.
9 years ago
Taliesin Sisson bd0b1190f6 When redirecting local ports to hyper visor ports we need to configure WinRM ports as well as SSH ports.
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
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 79a5f90379 Use the convention for default vmname
9 years ago
Taliesin Sisson 469415fdfb Tests where for an old version of powershell class. Changed for the new one
9 years ago
Taliesin Sisson a42215981e The test is meant to fail if the folder already exists
9 years ago
Taliesin Sisson ca16f33fa3 Use the same configuration style as existing builders
9 years ago
Taliesin Sisson 1fe4c501e4 Port of https://github.com/pbolduc/packer-hyperv/
9 years ago
Matthew Hooker d632f3b574
update changelog
9 years ago
Matthew Hooker b49be38d74 Merge pull request #4210 from yoctocloud/fixes
9 years ago
Matthew Hooker 3895ec40a3 Merge pull request #4272 from bhcleek/ansible-docker-test
9 years ago
Matthew Hooker 9cf842b84e Merge pull request #4274 from mitchellh/4273
9 years ago
Matthew Hooker f1fb942219
add ca-central-1 to list of known aws regions.
9 years ago
Billie Cleek e55c530cc6 add ansible tests for docker builder
9 years ago
Billie Cleek c1591a8efa update ansible tests to use wheezy
9 years ago