Commit Graph

2744 Commits (787f08f39bba1b04d9c71801ac2ebe7584ae60c8)

Author SHA1 Message Date
cstuntz 42444e58e6 Updating step_run_source_instance to add tags at instance start instead of adding them to running instance
9 years ago
Dan Isla 00797cc23b Update to how zone is extracted from metadata
9 years ago
Michael Kuzmin 9876a28ea7 vmware: publish vm_name as artifact ID
9 years ago
Matthew Hooker b99e2c4b96 Merge pull request #5148 from zhuzhih2017/master
9 years ago
Rickard von Essen 858f1227af
cloudstack: Updated after review (2)
9 years ago
Tobias eafaaa881f builder/hyperv/iso: missing InterpolateContext
9 years ago
Rickard von Essen 26cd27dc7c
cloudstack: Updated after review
9 years ago
Rickard von Essen 2fea167294
cloudstack: Updated after review
9 years ago
Rickard von Essen 89dcc93f1c cloudstack: Print instance password if debug mode
9 years ago
Rickard von Essen fc964bfab2 cloudstack: Setup temporary SSH keypair
9 years ago
Rickard von Essen 8a035ddb8a
parallels: Remove soon to be removed --vmtype flag
9 years ago
Saulius Grusnys 5ebc96744d Accelerator api is now GA, switching back to v1 from v0.beta
9 years ago
zhuzhih2017 8cf8079cad rename variable name to avoid misunderstanding
9 years ago
zhuzhih2017 62da0e7607 fix keypair error for debug mode and increate the wait time to avoid the timeout failure, add the more example
9 years ago
Saulius Grusnys b6783a1180 Adding sanity checks in Prepare when adding accelerators and tests for accelerator configuration
9 years ago
Rickard von Essen 1bf8a0c6a1
cloudstack: Move ipaddress and host port to state
9 years ago
Rickard von Essen 07fffd7cd5 cloudstack: moved instanceSource to statebag
9 years ago
Rickard von Essen ef5c7936f2 Merge pull request #5130 from rickard-von-essen/cloudstack-ssh-agent
9 years ago
Saulius Grusnys 200113b8c1 Switch googlecompute builder to use compute/v0.beta and add support for accelerator api
9 years ago
Megan Marsh a2f7a65e35 fix communicator tests
9 years ago
Rickard von Essen f47c41372e
cloudstack: Add support for ssh_agent_auth
9 years ago
Rickard von Essen 285b1391ae Merge pull request #5123 from rickard-von-essen/cloudstack-err
9 years ago
Rickard von Essen 4a6d029554 Merge pull request #5125 from rickard-von-essen/cloudstack-cidr
9 years ago
Rickard von Essen 89b9b4c456
cloudstack: Add default cidr_list [ 0.0.0.0/0 ]
9 years ago
Rickard von Essen 62dac4a168
cloudstack: some updates after review
9 years ago
Rickard von Essen 0d7c3ac171
cloudstack: Allow reading api_url, api_key, and secret_key from env vars
9 years ago
Rickard von Essen 44089b2f55
cloudstack: Improved error reporting
9 years ago
Megan Marsh 938840782f Merge pull request #5059 from hashicorp/5053_fix
9 years ago
Sander van Harmelen 3f444997b2 Make expunge optional and improve logging output (#5099)
9 years ago
Sander van Harmelen c4ef9bcd3f Make sure we always print and return any errors
9 years ago
Lars Tobias Skjong-Børsting c01f6d8708 builder/cloudstack: Support http server (#5017)
9 years ago
Taliesin Sisson 2325c1ee58 Merge pull request #5085 from Lee303/builder-hyperv-temppath
9 years ago
Taliesin Sisson d569a1b879 Merge pull request #5014 from Lee303/builder-hyperv-floppydirs
9 years ago
Lee 0680cb08e5 Add support for temp_path directive to override systemp %temp%
9 years ago
Megan Marsh 0b0fd408c4 Merge pull request #5048 from hashicorp/4887_patch
9 years ago
Megan Marsh c0e271ba9c Merge pull request #5076 from it-praktyk/Group_membership_by_SID
9 years ago
Wojciech Sciesinski 7bacc22825 Verify membership in the group Hyper-V Administrators by SID not name - fix #5022
9 years ago
Megan Marsh 12d43c98f7 test the deduplication code
9 years ago
Christopher Boumenot ec96cacdf3 azure: write temporary ssh key to a file
9 years ago
Megan Marsh 5f92de6a39 fix panic that occurs when ami_block_device_mappings and does not explicitly contain the root volume
9 years ago
Rickard von Essen 46ec8ccb97 Merge pull request #5035 from rickard-von-essen/issue-5018
9 years ago
Rickard von Essen f230f00726 googlecompute: Allow using URL's for network and subnetwork
9 years ago
Rickard von Essen f1d2ae42d8 Merge pull request #5058 from ncdc/parallels/fix-new-artifact-visit-when-file-not-found
9 years ago
Christopher Boumenot 06ea433104 azure: private SSH private key for debug
9 years ago
Christopher Boumenot 0d427939bc azure: Fix custom managed images
9 years ago
Christopher Boumenot 1874514e4f azure: go vet ./...
9 years ago
Christopher Boumenot 027db82862 azure: go fmt ./...
9 years ago
Christopher Boumenot 9425ece680 azure: Handle SDK changes
9 years ago
Christopher Boumenot 841f54fc1e azure: unit test fixes
9 years ago
Christopher Boumenot b7e32cb10a azure: best error message possible
9 years ago
Christopher Boumenot c09f8b84b9 azure: fit and finish
9 years ago
Christopher Boumenot d782ad99f8 azure: pick better names
9 years ago
Christopher Boumenot 9f4fb56041 Support managed disk for platform images
9 years ago
Christopher Boumenot c6ff4aae59 Support for building from custom managed images
9 years ago
Christopher Boumenot 8cea6f5be5 azure: Update to SDK 10.0.3
9 years ago
Andy Goldstein c6dba6c051 Parallels: skip missing paths when looking for unnecessary files
9 years ago
Matthew Hooker d35eeecf46
vnc port discovery timeout is 15 seconds
9 years ago
Megan Marsh a281e60e15 de-mangle windows filepath to something docker can handle
9 years ago
Matthew Hooker 6581e0b7d6
add hostkeycallback everywhere else
9 years ago
Megan Marsh 2a6f5f1b13 specify HostKeyCallback for vmware esx5 driver
9 years ago
Megan Marsh ac15b33d2b Merge pull request #5029 from hashicorp/5007_instance_stop
9 years ago
Megan Marsh f7a703dfb2 add pending to allowable states while waiting for ebs instance to stop
9 years ago
Megan Marsh d706147423 add exponential backoff retry for stopping instance in amazon
9 years ago
Lee Spottiswood 4d394033d2 add tests
9 years ago
Lee Spottiswood f95093ef63 Add support for floppy_dirs with hyperv-iso builder
9 years ago
Matthew Hooker febc65aa7c
try again to get region from metadata
9 years ago
Matthew Hooker 8dae6b60c1 Merge pull request #4996 from hashicorp/mwhooker/4613
9 years ago
Matthew Hooker 350e8bfe0d
we don't need to look for region in metadata.
9 years ago
Matthew Hooker 94d7a4ce8d
post-processor/vagrant-cloud: try upload once
9 years ago
Kent Wang e59678a033 Fix alicloud-ecs typo
9 years ago
Kent Wang 6da9802a33 builder/alicloud-ecs: Fix chooseNetworkType
9 years ago
Kent Wang a40bb9af99 Fix ssh config must specify HostKeyCallback
9 years ago
Matthew Hooker 4860d7179d
remove redundant log line
9 years ago
Matthew Hooker 6231ec3569 Merge pull request #4997 from Constantin07/add-sg-name-to-output
9 years ago
Yamashita, Yuu ab4636ae0f Explicitly specify `zoneid` in CloudStack's `associateIpAddress` call (#4995)
9 years ago
Constantin Bugneac ae03dab920 Print in the output the security group name too.
9 years ago
Matthew Hooker a619759bf7
add support for profile
9 years ago
Matthew Hooker 3fb4162660
remove code from bad merge
9 years ago
Matthew Hooker 624aaa2067
bugfix
9 years ago
Matthew Hooker 3ed7572525
remove cli_config
9 years ago
Matthew Hooker f637878822
with wrapping
9 years ago
Matthew Hooker 23084fe171
dedupe
9 years ago
Matthew Hooker 58e386827a
fix typo
9 years ago
Rickard von Essen 15f80dc5ab
aws: Drop undocumented option `profile`
9 years ago
Matthew Hooker 56c513088b
I think this was the intention
9 years ago
Matthew Hooker 94854a26d9
fix go vet issue
9 years ago
Matthew Hooker d7e39b72b2
remove dead code
9 years ago
Rickard von Essen f106e60a7e
builder/amazon: Added MFA support
9 years ago
Rickard von Essen f55c3b9d34
builder/amazon: Support assume role with assume_role_arn
9 years ago
Rickard von Essen 3833d34829
builder/amazon: Cleaned up credential handeling
9 years ago
Anish Bhatt ff39827733
Make null builder actually have the ability to do nothing
9 years ago
Pavel Vasilevich 547cfa3602 Add information about artifact in manifest post-processor in azure-arm builder
9 years ago
Matthew Hooker 769ff28e03
builder/ebssurrogate: Use correct devices for AMI.
9 years ago
Matthew Hooker ab81b3ef7d Merge pull request #4699 from BenPhegan/virtualbox_sata_port_count
9 years ago
Matthew Hooker bf830e393d Merge pull request #4810 from bryonr/fix_vmware_shutdown_cleanup_osx
9 years ago
Matthew Hooker 39a2b9c50e Merge pull request #4953 from hashicorp/azure-artifact
9 years ago
Matthew Hooker 11ba986abc Merge pull request #4930 from hashicorp/fix4925
9 years ago
Matthew Hooker b1bcf62ae1 Merge pull request #4619 from zhuzhih2017/master
9 years ago
Matthew Hooker 0c116981ab Merge pull request #4960 from rickard-von-essen/issue-4959
9 years ago
Rickard von Essen 31b93a3026 virtualbox: Don't add portforwarding if comm = none
9 years ago
Rickard von Essen 2f8b02a6e1
builder/null: Support SSH Agent Auth
9 years ago
zhuzhih2017 2de00f2ff8 add check rule for image_name
9 years ago
zhuzhih2017 7bc0f17ce5 fix the wrong number args in step_create_instance
9 years ago
zhuzhih2017 b9eee0805e Merge branch 'master' of https://github.com/zhuzhih2017/packer
9 years ago
zhuzhih2017 7f91069c2c add rule to prevent the source_image name include spaces and fix the step_run_instance report wrong message problem
9 years ago
Matthew Hooker 2fd41f4707
grammar fixes.
9 years ago
Matthew Hooker fdfd01eaea
formatting
9 years ago
Matthew Hooker 0348b2d3da
don't need alicloud in file name
9 years ago
Matthew Hooker e72163264b
spelling and grammar fixes
9 years ago
Matthew Hooker 66bd707f7c
spell fix
9 years ago
Matthew Hooker 8bc038d8b8
remove alicloud_ prefix
9 years ago
Matthew Hooker 8db397765c
spelling and formatting
9 years ago
Matthew Hooker 5ed3be9a8c
set azure metadata
9 years ago
Matthew Hooker 1f4b532ed5 Merge pull request #4948 from hashicorp/kms_key_regions
9 years ago
Megan Marsh b8c2a5fd43 fix step initializer everywhere StepAMIRegionCopy is called
9 years ago
Megan Marsh 875745ab9b one more test
9 years ago
Megan Marsh 1944f38985 update docs and clean up
9 years ago
Megan Marsh 5b35d199da golang has different style than python
9 years ago
Megan Marsh f9d7292566 builder/amazon regional KMS keys
9 years ago
Matthew Hooker 730cc0889e Merge pull request #4919 from hashicorp/fix4798
9 years ago
Matthew Hooker f801c507fc
builder/vmware: make vnc probe timeout configurable
9 years ago
Jason Ramey cc309c0e5f spelling fix
9 years ago
zhuzhih2017 b2aa40655b fix long line format
9 years ago
zhuzhih2017 5e7e5a419d format the code as CI required
9 years ago
zhuzhih2017 7b9f93c75f add retry logic when attach keypair failed
9 years ago
Matthew Hooker 0e3469e913
spell fix
9 years ago
Megan Marsh 7174a7a3d5 New map: region_kms_key_ids, allowing custom encryption keys on a per-region basis. Also new tests.
9 years ago
Matthew Hooker 77b4d47409
only delete snapshots which exist
9 years ago
Matthew Hooker c0b27dfa6f
don't try to delete extra volumes during clean up
9 years ago
Matthew Hooker 1cf4754d80
correct ami_name error reporting
9 years ago
zhuzhih2017 a26c72f38e fix the comments about root and apply the keypair with latest dependence
9 years ago
James Nugent c4439aba82 builder/vmware: Add vmx_remove_ethernet_interfaces
9 years ago
Megan Marsh 4abb541468 fix logging to clarify that encrypt_boot needs to be set, not encrypt, and fix typo
9 years ago
Matthew Hooker f6eb4e1b40
use cleanhttp to get a default transport.
9 years ago
r_takaishi 4fc0616bc9 fix go vet fail
9 years ago
r_takaishi db58854b0b make fmt
9 years ago
r_takaishi 37e6539bff use DefaultTransport
9 years ago
r_takaishi 67ce2da59e add cacert config to specify custom CA certificate file
9 years ago
r_takaishi 1de9eb2cfd support client certificate file
9 years ago
JD Friedrikson a0052fdb68
Specify InsecureIgnoreHostKey for HostKeyCallback
9 years ago
Matthew Hooker 4137660b7a
fix ami name validation
9 years ago
Matthew Hooker e67d1fd676 Merge pull request #4900 from rogers0/PR/crypto-CVE-ABI-change
9 years ago
Matthew Hooker ee5d13611f
update ssh client usage for new crypto/ssh version
9 years ago
numa b15c3a5c92 Fix error message
9 years ago
Rémi Jouannet 45143bb6f4 add an option custom_endpoint_ec2 for amazon builder, add a condition if vpc_id is empty don't add the parameter to the aws call
9 years ago
Matthew Hooker 06c7136e30
compare regions against valid regions
9 years ago
Luke Farnell 3afd77a5e4
fixed logic error and fixed suggestion
9 years ago
Luke Farnell 078c139ef1
Fix tests and add more
9 years ago
Luke Farnell 0f354614c0
Region Validation
9 years ago
Luke Farnell abf2e618b5
Wait for snapshot transfer and change artifact output
9 years ago
Luke Farnell 4f5d3face2
remove duplicates
9 years ago
Luke Farnell 8ed50608b1
add image transfer for DigitalOcean
9 years ago
Paul Thrasher 0be5a28080 Fix issue 4693 - Derive vpc_id from subnet_id
9 years ago
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
Jimmy The Dog 1e9b0f7b8f Replace export output dir in state bag with params
9 years ago
Jimmy The Dog e851efb1b6 Set export_dir to the output_dir property
9 years ago
Jimmy The Dog 9eb9abdce9 Merge branch 'master' into ovfexportpath-localoutputdir
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
Jimmy The Dog ce41055ac6 builder/vmware-iso: do not append to output dir, as ovftool does that
9 years ago
Jimmy The Dog 14810523b8 builder/vmware-iso: get artifact files from local dir
9 years ago
Jimmy The Dog 7a2b30dcc4 builder/vmware-iso: need to always set local output dir, or non-remote build exports will fail
9 years ago
Jimmy The Dog f8df5f81db builder/vmware-iso: set local output dir
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