Commit Graph

2388 Commits (fdfb3fa1a67b3118b8d8ad72bc56afcfe683c559)

Author SHA1 Message Date
Matthew Hooker e9e3215c38
builder/virtualbox: remove guest additions
9 years ago
Matthew Hooker 228bc9cfd3
use driver delete method
9 years ago
Jelle Hissink 6973e752d2 Vmware vsphere vnc port timeout increased
9 years ago
Thomas Conte d294d2c576 gofmt
9 years ago
Thomas Conte 1ec6578c02 Add two new variables to Azure builder config
9 years ago
Matthew Hooker 22d1322bd9
always check for an error first when walking a path
9 years ago
Rickard von Essen c9259d116f builder/amazon-ebsvolume: Fix interpolation of block_device
9 years ago
Matthew Hooker 76f897077d Merge pull request #4399 from rickard-von-essen/aws-interpolate
9 years ago
Matthew Hooker 485fa58b43 Merge pull request #4443 from mitchellh/preservedockermode
9 years ago
Rickard von Essen de7388fa0a
builder/amazon-ebsvolume: Fixed interpolation of tags
9 years ago
Matthew Hooker 2a7c84e9ff Merge pull request #4343 from vtolstov/qemu_convert
9 years ago
Matthew Hooker a51f492558
communicator/docker: preserve file mode.
9 years ago
Rickard von Essen 6e891cf682
Fixed botched merge and review comments
9 years ago
Matthew Hooker 9e2d69fb97
builder/docker: create export dir if needed
9 years ago
Rickard von Essen ba9cae5078 builder/amazon: Add SourceAMI and BuildRegion template
9 years ago
Matthew Hooker f1175c1921
parallels/vmware: don't wait for shutdown command.
9 years ago
Matthew Hooker fc30f6cc0a
log tag creation.
9 years ago
Matthew Hooker 56b5e97bf4
verify given security group
9 years ago
Matthew Hooker b265d2614f
builder/amazon: fix when using security_group_id
9 years ago
Eike Verdenhalven 7ad77b9e93 integrate new winrm transport interface
9 years ago
Matthew Hooker 0a46d883df Merge pull request #4409 from mitchellh/httpenvvar
9 years ago
Matthew Hooker f5bf588393
tag all volumes
9 years ago
Matthew Hooker 800351b7ca
fix panic and don't print each tag we add.
9 years ago
Roman Zhuzha d9186dc8cf add proper error handling for tagging source instance
9 years ago
Roman Zhuzha ae016a1f25 simplify code flow: skip the step if no run_volume_tags provided
9 years ago
Roman Zhuzha a65af51a4b apply source instance default "Name" tag only if it's not provided in run_tags
9 years ago
Roman Zhuzha 36d8a1df1d use common.ConvertToEC2Tags to apply tags to source EBS volumes, change Say message
9 years ago
Roman Zhuzha aa70c82ec8 use ConvertToEC2Tags to apply tags to source instance, add Say message
9 years ago
Matthew Hooker 26dd3af9ec Merge pull request #4411 from rickard-von-essen/issue-4406
9 years ago
Matthew Hooker d4b043451f Merge pull request #4357 from dave2/gh-4215
9 years ago
Matthew Hooker 94a2aae749 Merge pull request #4361 from Tom-Byrne/openstack-instance-metadata
9 years ago
Rickard von Essen 81ad800fb6 builder/vmware: Try to use `ip address` to find host IP
9 years ago
Matthew Hooker d2e59e4e92
set PACKER_HTTP_ADDR env var when available.
9 years ago
Chris Bednarski 6ad702ad74 Update comments to reflect current implementation
9 years ago
Chris Bednarski ee2d636840 Improve delay between key events
9 years ago
Chris Bednarski d0c64f90d5 Read key interval from ENV; default to 100ms
9 years ago
Chris Bednarski da083506f1 Reduce key delay to 10ms to boot times are a lot faster
9 years ago
Matthew Hooker c1f5545986
compress pr #4395
9 years ago
Richard Moore 9435fa62e3 Output error causing ebs volume deletion failure
9 years ago
Matthew Hooker b9d08e9d56 Merge pull request #4385 from rickard-von-essen/issue-4383
9 years ago
Rickard von Essen 112f5abdae
docker: Fix crash when performing log in to ECR with an invalid URL.
9 years ago
Matthew Hooker 98b0f018fa Merge pull request #4378 from DanHam/skip-export-vmware
9 years ago
Matthew Hooker a3da92dc97 Merge pull request #4339 from DanHam/gh-4131
9 years ago
DanHam c7e8d671a9
Add option to skip export of installed VM for VMware iso builder
9 years ago
Rickard von Essen 26fe9cf339
builder/amazon: Fix crash in amazon-instance
9 years ago
Matthew Hooker 377f451a9e
it's InvalidGroup
9 years ago
Matthew Hooker e54605c120
Properly wait for security group to exist.
9 years ago
Tom-Byrne d7545c4ba0 support OpenStack instance metadata
9 years ago
Zanetti, David 08ef89f032 Openstack builder should use existing floating IPs before allocating them
9 years ago
Matthew Hooker aef6e0e93f Merge pull request #4304 from dave2/gh-4277
9 years ago
Rickard von Essen 85cf00069f Merge pull request #4294 from legal90/iso-target-extension
9 years ago
James Nugent 01c09aa7f7 Merge pull request #4325 from siepkes/f-triton-builder-2
9 years ago
Rickard von Essen ae2e59634c Merge pull request #4341 from rahart/f-chroot-snapshots-crash
9 years ago
DanHam ac769be49a
Pause between each boot command element rather than each char with -debug
9 years ago
Vasiliy Tolstov 20349f750d builder/qemu: allow to convert from any supported format
9 years ago
Jasper Siepkes 690302a6a3 Minor cleanup and style fix.
9 years ago
Travis Harrington e31d75eca8 Quick fix for issue #4340
9 years ago
DanHam 0ac071b6e7
Add option to skip export of installed VM for Virtualbox ISO & OVF builders
9 years ago
Jasper Siepkes 0c9b576c05 * Unentagled SSH communication with VM's from the Cloud API SSH private
9 years ago
Jasper Siepkes 24786aeece Processed code review feedback.
9 years ago
Jasper Siepkes 7606dd541b * Contains the SSH fix by @watters of #3840.
9 years ago
James Nugent e15be036d7 builder: add Triton builder
9 years ago
DanHam 13bb4d153a
qemu builder now needs to explicitly set WinRMPort for StepConnect
9 years ago
DanHam 686ec1866e
vbox builders now need to explicitly set WinRMPort for StepConnect
9 years ago
Tadas Medisauskas 4939ea1a3b Add support for Hyper-V admins security group
9 years ago
Matthew Hooker 2e358ae4a1 Revert "builder/virtualbox: group keyboard codes"
9 years ago
Rickard von Essen 4b1e014be8
builder/amazon: Crashes when multiple EBS vols are used
9 years ago
Matthew Hooker 308a01795c Merge pull request #4305 from mitchellh/replace4247
9 years ago
Matthew Hooker ee86dc87fd
fix broken test
9 years ago
Matthew Hooker aa177de54b
add test for #4247
9 years ago
Zanetti, David ae5730c5a5 Querying EC2 security groups should report unexpected errors
9 years ago
Matthew Hooker f1dd0811d8
builders/openstack: fix for finding resource by ID.
9 years ago
Matthew Hooker 9801e67fdc Merge pull request #4293 from mitchellh/usedefaultdisplay
9 years ago
Matthew Hooker e4f6eaae9b Merge pull request #4231 from artburkart/force-delete-snapshot-patch
9 years ago
Mikhail Zholobov 57d07f227a
Add "iso_target_extension" option for all local *-iso builders
9 years ago
Matthew Hooker 0339fcc442
builder/qemu: add use_default_display option
9 years ago
Mikhail Zholobov aa623e22a3
golint: Add comments for exported methods
9 years ago
Mikhail Zholobov 73d87b07de
golint: Fix lint offences
9 years ago
Mikhail Zholobov 00a90e622b
Remove unused constant "KeyLeftShift"
9 years ago
Mikhail Zholobov 1ca841b499
Fix shadowed declarations
9 years ago
Mikhail Zholobov dde445bd0d
Fix style: Organize imports in groups
9 years ago
Mikhail Zholobov 319b85cb7a
Fix style: Use a consistent case for initialisms
9 years ago
Matthew Hooker c61c7765ec Merge pull request #4288 from troytoman/gce-network-uri
9 years ago
Matthew Hooker 88841cb0e4 Merge pull request #4283 from mitchellh/openstackhacks
9 years ago
Matthew Hooker 754ed931e9
be nice if user gets the image visibility case wrong
9 years ago
Rickard von Essen d3c2239b9e
builder/amazon: Change shutdown_behaviour to shutdown_behavior
9 years ago
Rickard von Essen c24b4423b2 builder/amazon: Added new region London - eu-west-2
9 years ago
Matthew Hooker 1408c3fde8
bugfix
9 years ago
Matthew Hooker 00e4585ce5
first pass at adding new members
9 years ago
Matthew Hooker cbe7e9113a
return early if no set visibility
9 years ago
Matthew Hooker 99667df17e
update image visibility own step
9 years ago
Matthew Hooker 7bd211cf61
first attempt at modifying visibility
9 years ago
Matthew Hooker 6a6e735d16
use 404 error type
9 years ago
Zanetti, David 01e3e7f7a3
Second part of resync of gophercloud
9 years ago
Alexander Krasnukhin ac98aad1df Fix log statement
9 years ago
Matthew Hooker 45d4cf8b36
move powershell module to common
9 years ago
Matthew Hooker 5e324d6bb4
apply #4041 to hyperV builder
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 e357c56186 Builders don't need to set this up anymore
9 years ago
Taliesin Sisson 74255c553b 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
9 years ago
Taliesin Sisson 335615408a Run go fmt on files
9 years ago
Taliesin Sisson 44f73fa75f Changed ram_size_mb to ram_size
9 years ago
Taliesin Sisson fb192ce6d6 Remove unused import
9 years ago
Taliesin Sisson 04a6880361 Remove unused import
9 years ago
Taliesin Sisson 3f0835aab2 Remove headless option as it is not used.
9 years ago
Taliesin Sisson 3c1df5a791 Remove inconsistent "_mb" from ram size
9 years ago
Taliesin Sisson 0515487062 Configuration settings are no longer used
9 years ago
Taliesin Sisson 20643e35a8 Do not specify a default username or password
9 years ago
Taliesin Sisson d7117560cf We are using powershell and Msvm to send keys to virtual keyboard so update comment
9 years ago
Taliesin Sisson a27d75ff89 Fix comment left over from initial import
9 years ago
Taliesin Sisson 501845cb4f SSHKeyPath and SSHWaitTimeout have been deprecated in favor of communicator configuration
9 years ago
Taliesin Sisson c2d1f6b617 Added the ability to independently configure switch vlan. This will people to leave the switch in trunk mode and set a vlan for the vm.
9 years ago
James Johnson 48b6cc0650 Enable VlanID
9 years ago
Taliesin Sisson 9fbd1e472a Add support for mac spoofing and dynamic memory.
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 9c53df1e0e Add special key modifiers to log output when used.
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 52c6cd5fc1 Test should run and pass even when run on an environment that does not have Powershel.
9 years ago
Taliesin Sisson 4d22bd1d4a Generate switch name using uuid v1
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 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 bda2468404 removed unused reference
9 years ago
Taliesin Sisson d1961b7c8e Echo output when its used
9 years ago
Taliesin Sisson 18241e5215 Setting boot drive is generation specific
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 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 730c6217ad Fix disk size test
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
Taliesin Sisson c24c882b84 Use simple naming convention for now
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 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