Commit Graph

4168 Commits (4eecc7a58012fe96deea3ada48cd5035dbd95327)

Author SHA1 Message Date
Adrien Delorme 6ff392d713 Update windows_container_communicator.go
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Adrien Delorme 06941a86a3 make the file builder run provisioners for testing purposes
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Megan Marsh b7d62b2ae0
Merge pull request #7391 from carlpett/proxmox-builder
7 years ago
Calle Pettersson 65cd5bbd29 Change disk size config parameter name
7 years ago
Megan Marsh 3e72e65a6c
Merge pull request #7456 from hashicorp/do_5770
7 years ago
Megan Marsh 04b57b3e32 fix tests; clean up ip file after build
7 years ago
Calle Pettersson e9d5a1d272 Update to builder interface change
7 years ago
Calle Pettersson 2f754c38f8 Add validation of interface implementation for both proxmox.Client and mocks
7 years ago
Calle Pettersson c4ce295f67 Add tests for step_start_vm cleanup
7 years ago
Calle Pettersson 4c1fbfdd61 Shifted special runes are already handled, simplify SendKey
7 years ago
Calle Pettersson 0765bc2283 Add tests for step_type_boot_command, fix found bug (shifted chars were not lower cased)
7 years ago
Calle Pettersson 28ca0f71b5 Add tests for step_convert_to_template
7 years ago
Calle Pettersson 3d5f433b22 Add more finalizetemplate tests, fix found bug
7 years ago
Calle Pettersson 5eb600bf88 Add draft of step test
7 years ago
Calle Pettersson 2e3086be5a Initial tests
7 years ago
Calle Pettersson 9f8fc37fde Implement Proxmox builder
7 years ago
Megan Marsh 196028a7ed
Merge pull request #7444 from hashicorp/docker_windows
7 years ago
Paul Meyer 7fc8901d8f
Merge pull request #7464 from paulmey/fix-snapshots
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Adrien Delorme 9836dad0c9 introduce the clean_resource_name to clean image names and deprecate the old ones
7 years ago
Megan Marsh 17c14770a7
Merge pull request #7450 from AkshatM/rename_security_group_cidr_to_security_group_cidrs
7 years ago
Paul Meyer eb274c4e87 Power off before shapshotting
7 years ago
Megan Marsh 874a4ff8c7
Merge pull request #7451 from bh9/master
7 years ago
Adrien Delorme 225f4bab1f
Merge pull request #7446 from hashicorp/do_6928
7 years ago
bh9 cbbbc451b5
Allow both ports and networks in openstack builder
7 years ago
Akshat Mahajan f07e4214cc Addresses issues #5384, #5494: Rename and change `temporary_security_group_source_cidr`
7 years ago
Megan Marsh b3c6dd0baa fix tests
7 years ago
Megan Marsh bcacd331c3 change cpu to cpus and ram_size to memory in order to bring hyper v into line with other builder defaults
7 years ago
Megan Marsh b764b1d7e1 fix tests
7 years ago
Megan Marsh a84fc6bde9 remove default ssh_username from oracle classic builder, but add note in docs.
7 years ago
Megan Marsh af06334114 fix tests
7 years ago
Megan Marsh 6407a579f0 Document why we need windows communicator in code
7 years ago
Megan Marsh 12b9004c76 reduce duplicated code
7 years ago
Megan Marsh 0860edeed8 fix mocks
7 years ago
Megan Marsh 70150ffa0f set powershell entrypoint for windows containers
7 years ago
Megan Marsh 36f2634352 can't use docker cp so call powershell to do this natively. Fix implementation for upload, uploadDir, and download in windows container communicator
7 years ago
Megan Marsh af01860fa9 remove old docker-toolbox limitation.
7 years ago
Megan Marsh 3b87f2a519 stop container before committing if windows
7 years ago
Megan Marsh 8f3313d81e Create new docker communicator for windows containers
7 years ago
Megan Marsh 9f1a4e0fed
Merge pull request #7423 from hashicorp/lock_ports
7 years ago
Adrien Delorme ac92916b01 StepConfigureVNC: close listener only once
7 years ago
Megan Marsh e97f864016
Merge pull request #7395 from josepand/openstack_force_delete
7 years ago
Megan Marsh e5ddf3e56b
Merge pull request #7419 from vhaidamaka/vbox_check_none_communicator
7 years ago
Paul Meyer e4bea87a20
Merge pull request #7211 from riezebosch/master
7 years ago
Adrien Delorme a3838ecfad error on negative ports
7 years ago
Adrien Delorme 5a6dffde9a use port as ints
7 years ago
Adrien Delorme f828b72c10 step configure vnc: allow to use ESX5Driver again
7 years ago
Adrien Delorme c214f6735b make everything a uint
7 years ago
Adrien Delorme ae182a7c20 qemu stepForwardSSH: use common/net pkg to find open port
7 years ago
Adrien Delorme 446105e384 quemu stepConfigureVNC: use common/net pkg to find open port
7 years ago
Adrien Delorme f67b5ff59d virtualbox StepConfigureVRDP: use common/net pkg to find open port
7 years ago
Adrien Delorme 59370986fb virtualbox StepForwardSSH: use common/net pkg to find open port
7 years ago
Adrien Delorme b5d78d47f5 vmware StepConfigureVNC: use common/net pkg to find open port
7 years ago
Vadym Haidamaka 414d0750f0 Add tests to validate 'none' communicator in the virtualbox builder
7 years ago
Vadym Haidamaka 0263503c45 Validate virtualbox_version_file and guest_additions_mode when communicator is none
7 years ago
Esten Rye ba5385b224 Fix invalid character issue on Windows.
7 years ago
Megan Marsh d505bc59a0
Merge pull request #7415 from programmer04/improve-name-conflict-msg
7 years ago
Megan Marsh 24c42e4a1f
Merge pull request #7397 from vhaidamaka/fix-7321
7 years ago
programmer04 596a9cc7ff Improve error message for AWS and Alibaba
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Megan Marsh 0196d7f835
Merge pull request #7370 from sargun/allow-users-to-specify-custom-block-device-mapping
7 years ago
Vadym Haidamaka 4855bc79c9 Add vagrant-cloud post-processor support for the vagrant builder
7 years ago
josepand f2b42f2b4b Expose force_delete for openstack builder
7 years ago
Megan Marsh 67fe820465
Merge pull request #7361 from hashicorp/fix_insecure_skip_tls_verify
7 years ago
Lukas Kämmerling 633934369c
Use Context of run method and allow users to cancel the build
7 years ago
Lukas Kämmerling cc2267fd2a
Fix usage of rescue system
7 years ago
Lukas Kämmerling b6ee0ea736
Fix Format
7 years ago
Lukas Kämmerling 7730cdcb56
Fix usage of freebsd64 rescue image
7 years ago
Megan Marsh 5aeab4ec06
Merge pull request #7300 from kmbulebu/openstack_app_creds
7 years ago
Megan Marsh 8b2fb15f4d
Merge pull request #7375 from lrxcy/fix_190220
7 years ago
wb-ywq399345 035b9e5cda fix 'Acceptance Tests can't find image problem'
7 years ago
Megan Marsh 3ed9fe6dee remove unused imports
7 years ago
Megan Marsh 0ed57a37a3 dont overwrite session config in ebs builder
7 years ago
Megan Marsh ca9a5daf29 fix proxy and tls
7 years ago
Megan Marsh 3dc1dafe58
Merge pull request #7287 from stephen-fox/ephemeral-ssh-key-pair-issue-7225
7 years ago
Sargun Dhillon 601e754438 amazon/chroot: Allow creating new block device mappings !not fromScratch
7 years ago
Megan Marsh eb98840f18
Merge pull request #7357 from e-mow/issue-7140
7 years ago
Eric Mowry cef3d0eb24 Ran make fmt per Megan's request.
7 years ago
Megan Marsh ec3b0a5138 fix conflict from mergeing too many things to master at once
7 years ago
Megan Marsh 9d2b06bd61
Merge pull request #7342 from hashicorp/fix_7316
7 years ago
Megan Marsh 0abd16527e
Merge pull request #7337 from sargun/fix-chroot-builder
7 years ago
Stephen Fox 7e1cbc6d89 Rename references to key pair name to comment.
7 years ago
Eric Mowry 109ba2c54c After testing a ISO and VMX clone along with setting the display_name option it was determined that having no name for the .vmxf file did not work either. Updating to check if displayName is not empty before using and falling back to VMName if displayName is empty.
7 years ago
Megan Marsh 3b6ff0fe3e
Merge pull request #7106 from hashicorp/revert_docker_changes
7 years ago
Megan Marsh 0371e2a1b4
Merge pull request #7074 from hashicorp/fix_3329
7 years ago
Megan Marsh 424a6a3a7e
Merge pull request #6983 from hashicorp/revert-6979-revert-6925-organization_renaming
7 years ago
Stephen Fox 61a8968b22 Use 'os.OpenFile' to atomically create debug key file.
7 years ago
Stephen Fox 094c87e395 Remove 'SSHPublicKeyUrlEncoded', use 'urlquery' instead.
7 years ago
Eric Mowry e74a81e27b Deny the copying of .vmxf from the source VM to the target VM. If this file gets copied over to the new VM once the VM gets deleted the .vmxf and the folder for the VM stay on the datastore. This causes Packer to hang because the folder on the datastore does not go away during the cleanup process.
7 years ago
Eric Mowry 1127096beb Setting extendedconfigfile to the name of the VM so that when ESXi makes the vmxf it is named after the VM and ESXi will properly delete the file when the VM gets deleted.
7 years ago
Adrien Delorme f535464097 up a test
7 years ago
Adrien Delorme f03cbd8a10 aws: allow to pass nil bool as encryption parameter
7 years ago
Adrien Delorme ce8532e94b aws: document ValidateRegion better
7 years ago
Adrien Delorme 6af621c37a aws: StepAMIRegionCopy call waitgroup.add only once
7 years ago
Michael F 01a0b0c766 kmsArnStartPattern - fix support for aws-us-gov
7 years ago
Megan Marsh 026e543b24 move snapshot deletion to cleanup; this allows people with tag-specific permissions to perform snapshot deletion operation
7 years ago