Commit Graph

2533 Commits (dbbe8665e68cb6b00a9890c0bdd9fac1ab6782e9)

Author SHA1 Message Date
Ben Fagin 6f63881020 fixes a typo introduced in a previous change
9 years ago
luis-silva a269bbc6fa Fix issue 4875 - use retry logic when creating instance tags
9 years ago
Sean Chittenden eece75a7a6
Wait for a 410 before returning success on a machine delete.
9 years ago
Justin Reagor bd12c17bb0 Update triton client calls to pass along context
9 years ago
Matthew Hooker 80d6cd91fd
remove unneeded keypair var
9 years ago
Ben Phegan c4b8e8e5df Merge branch 'master' into virtualbox_sata_port_count
9 years ago
Matthew Hooker 602fd64c5d
builder/amazon: set flag to delete temporary keypair
9 years ago
Matthew Hooker 7aca9b7f71
builder/azure: replace panics with error returns
9 years ago
James Nugent d2ae36214a builder/triton: Reconcile #4829 and #4838 docs
9 years ago
James Nugent c1cad8726b builder/triton: Better AccessConfig tests
9 years ago
James Nugent d9ba951929 builder/triton: Switch to joyent/triton-go library
9 years ago
Matthew Hooker 9f992b8f80
go files are 0644
9 years ago
Christopher Boumenot f0e5f75b06 Update TODO.md
9 years ago
Bryon Ross d092044834 Help ensure VMX builder properly removes mounted CDs on OS X
9 years ago
zhuzhih2017 d646e1d035 refactor the code according hashicorp rename the repository
9 years ago
Rickard von Essen a3f70b874b
Spelling (context)
9 years ago
Rickard von Essen 5ee212c85f
Inlined ctx
9 years ago
Luke Farnell 5b7ec545c5 Added monitoring and updated godo
9 years ago
Matthew Hooker da8c4004f0
builder/amazon: numbers are valid in ami name
9 years ago
Matthew Hooker bc3510b473
fix spelling
9 years ago
Matthew Hooker 3f6b5165f2
add affirmative test case for #4762
9 years ago
Craig Barr d9041bda0c Improved the test for special character so that it doesn't get halted by less than 3 character check
9 years ago
Craig Barr 7911cfa94b Formatting as per make fmt
9 years ago
Craig Barr fdae6858c8 conforming to the standard for imports
9 years ago
Craig Barr df6337e8ab Added AMIName validation (issue 4761)
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
Matthew Hooker bce03492d9
remove references to ServiceAccountEmail
9 years ago
Rickard von Essen 77dc8b84c1
builder/googlecompute: Revert to using default service account
9 years ago
Matthew Hooker 6f27f67346
more fixes from errcheck
9 years ago
Matthew Hooker 4fcbf75da9
s/non existent/nonexistent/
9 years ago
Matthew Hooker cc11ec3566
check for a couple errors
9 years ago
Matthew Hooker 35578d9ed1
remove unnecessary type conversions
9 years ago
Matthew Hooker bf64d7bdc2
automagic simplification
9 years ago
Matthew Hooker 79287d7e47
simplify some code
9 years ago
Matthew Hooker 0149f679de
Print instead of Printf with no dynamic first variable.
9 years ago
Matthew Hooker d1b20b3d9c
remove a bunch of dead code.
9 years ago
Matthew Hooker 230079f73a
spell fixes
9 years ago
Matthew Hooker e4aa2a34ca
builder/amazon-chroot: nullable copy_files
9 years ago
Matthew Hooker 35480e21b2
fix typo
9 years ago
Matthew Hooker 0ad6b169bc
builder/virtualbox: retry removing floppy controller
9 years ago
Matthew Hooker 74c8c585f5
builder/amazon: report tag creation
9 years ago
Ben Phegan 0c777a1d63 Fix for DriverMock not implementing Driver
9 years ago
Ben Phegan 67eb600c08 Add sata_port_count so that a SATA controller can be created with more than 1 port. The default of prevents additional drives being added. Default preserved if not overridden.
9 years ago
Matthew Hooker 8b763032ce
builder/hyper-v don't wait for shutdown to return.
9 years ago
Matthew Hooker 68e2b150cd
builder/virtualbox: allow skipping upload of version file
9 years ago
Rickard von Essen 8c2a8f5f81 Merge pull request #4655 from lbordowitz/ostk-sshca
9 years ago
Rickard von Essen 6cd3cb18da
builder/openstack: validate ssh key name/file
9 years ago
Matthew Hooker bd76b7bb6f
builder/amazon: validate ssh key name/file
9 years ago
Rickard von Essen 4c5461102a
amazon: Added (more) support for SSH Agent and temporary keypair names
9 years ago
zhuzhih2017 0400ebae95 Fix the code according PR review
9 years ago
Rickard von Essen a047916944 Merge pull request #4621 from hui-yang/disk-type
9 years ago
Larry Bordowitz c5b8a1069a Add ssh agent to enable SSH-CA authentication.
9 years ago
Matthew Hooker 50d9546658
builder/amazon: set force_deregister to true on -force
9 years ago
Matthew Hooker 597b7ad8c5
builder/hyper-v: validate output dir in step, not in config
9 years ago
Matthew Hooker c5ddbacb62 Merge pull request #4318 from Tadas/fix-hyperv-admin
9 years ago
Matthew Hooker 9e8b602f28 Merge pull request #4643 from rickard-von-essen/issue-4620
9 years ago
Rickard von Essen eac5b6392d googlecompute: Correct values for on_host_maintenance
9 years ago
Rickard von Essen 2300b102b7 amazon: Step Region Copy crashing on device mapping
9 years ago
huiyang b3c6ef9f6b Skip disk compaction for plain disks
9 years ago
huiyang 52d4514d6a builder/parallels-iso: Configuration of disk type, plain or expanding
9 years ago
zhuzhih2017 5e44a28a42 fix the missing access key for testcase
9 years ago
zhuzhih2017 fadfb696dd Add packer plugin which support alicloud ecs images
9 years ago
Matthew Hooker 8cc2ed7d6e
vmware/esx: try for longer to connect to vnc port
9 years ago
Matthew Hooker 9c027aa70b Merge pull request #4601 from mitchellh/ebssurrogate-copy-ami
9 years ago
James Nugent e856339309 build/amazon-ebssurrogate: Add region copy, attributes, tags steps
9 years ago
James Nugent 1eec5bf058 builder/amazon-ebssurrogate: Exclude duplicate root volume
9 years ago
Matthew Hooker fd1b00a0d1
use aws helper method
9 years ago
Matthew Hooker 61976dfd86 Merge pull request #4578 from life360/enable_ena
9 years ago
Matthew Hooker ed92055372 Merge pull request #4532 from mitchellh/vmipgetagain
9 years ago
Matthew Hooker 1f2df5c174 Merge pull request #4536 from mitchellh/vmwareextraopts
9 years ago
Matthew Hooker 6a7c37beb6
builder/amazon-chroot: support encrypted boot volume
9 years ago
Matthew Hooker f62d0abf4e Merge pull request #4560 from guessi/deprecated_option_tag
9 years ago
Matthew Hooker 2cb9b32acf
don't attempt to delete non-existant key when using agent auth
9 years ago
Matthew Hooker f95514c120
fix ssh agent authentication
9 years ago
Aaron Stone 1cc3cdf7b5 Always set both SRIOV and ENA when Enhanced Networking is enabled
9 years ago
Richard Owen 33a4c2e13b Change EC2 WindowsPasswordTimeout to 20 minutes
9 years ago
James Nugent 635aeb765b amazon/ebssurrogate: Add New Builder
9 years ago
Matthew Hooker 3409ea76ee Merge pull request #4564 from wtsi-hgi/fix/4551-openstack-builder-reuse-ips
9 years ago
Matthew Hooker 2381bfa8ad Merge pull request #4518 from AlexLov/bugfix_image_family
9 years ago
Joshua Randall e9cfaa2730 add reuse_ips option for openstack builder
9 years ago
guessi 66615e3f56 reuse the func DockerDriver.Version()
9 years ago
guessi 5eae809b0c improve description
9 years ago
guessi c5e01da3c6 Conditional ignore `force` flag for `docker-tag`
9 years ago
Matthew Hooker 4f92b9fb61
Merge branch 'pr/4544'
9 years ago
Dimitri Rudnev 2009fcd9df OnHostMaintenance, googlecompute updating documenation , additional option for validation and setting defaults
9 years ago
Dimitri Rudnev bab590c177 Adding OnHostMaintenance option for googlecompue builder
9 years ago
Matthew Hooker 0ed84f843e
builder/vmware: allow extra options for ovftool
9 years ago
Matthew Hooker 29dd20da68
builder/vmware: don't cache ip address so we know if it changes
9 years ago
Matthew Hooker c41e32dbc1
print stderr on docker import failure
9 years ago
Alex Lov cfa8f8c215 fix bug of creating image from custom image_family
9 years ago
Matthew Hooker 84fc62f6b2 Merge pull request #4496 from mitchellh/vmrmguest2
9 years ago
Matthew Hooker 1fa643e88d Merge pull request #4498 from mitchellh/f-simple-passwords
9 years ago
Matthew Hooker 70af3d8148 Merge pull request #4497 from mitchellh/f-clickable-links
9 years ago
Chris Bednarski dcb4b50dbf Reduce character set for passwords
9 years ago
Chris Bednarski facf27ceeb Make rdp and vnc links clickable by adding the protocol
9 years ago
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