Commit Graph

4148 Commits (2f577e60b6087c2b8b389cd1fef0047afa085cc9)

Author SHA1 Message Date
Megan Marsh c7278e871c
Merge pull request #7038 from kmbulebu/openstack_deprecated_api
7 years ago
Megan Marsh f2439625bf
Merge pull request #7298 from hashicorp/fix_7256
7 years ago
Megan Marsh 22e3f09db3
Merge pull request #7282 from hashicorp/do_6994
7 years ago
Megan Marsh 2a613dd6e9 fix up the github suggestion
7 years ago
Adrien Delorme 3ae5a912d4
Update builder/amazon/common/step_pre_validate.go
7 years ago
Kevin Bulebush cd1f1165ed Support reading app creds from packer config
7 years ago
Kevin Bulebush 2edf3d8b8e Openstack: Added application credential config
7 years ago
Megan Marsh 3fd589fa72 typos
7 years ago
Megan Marsh e2d8c0bfd7 docs
7 years ago
Megan Marsh 07c0c599e0 attach guest additions via SATA when necessasry
7 years ago
Megan Marsh 5057220ad2 use VAGRANT_CWD rather than changing packer run directories
7 years ago
Megan Marsh dc848ea5d7 just make vagrantfile instead of calling init
7 years ago
Miłosz Smółka 228829139b Merge branch 'master' into hyperone
7 years ago
Miłosz Smółka 1ee4517370 Update source_image names in tests
7 years ago
stephen-fox b7719650ae
Merge pull request #1 from stephen-fox/parse-user-supplied-keypair
7 years ago
chris marget 53c0376dfd don't print keypair to the user's screen
7 years ago
chris marget 13cc73d600 keypair parsing and testing
7 years ago
Miłosz Smółka fdf028c463 Search SCSI device in /sys/bus due to issues with by-path
7 years ago
Megan Marsh e56d7f7234 fix tests
7 years ago
Megan Marsh 608b7cb7a3 review comments
7 years ago
Megan Marsh 3704a053d0 move region validation and credential wait into step pre validate
7 years ago
Stephen Fox 354fcc5cc6 Merge branch 'master' into 'ephemeral-ssh-key-pair-issue-7225'.
7 years ago
Stephen Fox f9d24ccda0 Allow user to get public key straight up, or URL encoded.
7 years ago
Miłosz Smółka 0d8e9f50bf Add proper SCSI search
7 years ago
Paul Meyer 68516fc05c Fix Azure interactive authentication
7 years ago
Megan Marsh a7d9d62996 fix tests on windows
7 years ago
Megan Marsh 8add176ab7 finish first pass at vault code; needs testing and cleanup of error messages
7 years ago
Megan Marsh 7a78b47e83 make vault engine stuff into a little struct for easier management
7 years ago
Megan Marsh af7131b169 tests, logic cleanup, docs for vagrant builder
7 years ago
Megan Marsh 52892699ca make it work with a local vagrant box
7 years ago
Megan Marsh ad21367b21 vagrant builder
7 years ago
Stephen Fox f2c11b55be Renamed authorized_keys public key function.
7 years ago
Stephen Fox ea2a7c3fe9 Merge branch 'master' into 'ephemeral-ssh-key-pair-issue-7225'.
7 years ago
Stephen Fox 01c98f3d82 Tweaked debug SSH private key file name for vbox.
7 years ago
Stephen Fox c6ae8654d9 Moved SSH key pair code into 'helper/ssh'.
7 years ago
Stephen Fox 25775886a8 Properly set SSH key pair name.
7 years ago
Stephen Fox be081944b1 Moved new key pair funcs closer to builder funcs.
7 years ago
Stephen Fox b1b67ecffa Added support for setting a name in SSH key pair.
7 years ago
Stephen Fox 5893134c61 Updated comment for 'PrivateKeyPemBlock()'.
7 years ago
Stephen Fox cd4ae03324 Create / use SSH key pairs in vbox builders.
7 years ago
Stephen Fox 72d1501551 Made SSH public key available in vbox boot command.
7 years ago
Stephen Fox 459bd1ea7a Added vbox step for SSH key pair business logic.
7 years ago
Stephen Fox 6824806e6f Allow caller to specify new line for SSH public key.
7 years ago
Stephen Fox ad075ffac3 Added 'Description()' to 'sshKeyPair'.
7 years ago
Miłosz Smółka f7de056f23 Add proper cleanup of chroot disk
7 years ago
Miłosz Smółka 5e8eade205 Add support for custom API url of compatible service
7 years ago
Miłosz Smółka 6921cc93a9 Add acceptance tests for chroot
7 years ago
Miłosz Smółka 4704565869 Rename vm_flavour to vm_type
7 years ago
Miłosz Smółka e7e84f04e7 Fix timestamp interpolation in mount path
7 years ago
Murcurio 60c7d22ffb
Change metadata url to FQDN
7 years ago
Megan Marsh eef4fc7a01
Merge pull request #7222 from Adezandee/gce-post-processors
7 years ago
Megan Marsh 6ea64bc378
Merge pull request #7191 from arizvisa/GH-7190
7 years ago
Stephen Fox f233e54992 Initial SSH key pair helper implementation.
7 years ago
Yaakov 0a08920816 Hyper-V: Fix integer overflows in 32-bit builds
7 years ago
Miłosz Smółka 3d3e933f48 Add host key hash verify
7 years ago
Miłosz Smółka bd4ce90728 Add chroot disk build
7 years ago
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions
7 years ago
Megan Marsh c63b54a1e7 move http with proxy call into a helper function
7 years ago
Megan Marsh 904c4b9adb
Merge pull request #7230 from hashicorp/up-aws-sdk-go
7 years ago
Adrien Delorme 4a2773f8fa remove default max retries config of 8, it will now be used from env
7 years ago
Adrien Delorme 964b149df2 aws: remove now unused AccessConfig.metadataRegion
7 years ago
Adrien Delorme 335f442b51 aws: unwrap AccessConfig.region func
7 years ago
Adrien Delorme 54af9951a8 make guard clauses to clearly see success pass
7 years ago
Adrien Delorme 0864b4d07b name unclear import
7 years ago
Arnaud Dezandee 91d2cb8c83
googlecompute-import: add service accounts
7 years ago
Megan Marsh a0c238940e
Merge pull request #7223 from hashicorp/fix_7200
7 years ago
Megan Marsh e4dca0016c
Merge pull request #7156 from vtolstov/qemu
7 years ago
Megan Marsh d0e5c67dc3
Merge pull request #7205 from hashicorp/fix_7196
7 years ago
Megan Marsh ce8f5c31df escape query as suggested in issue #7200
7 years ago
Miłosz Smółka 3ce05c7c26 Add acceptance tests
7 years ago
Miłosz Smółka be30415395 Add HyperOne builder
7 years ago
Vasiliy Tolstov b6ebe00249 provide memory and cpus like other builders does
7 years ago
Adrien Delorme f57953d4ff Docker needs a temporary dir that is inside the $HOME dir
7 years ago
Adrien Delorme f19b7c0300 Revert "aws: test timeout when no credenrtials are set" Revert "aws: set max retries back to 20"
7 years ago
Adrien Delorme b8b3e64cff aws: test timeout when no credenrtials are set
7 years ago
Adrien Delorme 993af36f2e aws: set max retries back to 20
7 years ago
Ali Rizvi-Santiago 9d2f98394e Revert "Renamed the terse option, `cores`, to to the less-terse version `cores_per_socket`."
7 years ago
Ali Rizvi-Santiago 0c37a3c68f Renamed the terse option, `cores`, to to the less-terse version `cores_per_socket`.
7 years ago
Ali Rizvi-Santiago 4894873971 Added logic to the vmware-iso builder that appends the number of cores per socket to the vmx in `stepCreateVmx`.
7 years ago
Ali Rizvi-Santiago 062c62eed8 Added support for specifying the number of cores as `cores` to vmware-common.
7 years ago
Megan Marsh e0543246fa remove commented code
7 years ago
Megan Marsh 783ed32e7e fix region stuff
7 years ago
Paul Meyer e189db97d4 [azure] deallocate instead of just power-off
7 years ago
Paul Meyer aa29facdae Allow certificate bearer JWT client authentication
7 years ago
Paul Meyer 7e34579b7e Factor out Azure client credential config
7 years ago
Adrien Delorme 9ddec470a0
Merge pull request #7188 from hashicorp/dedupe_step_output_dir
7 years ago
Megan Marsh 126ca2a877
Merge pull request #7158 from rickard-von-essen/fix-7155
7 years ago
Megan Marsh 97a791389a deduplicate step_output_dir and move to common folder
7 years ago
Adrien Delorme c8a39e939a
Merge pull request #7178 from edwardmlyte/simplify-version-check
7 years ago
Ed Maxwell-Lyte e8e92fe6c6 rename clashing import
7 years ago
Ed Maxwell-Lyte 4437f8d8ba Use go-version for comparison
7 years ago
Ed Maxwell-Lyte 346f5d9bba Simplify version check for port count argument
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Adrien Delorme 19cbb9cb24
Merge pull request #7136 from hashicorp/fix_5984
7 years ago
Adrien Delorme 1b84019a45
Merge pull request #7174 from edwardmlyte/reverse-default-vbox-portcount-arg
7 years ago
Ed Maxwell-Lyte 4fc02ea406 Assign to existing var
7 years ago
Adrien Delorme f91b668617
Create portCountArg in the if statement
7 years ago
Ed Maxwell-Lyte a9eed311a6 Run gofmt on driver_4_2.go
7 years ago
Rickard von Essen c8fab8c7a3
Merge pull request #7037 from kmbulebu/openstack_tags
7 years ago
Ed Maxwell-Lyte e5b1e0f4d9 Add version 0.x to the rule
7 years ago
Ed Maxwell-Lyte e40c90423f Reverse default port count virtualbox argument
7 years ago
Rickard von Essen e3f82d3725
Merge pull request #6933 from cb-oath/openstack-v2-network-optional
7 years ago
Megan Marsh 16149844a7
Merge pull request #7151 from nelsonjchen/qemu-whpx-option
7 years ago
Megan Marsh c789a68d89
Merge pull request #7154 from ladar/fix-hyperv-ssh-host-bug
7 years ago
Nelson Chen b39f398fda Add support for whpx accelerator to qemu builder
7 years ago
Adrien Delorme 7132037faa
Merge pull request #7137 from YuSungDuk/fix_to_get_ssh_password
7 years ago
Rickard von Essen 21a7a0a614
parallels: Fix attaching prl tools
7 years ago
Ladar Levison 217028b902 Added comment regarding use of host param.
7 years ago
Ladar Levison 8a9962882c Use Printf not Println. D'oh.
7 years ago
Ladar Levison 35aaf44fa5 A properly formatted hyperv ssh.go file.
7 years ago
Ladar Levison cb0011d665 Fix ssh_host bug in hyper-v builders.
7 years ago
유성덕 38c4e21563 Fix to get ssh password
7 years ago
Megan Marsh 141f3b29f3
Merge pull request #7127 from ladar/master
7 years ago
Adrien Delorme 7655d2efb2
Add tencent cloud builder (#7135 & #6839)
7 years ago
Megan Marsh 006682a09c add version option and also refactor powershell script to use golang templates for ease of testing and variable passing.
7 years ago
Adrien Delorme e666b60d16
Merge pull request #7126 from hashicorp/fix_7125
7 years ago
Megan Marsh 56d722f779
Merge pull request #7130 from jo/openstack-add-volume-size-option
7 years ago
Megan Marsh d288f94073
Merge pull request #7128 from ladar/hyperv-legacy-network-adapter
7 years ago
Johannes J. Schmidt a545caa24a use openstack volume_size option on creation
7 years ago
Johannes J. Schmidt 336c11c54a add openstack volume_size option
7 years ago
Christopher Boumenot acacf6e59c
Merge pull request #7111 from hashicorp/pr-7077-azure-regression
7 years ago
Ladar Levison bdcbf61ade Fixed replace variable name.
7 years ago
Ladar Levison fa154f5298 Fixed driver mock up formatting.
7 years ago
Ladar Levison 31d03fb48e Added legacy network adapter driver mock up.
7 years ago
Ladar Levison da8b140bca Fix Hyper-V builder formatting.
7 years ago
Ladar Levison 348c267054 Updated support for legacy network adapters on Hyper-V.
7 years ago
Ladar Levison 6ac5971288 Fixed cmd order for docker driver. Added config to post proc.
7 years ago
Ladar Levison 10095678c8 Adding driver changes.
7 years ago
Ladar Levison 21fdbadf04 Adding changes to import prototype.
7 years ago
Ladar Levison 050f809a1c Add changes var to docker driver import func.
7 years ago
Megan Marsh 19144111dd fix packer crash that occurs when image is nil
7 years ago
wizurijyq 8184fcb99a
Make sure sshkey is not nil
7 years ago
DanHam 0821653256
Fix 'nil' dir in VMware artifact when building locally
7 years ago
Megan Marsh 2045390e74
Merge pull request #7108 from hashicorp/revert_hddorder_setting
7 years ago
Christopher Boumenot f9230aeb95 azure: fix snapshot regression
7 years ago
Megan Marsh 7d5ea43f41 revert the hddorder being added to the vmx template, since it's breaking things for some of our users.
7 years ago
Megan Marsh b95123f457 add new copy_in_compare flag so users can set the copy var to whatever they need in order to get the compatibility report to work.
7 years ago
Adrien Delorme 2718a5ed62 Revert "revert changes to docker entrypoint; since this is a backwards-breaking change it needs to wait for a minor release"
7 years ago
Adrien Delorme 47257c0d07
Merge pull request #7104 from hashicorp/revert_docker_changes
7 years ago
Megan Marsh ee2e5cc874
Merge pull request #7080 from hashicorp/do_6508
7 years ago
Megan Marsh 2a79d64ae0 revert changes to docker entrypoint; since this is a backwards-breaking change it needs to wait for a minor release
7 years ago
Megan Marsh 279949ddcc
Merge pull request #7090 from tomelliff/validate-kms-key-id
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Tom Elliff 12bf7fc4d6 Check that the KMS key ID is valid
7 years ago
Adrien Delorme dfa284c02b
Merge pull request #7094 from hashicorp/fix_7087
7 years ago
Adrien Delorme 5e5ed9793f
Merge pull request #7092 from arizvisa/vmware-builders.halt-duplicate-code
7 years ago
Megan Marsh a819217c93 fix virtualbox 6.0 beta command options
7 years ago
Ali Rizvi-Santiago 1a36458e9e Tiny fix to replace some duplicate code with usage of the `halt` closure in the StepCloneVMX step for the vmware-vmx builder.
7 years ago
Megan Marsh d367c1ba8b
Merge pull request #7091 from arizvisa/GH-6920
7 years ago
Ali Rizvi-Santiago a6af04417e Moved the entrypoint argument for the docker builder in front of the image so it's passed correctly as an argument.
7 years ago
Megan Marsh 32f226eda0
Merge pull request #7069 from arizvisa/GH-6920
7 years ago
chhaj5236 c4782807de
Merge pull request #7050 from chhaj5236/feature/force_delete_copied
7 years ago
Adrien Delorme c42b3a41a9
Merge pull request #7059 from hashicorp/fix_6965
7 years ago
Megan Marsh ce71932f95
Merge pull request #7061 from boumenot/pr-6773-caching-type
7 years ago
Megan Marsh 042e9ad14b Move logging about aws waiters to the access config prepare() so that it's only spit out once per builder.
7 years ago
Megan Marsh dbfc1b5aff fix tests
7 years ago
Megan Marsh 0058422a5c also for vmx
7 years ago
Megan Marsh 0fe4d79bbf add validation to prevent users from being confused about format functionality
7 years ago
Ali Rizvi-Santiago 2e977019e4 Modified the docker builder's default run_command to specify the shell via the entrypoint command line argument as suggested by @vrubiolo in #6920.
7 years ago
bozhi.ch 0174a502eb support -force option and update docs
7 years ago
Ali Rizvi-Santiago 310ea6c006 Updated docker's default config to use regular bourne shell instead of bourne again. Closes #6920.
7 years ago
Ali Rizvi-Santiago 040a33567e Trying again one more time to prevent import cycles.. Moved common.ExpandUser into packer.ExpandUser..
7 years ago
Ali Rizvi-Santiago 79b68fb89c Replaced the previous incorrect logic with an re-implementation of common.ExpandUser.
7 years ago
Ali Rizvi-Santiago e04986659a Changed the logic for when to actually prefix a path with a u.HomeDir so that it's only done when a non-absolute path is specified.
7 years ago
Ali Rizvi-Santiago 1a3c3f2ffc Replaced all instances of mitchellh/go-homedir with an implementation based on os/user.
7 years ago
Megan Marsh 152f6fed8f
Merge pull request #7066 from arizvisa/vmware-temporary-devices
7 years ago
Ali Rizvi-Santiago 96bdf17d2e Added knowledge of the "temporaryDevices" statebag to the StepCleanVMX tests for the VMware builders.
7 years ago
Megan Marsh 65124985d1 don't set DetectZeroes if it's off, because some versions of QEMU don't support this option
7 years ago
Ali Rizvi-Santiago fa4998e1ec Modified StepCleanVMX to walk through the "temporaryDevices" statebag so that we can disable or remove its devices cleanly. This gets rid of the regex hack that was previously used to identify a cdrom-image.
7 years ago
Ali Rizvi-Santiago e0d3861e81 Updated StepCreateVMX to add the CDROM device that packer uses to the "temporaryDevices" statebag so that StepCleanVMX can unmount its ISO later.
7 years ago
Ali Rizvi-Santiago 3512c3c5ea Updated StepConfigureVMX to add the floppy disk device to the "temporaryDevices" statebag so that StepCleanVMX can remove it later.
7 years ago
Ali Rizvi-Santiago 27b16cee0a Added a new "temporaryDevices" key to the VMware builders' statebag in order to keep track of devices that were temporarily added during build and need to be removed later by StepCleanVMX.
7 years ago
Christopher Boumenot c7d8f4e150 azure: configuration for disk caching
8 years ago
Andrew Starr-Bochicchio c0c5c6afac Add DigitalOcean post-processor.
8 years ago
Megan Marsh c03894c05d fix bad interpolation exemption for volume_size
8 years ago
Adrien Delorme c29268a5d2
Merge pull request #7046 from nferch/hcloud_snapshot_labels
8 years ago
Megan Marsh a2c3b35bff
Merge pull request #7032 from hashicorp/fix_region_validation
8 years ago
Megan Marsh 11ef407b4d
Merge pull request #7016 from rickard-von-essen/vmware-tech-prev
8 years ago
PORTE Loïc bf97557abf Backport VNC log from vmware to qemu
8 years ago
bozhi.ch a485bcfdf3 delete copied image and snapshots if corresponding options are specified
8 years ago
Megan Marsh ec75913412 fix crash that occurs when dir is nil
8 years ago
Megan Marsh 89fb8f0d3e fix defaulting/lack thereof for cpu count and memory in vmware template
8 years ago
Nathan A. Ferch fccd7d0692 add snapshot_labels to hcloud builder
8 years ago
Megan Marsh 6728244480 simplify for loop logic
8 years ago
Andrew Pennebaker c05ac784d3 fix tests
8 years ago
Andrew Pennebaker 5ada3376b8 fix test
8 years ago
Andrew Pennebaker 2c989157e4 gofmt
8 years ago
Andrew Pennebaker 5b6cbeed1d expose `--iso` option down in `VBoxManage export --iso` up to virtualbox-iso configuration as "bundle_iso"; ensure ISOs are not removed when this is enabled.
8 years ago
Megan Marsh 8cc3320977
Merge pull request #7034 from zenjoy/hcloud/rescue_mode
8 years ago
bozhi.ch 7704ff2f24 apply tags to relevant snapshots
8 years ago
dedene 1aaa998b02 Revert back to reset server
8 years ago
dedene 6589bfaaab Small code improvements and fixes
8 years ago
zhuzhih2017 53bfe7179f
Merge pull request #7022 from chhaj5236/feature/image_without_datadisks
8 years ago
Kevin Bulebush 76d1bf567e Replaced compute/v2/images with imageservice/v2/images.
8 years ago
bozhi.ch 3c1395eb04 support wait_snapshot_ready_timeout for much bigger disk
8 years ago
dedene 0f3bfbf8e6 Fix timing issues by updating to hcloud-go v1.11.0
8 years ago
Kevin Bulebush 802e7d467d openstack: Add support for tagging new images.
8 years ago
dedene 064e6c7e08 Add support for builds using rescue mode
8 years ago
Adrien Delorme e539133d8c
Merge pull request #7019 from arizvisa/vmware.cpu-memory
8 years ago
Adrien Delorme 24510907be
Merge pull request #7018 from arizvisa/parallels.cpu-memory
8 years ago