Commit Graph

3538 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
DanHam da21c25791
Convert incorrect 'vmxc' -> 'vmcx' in codebase, docs and template opts
8 years ago
DanHam 674bad0ab4
Break very long lines for readability
8 years ago
DanHam 2bb5a92755
Fix error in comment due to copy/paste from VMware step
8 years ago
DanHam 36bd2f5691
Fix an error with an error. Add some comments.
8 years ago
DanHam ee0a2469eb
Add ability to specify 'temp_path' for the build directory to VMCX builder
8 years ago
DanHam 8032c8151a
Tests for step to create output directory
8 years ago
DanHam f027585a93
Tests for step to create build directory
8 years ago
DanHam ed5bebfa8c
Change variable/statebag key name to better convey purpose
8 years ago
DanHam 00276f2f64
Change step name to better illustrate purpose of step
8 years ago
DanHam b386e567db
Change filename to better illustrate purpose of step
8 years ago
DanHam d2390f464d
Actually implement the function for the driver
8 years ago
DanHam 181bb0ba23
Add calling code and skeleton driver to make tests pass
8 years ago
DanHam 0a4ec13323
Tests for func to move VHDs to output dir when skip_export: true
8 years ago
DanHam 32148168bd
Introduce a new step to collate build artifact at the end of the build
8 years ago
DanHam ee7fa27ada
Fix up tests. Ensure export step stores the export path in state
8 years ago
DanHam 232dd8f0a6
Remove code to preserve legacy export dir structure from the export step
8 years ago
DanHam c2437ba592
Remove the option to place the VHD files in a separate directory
8 years ago
DanHam d5d82c32b2
Changes to the export process have made 'inline' build of disks redundant
8 years ago
DanHam 35b4e87c42
Add tests for export VM step
8 years ago
DanHam 30a71da8e7
Add tests for disk compaction step
8 years ago
DanHam 09028c14a3
Reintroduce the disk compaction process as a unique step
8 years ago
DanHam da2df69301
Remove disk compaction from the export step
8 years ago
DanHam c6b9d9ce90
Add checks/error reporting to compaction process
8 years ago
DanHam 534fc4a473
Ensure the export directory structure matches that of previous versions
8 years ago
DanHam dc46848f89
Remove now redundant function to copy exported VM files
8 years ago
DanHam 3fc2defb6d
Refactor the export step for Hyper-V ISO and VMCX builders
8 years ago
Matthew Hooker 814c1cf2b2
spellfix
8 years ago
Andrew Pryde 67f039509a
Merge pull request #6498 from neumayer/ocimetadata
8 years ago
Anshul Sharma 885ecb0790
Issue-6309 Amazon Chroot Provider
8 years ago
xxx 7630268e1d Incorporate review comments
8 years ago
James Nugent 9fffe4056e
Merge pull request #5452 from smaato/tag-spot-requests
8 years ago
Sander van Harmelen 451cbd8aa9
Merge pull request #6487 from sermilrod/Honour-cloudstack-projectid
8 years ago
Sergio Millan Rodriguez f4020835d6 flag to setup networking without firewall rules
8 years ago
Sergio Millan Rodriguez 472a7820eb Using UI keypair meaningful message
8 years ago
Sergio Millan Rodriguez e729b21212 passing projectid to getRootVolumeID rather than the whole config struct
8 years ago
Mark Meyer 2fec76ea87 Check if spot price is empty, when spot_tags is set
8 years ago
Megan Marsh b6b907f523 read in the environment variables that government wait time and polling time for the AWS wait in step_stop_ebs_volume
8 years ago
Sergio Millan Rodriguez a41a4658ee make packer builder honour projectid setting if provided
8 years ago
Sergio Millan Rodriguez eae0556dc5 Add option to enable/disable create firewall/acl rules
8 years ago
Megan Marsh 1d15f09e36
Merge pull request #6440 from DanHam/simplify-vmx-find-disks
8 years ago
Christopher Boumenot fa7f54cb55 azure: satisfy Azure password requirements
8 years ago
Megan Marsh 8e22803099 fix loading of environment variables for managing aws waiters
8 years ago
Megan Marsh 12f1b2421d
Merge pull request #6332 from hashicorp/do_6177
8 years ago
Megan Marsh f657ca39c9 refactored env var code and tests so that I don't have to set env vars during tests to check logic
8 years ago
Megan Marsh 14166fdd99 update amazon import docs to include the env vars for setting aws waiter delays and timeouts
8 years ago
Megan Marsh bfbe318727 fix the homegrown waiters
8 years ago
Megan Marsh f49a2d8aed move UI call to before the wait; add context to these steps
8 years ago
Megan Marsh cf63dd10bf replace AMIStateRefreshFunc, InstanceStateRefreshFunc, our spot instance waiter, our chroot volume waiter, and our snapshot waiters with waiters form AWS's SDK.
8 years ago
M. Marsh 62d9dcb822
Merge pull request #6477 from jabbera/fixMaxResourceGroupLength
8 years ago
Mike 5ea6429cd6
managed_image_resource_group_name max length change
8 years ago
M. Marsh 8e852af1eb
Merge pull request #6448 from DanHam/fix-esxi-displayName
8 years ago
Michael Gibson 7e4fb9adb5
vnc_bind_address not getting passed through to qemu
8 years ago
M. Marsh adfee4933a
Merge pull request #6437 from hashicorp/retry_convert
8 years ago
Mark Meyer 3dbf1cb371 Enable tagging of spot requests
8 years ago
DanHam a39c5887fb
Test we halt if a bad path is set in vmx_path
8 years ago
DanHam 21117e5d38
Test we fail if displayName is not stored in the statebag as 'display_name'
8 years ago
DanHam 88c43ec98d
Test we fail if the displayName key is not found in the VMX
8 years ago
DanHam d68d26a6e5
Fix tests: We now need to set `displayName` key/val pair in the test VMX
8 years ago
DanHam 902cea0f30
ESXi: Fix failure to export VM when `displayName` differs from `vm_name`
8 years ago
DanHam cd7d3812ea
ESXi: Fix failure to get VM IP when `displayName` differs from `vm_name`
8 years ago
DanHam 3eab3cc99b
ESXi builds require we store the value of displayName in the statebag
8 years ago
Edouard Bonlieu 4b1f96b527
Merge pull request #6439 from jbonachera/scaleway-config-bootscript
8 years ago
M. Marsh 8658eaf1ac
Merge pull request #6424 from DanHam/fix-esxi-export-hang
8 years ago
DanHam 939aa7e289
Add test: We shouldn't error when main remote options are unset
8 years ago
DanHam efcdf60d96
Add tests to ensure remote_password is set when exporting with ovftool
8 years ago
DanHam 0d9134bdbc
Fix existing tests as they were not doing what they should have been
8 years ago
DanHam eee16262b6
Remove duplicate/redundant test
8 years ago
DanHam c8199458a7
Prevent hang on export for remote ESXi build due to empty remote_password
8 years ago
M. Marsh 406f4eeb93
Merge pull request #6394 from conradjones/master
8 years ago
Robert Neumayer 22e5523faa Allow instance metadata to be specified in config
8 years ago
DanHam fff72780e1
Further simplify enumeration of attached disks for VMware VMX builder
8 years ago
Conrad Jones d9b6924986 Add cloneType to fusion driver
8 years ago
Julien BONACHERA eda85a4daf
scaleway: add 'bootscript' configuration parameter
8 years ago
Megan Marsh 2b2c860df8 make the convert retryable in case it takes a bit to release a lock
8 years ago
M. Marsh c67d59515c
Merge pull request #6370 from arizvisa/patch-1
8 years ago
Owain Lewis b600be009d Pass context into OCI client
8 years ago
M. Marsh 5a6a389e66
Merge pull request #6415 from brumfb/skip_invalid_lease_files
8 years ago
M. Marsh 78c0b7bd9c
Merge pull request #6408 from harveylowndes/oci-support-custom-instance-display-name
8 years ago
Bob Brumfield 04ff0761e6 Notify that we are skipping file, but retain error message
8 years ago
Harvey Lowndes a69e2ac78e Support instance display name configuration
8 years ago
willmao 7bab499b73 fix vpc clean up issue
8 years ago
willmao f511c706c9 fix alicloud builder eip allocating issue
8 years ago
Bob Brumfield 591bfe3dfa Continue searching for leases even if one of the files cannot be read.
8 years ago
Alexander Georgievskiy ec8747a042 They finally added https on download.virtualbox.org
8 years ago
Conrad Jones abfb9f24d6 revert accidental debugging change
8 years ago
Conrad Jones d05a601d00 Add support to vmware-vmx builder for linked clones.
8 years ago
M. Marsh 58e4176a73
Merge pull request #6385 from enricou/wip/add-northeast-3
8 years ago
EC2 Default User 58f73aabbf Add ap-northeast-3 region
8 years ago
Pavel Vasilevich 4e2b1756f9 Fix misprints in steps names
8 years ago
Ali Rizvi-Santiago 47a3315fde
Added a missing reference to the "path/filepath" module.
8 years ago
Ali Rizvi-Santiago 963932699e
Remove a stray tab that resulted from poor usage of Github's file editor.
8 years ago
Ali Rizvi-Santiago 9b30c9aed0
Allow StepAttachIso in the VirtualBox builder to resolve symbolic links when processing the IsoPath.
8 years ago
M. Marsh 2b60934420
Merge pull request #6363 from hashicorp/fix_6358
8 years ago
M. Marsh 5d35c71358
Merge pull request #6362 from rickard-von-essen/os-token
8 years ago
Megan Marsh 87a93e84ac sh -c to execute command to accomodate communicator change
8 years ago
Matthew Hooker 3bdf1f1849 openstack: Add support for token authorization and cloud.yaml
8 years ago
M. Marsh 10549d34b6
Merge pull request #6322 from sieben/remove_vc
8 years ago
M. Marsh c586312bf7
Merge pull request #4538 from hashicorp/defaultovf
8 years ago
Hariharan Jayaraman b23d6c9589 fixing infinite loop issue deleting existing resources if we have a empty target resource
8 years ago
Rickard von Essen c0ae1b7790
digitalocean: artifact should include build region and fixed docs
8 years ago
deepuashokan85 10f118b14c
Update driver_gce.go
8 years ago
M. Marsh 31c7374869
Merge pull request #6303 from hashicorp/do_5871
8 years ago
Rémy Léone dba9f1b015 Remove the VC product line
8 years ago
James Nugent b97475b647
Merge pull request #6265 from DanHam/enable-t2-unlimited
8 years ago
DanHam af7f7f2ce9
Fix redundant Sprintf
8 years ago
Megan Marsh 08218222dc add get windows default credentials to oci builder
8 years ago
M. Marsh 62e1323577
Merge pull request #5956 from hashicorp/dedupe_shell_local
8 years ago
Megan Marsh e670eed315 Add new option, nvme_device_path, so that we can properly mount nvme block devices.
8 years ago
Paul Meyer 3dd6bf5781
Merge pull request #6285 from harijayms/devicelogin
8 years ago
Hariharan Jayaraman a13a2511f9 Added additional error message if we failed to parse token
8 years ago
Hariharan Jayaraman 1bd7aa534e Addressed PR feedback
8 years ago
M. Marsh a8b6a04dda
Merge pull request #6194 from hashicorp/fix_6176
8 years ago
Hariharan Jayaraman 8a3e599cad Added text to point out two device auth
8 years ago
Hariharan Jayaraman da67df6d03 space fix
8 years ago
Hariharan Jayaraman 4992429e8c Minor comment fixes
8 years ago
Hariharan Jayaraman 00e809cb7e Refactored the change into a new function
8 years ago
Hariharan Jayaraman ea9b2a8b5f review feedback
8 years ago
M. Marsh edb5c1f50d
Merge pull request #6243 from camjjack/hyper-v-gui
8 years ago
M. Marsh cbbbf551e3
Merge pull request #6274 from DanHam/fix-compaction-esx
8 years ago
Hariharan Jayaraman 667113338a missed formating
8 years ago
Hariharan Jayaraman 7f2277676a Ensure that Device Login tests dont block general acceptance tests
8 years ago
Hariharan Jayaraman 77fe1bffe4 Ensure that Device Login tests dont block general acceptance tests
8 years ago
Hariharan Jayaraman de1783240f Updates to remove space changes
8 years ago
Hariharan Jayaraman 91eed4da52 trim right of the keyvault url
8 years ago
Hariharan Jayaraman df5cc234fc updates
8 years ago
Hariharan Jayaraman 1f46271a6b Ensuring device login works for Windows build
8 years ago
Christopher Boumenot a5530d4546
Merge pull request #6269 from harijayms/asyncrgdelete
8 years ago
Chris Lundquist c925a02f82 don't chown to close the security issue
8 years ago
Matt Coleman 3192f5e0da qemu builder: add the 'use_backing_file' setting for QCOW2 images
8 years ago
DanHam 73eb9a629e
Revert "Fix test - reporting compaction results requires a tmp file"
8 years ago
DanHam 2939cd75ae
Revert "Report the result of the disk compaction step"
8 years ago
Hariharan Jayaraman e1b18d594a Updates based on PR feedback
8 years ago
DanHam ec8b70721c
Use an explicit error message when an error is expected and we don't get one
8 years ago
DanHam 82c8710af5
Use fmt.Errorf over errors.New as we only require basic error reporting
8 years ago
DanHam 99e3487795
Add missing validation and tests for Spot Instance requests
8 years ago
DanHam d5304a25e9
Pass T2 Unlimited settings to run instance step for appropriate EC2 builders
8 years ago
DanHam 6fc68754d7
Allow use of T2 unlimited by adding appropriate request for the instance
8 years ago
DanHam df7fb86984
Add tests for T2 Unlimited configuration
8 years ago
DanHam be02b3f613
Validate template settings when T2 Unlimited has been enabled
8 years ago
DanHam 482629ae90
Add config option to enable/disable T2 Unlimited for the launched instance
8 years ago
DanHam 2c339b99d2
Sort run config options alphabetically
8 years ago
Hariharan Jayaraman c8c9bbb22a Async delete Resource Group
8 years ago
Unknown 5710c0aca1 Making log output clearer for hyper-v gui connection
8 years ago
Unknown 29c4b4436d Changes requested in PR #6243
8 years ago
Unknown fc734b6bd9 Using vmconnect to display gui for hyper-v
8 years ago
Christopher Boumenot 132dfa7c86
Merge pull request #6262 from harijayms/warningforVHDcreation
8 years ago
M. Marsh 5871b8242b
Merge pull request #6101 from adarobin/azurecompatible
8 years ago
Hariharan Jayaraman 13c0b0b370 Added warning for VHD creation and updated samples
8 years ago
Stefan Henseler 6f00596053 Adds config option to specify hyper-v secure boot template
8 years ago
M. Marsh 84a7d2436f
Merge pull request #6229 from DanHam/use-re-for-vmxadapter
8 years ago
DanHam a866232ac9
Use regex based approach to detect attached disks
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago
Megan Marsh 616b41e58f deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module
8 years ago
Christopher Boumenot 80a096cadd azure: device login for US Gov
8 years ago
Paul Meyer 8aee53ebe9
Merge pull request #6224 from paulmey/update-azure-sdk
8 years ago
Rickard von Essen 4be5f072c7
Merge pull request #6238 from DanHam/fix-scaleway-auto-ssh-key
8 years ago
Paul Meyer 169f9d22e6 Update 'the other place' too
8 years ago
Paul Meyer 80f57308d7 Process review feedback
8 years ago
Christopher Boumenot 420a5842b9
Merge pull request #6231 from cantorek/f-randomize-osdiskname
8 years ago
Matthew Hooker 0521efa200
correctly log reason waiting for ami failed.
8 years ago
Matthew Hooker 7d5ebd5500
Merge pull request #6217 from alessiot77/5887
8 years ago
DanHam c47e5d19f0
Fix use of auto generated ssh key for scaleway builder
8 years ago
DanHam 585b93cfd6
Follow variable privateKey <-> statebag private_key convention
8 years ago
Oskar Wycislak 78d68880c0 Randomize osDisk name for Azure Managed Image builds.
8 years ago
Paul Meyer 07d8c71a2d Create and use context for Builder.Run
8 years ago
M. Marsh e90c87f885
Merge pull request #6210 from hashicorp/add_windows_sql_cloud_to_defaults
8 years ago
Paul Meyer cf94086b5f Formatting fixes
8 years ago
Matthew Hooker 6260151034
Merge pull request #6226 from hashicorp/fix6225
8 years ago
Matthew Hooker 4f1395e0f6
builder/qemu: properly prepare boot command.
8 years ago
Paul Meyer c13965c0ce Add acceptance tests
8 years ago
Paul Meyer a3fb24639a make tests pass again
8 years ago
Paul Meyer 09ce3c9803 Make it compile again
8 years ago
AlessioT 3d4c7d0df1 Feature Request: Log reason why AMI creation failed
8 years ago
DanHam 25dd27a164
Remove tmp directories created by builder/vmware/common tests
8 years ago
DanHam 13b7078cb0
Remove tmp directories created by builder/virtualbox/common tests
8 years ago
DanHam 475b3978d2
Remove tmp directories created by builder/parallels/common tests
8 years ago
DanHam 5642f8cb01
Remove tmp files created by builder/googlecompute tests
8 years ago
DanHam 9b6fc5a58d
Remove tmp files created by builder/amazon/instance tests
8 years ago
DanHam 54e9690dff
Remove tmp files created by builder/amazon/common tests
8 years ago
DanHam 96adb4a9d1
Remove tmp files created by builder/alicloud/ecs tests
8 years ago
AlessioT 373226e9c5 Extract state reason for failure
8 years ago
AlessioT 09bb21774d alessio.tomasino@yahoo.co.uk
8 years ago
AlessioT c27f3e9445 alessio.tomasino@yahoo.co.uk
8 years ago
DanHam c828015bc3
Follow variable varName <-> statebag var_name convention
8 years ago
M. Marsh df5c67090e
Merge pull request #6193 from adarobin/hvf
8 years ago
Megan Marsh ed6d999b1f add windows-sql-cloud to the list of projects to check for an image name
8 years ago
DanHam f342975ff3
Fix test - reporting compaction results requires a tmp file
8 years ago
DanHam 08f9d619a9
Report the result of the disk compaction step
8 years ago
DanHam 10d93dffa4
Fix tests for vmware/common
8 years ago
DanHam a729ecda87
Fix tests for vmware/vmx builder
8 years ago
DanHam c48a7889f9
Simplify handling of disks by collating requirements and unifying ops
8 years ago
Adam Robinson 29b89e63b8 add support for hvf accelerator to qemu builder
8 years ago
M. Marsh 879319a76c
Merge pull request #6202 from rickard-von-essen/fix-6184
8 years ago
Matthew Hooker 67a9c7fb92
we never expect remote cache to be a directory.
8 years ago
Matthew Hooker de1dac1bdf
don't delete the cache directory.
8 years ago
Matthew Hooker 97cfd60b82
Remove remote cache correctly.
8 years ago
Ali Rizvi-Santiago 673d4579e4 Ack! Forgot to include the template variable in the definition for vmxTemplateData for commit 0e519d79e0. Now it's added..
8 years ago
Ali Rizvi-Santiago 0e519d79e0 Modified iso/step_create_vmx.go in the vmware-iso builder to also specify the "bios.hddOrder" field depending on the hdd device that was specified. This might close issue #6197
8 years ago
Ali Rizvi-Santiago 5d8b476a7f Fixed the regex in common/step_clean_vmx.go for the VMware builder to also support removal of sata-based cdrom devices. Also added a comment in iso/step_create_vmx.go that links both pieces of related code.
8 years ago
Matthew Hooker 451e3d0554
builder/vmware-esxi: remove floppy files when done
8 years ago