Commit Graph

3157 Commits (1aee759f0673d424d321bdbb50b49abb00a0609c)

Author SHA1 Message Date
Ali Rizvi-Santiago 8cc0776f3a Fixed oversight in VMware builder's mock-driver that neglected to initialize 'HostAddressResult'.
8 years ago
Ali Rizvi-Santiago 029c357d8c Modified some tests to require the PACKER_ACC environment variable to be set before executing them. This turns them into acceptance tests as per CONTRIBUTING.md.
8 years ago
Ali Rizvi-Santiago 58ebc5c9a5 When specifying NONE for serial or parallel in the VMware builder, disable the serial and parallel port devices entirely.
8 years ago
Ali Rizvi-Santiago 258804106b Added missing GetVmwareDriver() method to VMware Builder's DriverMock.
8 years ago
Ali Rizvi-Santiago 6423525a33 Updated imports of github.com/mitchellh/packer to new naming scheme github.com/hashicorp/packer
8 years ago
Ali Rizvi-Santiago 75fbfa0763 Replaced a hacky type assertion in the VMware builder with a call to Driver.GetVmwareDriver() that returns the driver-specific structure for ip and addressing information. Also implemented the addressing functions for the ESXi driver interface.
8 years ago
Ali Rizvi-Santiago 898b27c16d Added support for the NONE option to be specified for parallel and serial ports in the vmware iso builder.
8 years ago
Ali Rizvi-Santiago 884af69da1 go fmt on builder/vmware/*
8 years ago
Ali Rizvi-Santiago 0d6cf7fac4 Added support for auto-detection to the serial and parallel port types.
8 years ago
Ali Rizvi-Santiago b52e2d3f45 Added the ability for the vmware-builder to fallback and determine the network device-name using the .vmx configuration in case of a guest using the "custom" connection type.
8 years ago
Ali Rizvi-Santiago e389d30a1b Implemented the unit-tests for builder/vmware/iso/step_create_vmx.go
8 years ago
Ali Rizvi-Santiago 15cb6a833a Ugh..missing argument in VMware builder's driver_esx5 unit-test due to api change for .HostIP(). Fixed.
8 years ago
Ali Rizvi-Santiago 9b95ce0bc6 Completely forgot to support the unix paths in each of the drivers for the VMware builder. Fixed.
8 years ago
Ali Rizvi-Santiago 4225b3568e Fixed bad ORs and a bad fmtstring.
8 years ago
Ali Rizvi-Santiago 75d3ea7cee Added support for sound, serial ports, parallel ports, usb, and specifying a default network to the vmware builder.
8 years ago
SwampDragons 8ae8f31a52
Merge pull request #5681 from mcandre/super-key
8 years ago
SwampDragons caea770af1
Merge pull request #5819 from hashicorp/oracle-oci-builder
8 years ago
Ben Phegan 3c88e787df
Merge branch 'master' into hyperv_mac_address
8 years ago
SwampDragons 6d14eb6ea4
Merge pull request #5631 from vijayinvites/diffdisks
8 years ago
Megan Marsh 383ac13e2a update default of image list after adding new entry.
8 years ago
Megan Marsh 8f7937f492 fix machine image name to include prepended /
8 years ago
Megan Marsh 3180dc327c remove copypasta comment
8 years ago
Matthew Hooker 8bdd3b45c7
use helper functions for reading vmx files
8 years ago
Megan Marsh 66cd85828e rename dest_image_list_description to image_description
8 years ago
Matthew Hooker baf8d30ad2
Merge pull request #5738 from testworksau/intel-haxm-support
8 years ago
Megan Marsh af26b312cd fix logline
8 years ago
Megan Marsh 871ead371a Clean up based on Oracle comments
8 years ago
유성덕 f39c3458f7 fix Run method arguments for testing
8 years ago
Megan Marsh 705459c260 add snapshotted machine image to image lists, then delete the snapshot.
8 years ago
유성덕 e68a742bca make fmt
8 years ago
유성덕 175dd2730f Use 'github.com/hashicorp/packer/helper/multistep'
8 years ago
유성덕 5714108ef9 Merge branch 'master' into support_ncloud
8 years ago
유성덕 6b40c726e0 Use `PublicIp` for communicator
8 years ago
유성덕 e57a8161e0 remove delete step of `login key` and `public ip instance`.
8 years ago
유성덕 2a3a35334a Logging root password
8 years ago
유성덕 30f8fee402 use comment with english
8 years ago
유성덕 3820f97a0b use state storage to save `feeSystemTypeCode`
8 years ago
유성덕 2152ad7609 Add UserDataFile
8 years ago
유성덕 da78ebbf83 - Remove plugin version
8 years ago
Matthew Hooker 76b2ce8604
log which vmware driver we decide on
8 years ago
Matthew Hooker 07421b4433
test vmware workstation version checking
8 years ago
Megan Marsh 56c6fed42a ui.say vs ui.message
8 years ago
Megan Marsh 3ee1aa3ed6 clean up ip reservations
8 years ago
Megan Marsh 565b660b19 comments
8 years ago
Megan Marsh 98857c42cf add tests; fix a couple issues caught by said tests
8 years ago
Matthew Hooker 9edd98f7b0
Use more uuids and make messaging consistent.
8 years ago
Matthew Hooker c6b43ce6e9
remove errouneous double prep
8 years ago
Matthew Hooker 71acccc1ed
add UI output with resource names
8 years ago
Matthew Hooker 18ffde4ecf
remove unused file
8 years ago
Matthew Hooker fad4d5c272
update tests for mapstructure behavior changes
8 years ago
Megan Marsh 0e5be59947 wrap error message for clarity
8 years ago
Megan Marsh ff9fef5ed2 switch to using a UUID for packer-generated keys, and clean them up at end of build
8 years ago
Megan Marsh b6d21ecd63 validate that required fields are present
8 years ago
Megan Marsh 25bc1da8fe remove unsused access config
8 years ago
Megan Marsh de2e5edf2e remove errant change in amazon builder
8 years ago
Matthew Hooker 4622bb4585
return no artifact if no snapshot was created
8 years ago
Matthew Hooker 77277ebc98
add logging behind "PACKER_OCI_CLASSIC_LOGGING" env var
8 years ago
Matthew Hooker 0fad49e897
simplify
8 years ago
Matthew Hooker 4dc42942f5
fix multistep path
8 years ago
Matthew Hooker 6dc0bd759a
import context
8 years ago
Matthew Hooker dd2384483b
add context to steps
8 years ago
Megan Marsh 00db189c9c
add docs page
8 years ago
Megan Marsh 1fffbacdd3
fix ordering of deleting security rules and lists
8 years ago
Matthew Hooker 76ea73c5b2
I don't think we need to delete this artifact right now
8 years ago
Matthew Hooker 603881d990
add oci/classic artifact
8 years ago
Matthew Hooker 44befb0857
rename
8 years ago
Matthew Hooker b9a90b9261
Check for error when creating ip reso
8 years ago
Megan Marsh 7d23cfae0a
allow user to add a security list for SSH access; add cleanup for packer-generated rules and lists
8 years ago
Megan Marsh 531cb2244d
add separated out steps
8 years ago
Megan Marsh 53ff257cf0
it LLIIIIIIIIIVES
8 years ago
Megan Marsh 89159f3a87
fix bugs in cleanup
8 years ago
Megan Marsh f6c60aac78
clean up instance
8 years ago
Megan Marsh 256382547b
snapshot step works
8 years ago
Megan Marsh 69ba710c2a
PROGRESS! Now it only fails on the snapshot step
8 years ago
Megan Marsh f208a071a4
fix communicator
8 years ago
Megan Marsh 6556a851dc
fix ssh key handling
8 years ago
Megan Marsh a8a0072049
oops need to add this moved file to git
8 years ago
Megan Marsh 8b420944c5
debugs
8 years ago
Megan Marsh 46c3113613
it compiles :)
8 years ago
Megan Marsh 8aa716cd4c
stub out step_snapshot
8 years ago
Megan Marsh 007e8f7c14
finish stubbing out step_create_IP_reservation
8 years ago
Megan Marsh 7d72870179
add buffer to read template into
8 years ago
Megan Marsh 0117f53721
add error message
8 years ago
Megan Marsh a66dfe1972
fleshing out step_create_instance
8 years ago
Megan Marsh 4fe89be32a
fleshing out steps
8 years ago
Megan Marsh 75ee66f934
add stubbed out steps
8 years ago
Matthew Hooker 3bf431a423
construct OCI client
8 years ago
Matthew Hooker 9e8d845c03
create instance reservation
8 years ago
Matthew Hooker 543caf3ec5
WIP OCI Classic builder
8 years ago
Matthew Hooker eafda52411
use amazon steps from master
8 years ago
Matthew Hooker 8cd403425e
test fixes WIP
8 years ago
Matthew Hooker 5d48d658b4
Wire context through misc steps
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker a0c625ea44
Revert "working with opt-in"
8 years ago
Matthew Hooker e98f201602
working with opt-in
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker 807e88245b
trying to add context to state bag
8 years ago
James Nugent 5967732442
Merge pull request #5795 from stack72/bump-triton-go-deps
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
stack72 20f9ef3445 builder/triton: bump triton-go dependencies
8 years ago
Ali Rizvi-Santiago c17f827e1d Split up DownloadableURL() into it's individual components: SupportedURL(), DownloadableURL(), and ValidatedURL(). Updated all instances of DownloadableURL() to point to ValidatedURL(). Reverted the tests that are based on un-supported protocols.
8 years ago
Ali Rizvi-Santiago 3cf448f6ec Reverted previously removed additions of tests that check for ftp:// or nonexistent-protocol:// using DownloadableURL. DownloadableURL's responsibility is not to have inherent knowledge of protocols that are available, but to format an invalid url/path to a valid url/path.
8 years ago
Ali Rizvi-Santiago 46a5ca30e5 Removed call to filepath.Rel(...) in builder/vmware/iso/step_create_vmx.go
8 years ago
Ali Rizvi-Santiago 5d97b105a8 Removed implementation of the ftp protocol and the usage of cheggaaa's progress-bar as suggested by @SwampDragons. Replaced some of the old smoke-tests that were based on the ftp-protocol non-existing with a "non-existent://" protocol that's guaranteed to not exist.
8 years ago
Ali Rizvi-Santiago d275bacb0f go fmt builder/vmware/iso/step_create_vmx.go to calm down Travis CI.
8 years ago
Ali Rizvi-Santiago e940dc7e42 Fixed a config_test that should've failed but didn't because ftp:// uris work now. HeH!
8 years ago
Ali Rizvi-Santiago 281dd1258a Added proper support for downloading via a Windows UNC path or a relative uri.
8 years ago
Matthew Hooker cea2ab8c6d
move kms/encrypted validation to block devices
8 years ago
Matthew Hooker e968f9d6cc
spelling/style fixes
8 years ago
Jason Wieringa f6772f06be builder/amazon: Raise error when ebsvolume kms_key_id is without encrypted = true
8 years ago
Jason Wieringa 2ac59b3c27 builder/amazon: Added KmsKeyID to BlockDevice
8 years ago
유성덕 b909e9d4e6 remove not used variables
8 years ago
유성덕 26030d750c update err format
8 years ago
Matthew Hooker 2ce3ca1538
Merge pull request #5773 from hashicorp/fix5705
8 years ago
SwampDragons fb730cf521
Merge pull request #5761 from hashicorp/fix_5713
8 years ago
유성덕 5189d65467 Support Naver Cloud Platform
8 years ago
Megan Marsh 3ace5bb91b simplify FileExistsLocally
8 years ago
Matthew Hooker f5ea1e8312
Use WaitUntilInstanceReady waiter
8 years ago
Megan Marsh 216c44b153 fix FileExistsLocally
8 years ago
Matthew Hooker dfd5f07145
fix ebs acc test
8 years ago
Megan Marsh e164621bfe log line to help prevent confusion when guest_additions_url is set from env variable that is empty
8 years ago
SwampDragons ff3cbbf28c
Merge pull request #5757 from arizvisa/virtualbox-guest_additions_url-interpolation
8 years ago
Matthew Hooker c5bcb97d06
"borrow" access config code from terraform.
8 years ago
Matthew Hooker 98c2a2d1f7
builder/aws: catch static credential errors early.
8 years ago
Megan Marsh 4f3b470804 add helper function to manage validation of filepaths created using DownloadableURL
8 years ago
Ali Rizvi-Santiago 4fcd542d0c Fixed an issue where the VirtualBox builder was checking for whether guest_additions_url was empty or not before it actually interpolated any variables.
8 years ago
stack72 c3467b686c builder/triton: Add support for Triton RBAC
8 years ago
QuantumGhost a90376f12a Attach keypair before starting instance in alicloud builder
8 years ago
Glenn McDonald 7250c4f7f0 Add Intel HAXM support to QEMU builder
8 years ago
Rickard von Essen 05fcecb1e7
Merge pull request #5666 from kwilczynski/remove-ecr-credentials-from-logging
8 years ago
Matthew Hooker f3dea272d9
Set session in state bag
8 years ago
Matthew Hooker f6c401a143
don't pass in accessconfig
8 years ago
Matthew Hooker 1c352726d7
Merge pull request #5719 from rchenv/issue5606
8 years ago
Rong Chen 3e92b1374e issue5606: follow the convention to use AccessConfig to create new aws session for step_create_tags etc.
8 years ago
Olivier Bazoud 8bcb469b8b builder/amazon: Added new region Paris - eu-west-3
8 years ago
Ben Phegan c338cb79d0 Initial commit of feature to allow MAC address specification for HyperV builders
8 years ago
Arjen Schwarz c2ecdd98c6
5691: Invalid image URLs make Azure builder crash
8 years ago
Vijaya Bhaskar Reddy Kondreddi 54f059d3d4 Add support for skip export
8 years ago
Krzysztof Wilczynski 567b566c23
docker: Remove AWS credentials and Session Token from being shown in the log.
8 years ago
Rickard von Essen 63f791570a
Merge pull request #5665 from kwilczynski/remove-sts-token-from-logging
8 years ago
Andrew Pennebaker d069dc5b7c handle holding a-z keys, such as for boot options (vmware builder)
8 years ago
Matthew Hooker f216330ba3
spot instance ena/sriov checking for all other builders
8 years ago
Matthew Hooker 4b1d8e3fe8
don't allow enhanced networking flags for spot instances.
8 years ago
Matthew Hooker 73b98b2a04
use waiter to wait for ebs instances to stop
8 years ago
Matthew Hooker dada63801b
also use waiter code for spot instances
8 years ago
Matthew Hooker 9e61005f7c
Merge pull request #5660 from hashicorp/fix_5625
8 years ago
Ben Gnoinski 5df2e040d0 Update amazon run_config.go absent ssh_private_key_file error
8 years ago
Andrew Pennebaker 4acc98a729 add super key (vmware builder)
8 years ago
Matthew Hooker 2c1c7b9659
Merge pull request #5630 from johndaviesco/winrm_no_proxy
8 years ago
Matthew Hooker a90c45d9bb
Wait until source instance OK before continuing
8 years ago
Matthew Hooker 7b5c0900ef
Correctly set aws region if given in template along with a profile.
8 years ago
Christopher Boumenot 1202bdd080
Merge pull request #5661 from jamielennox/no-location-for-existing-rg
8 years ago
Krzysztof Wilczynski 05327b7524
amazon: Remove Session Token (STS) from being shown in the log.
9 years ago
Jamie Lennox d043c37ad4 Azure: Don't provide location for build_resource_group_name
9 years ago
SwampDragons 8a30b3db80
Merge pull request #5456 from GoSecure/vmware-iso-improved-network-logging
9 years ago
Megan Marsh 1c681fc096 tests
9 years ago
Megan Marsh 556da47d35 modify validation to allow user to have the original region in the ami_regions list
9 years ago
Christopher Boumenot da0c13f622 azure: delete keyvault deployment
9 years ago
zhuzhih2017 bdc1fa0527
Merge pull request #5641 from zhuzhih2017/master
9 years ago
zhuzhih2017 de0017c37a Add security token supported and TLS handshake timeout support
9 years ago
John Davies-Colley 10aaa49beb fixing tests and funky logic 💦
9 years ago
John Davies-Colley 0c787ec9df Valadating early
9 years ago
Vijaya Bhaskar Reddy Kondreddi 3d5303c60d Fix tests
9 years ago
Vijaya Bhaskar Reddy Kondreddi b7e3f37b44 Add support for differential disk
9 years ago
John Davies-Colley 75320440ec adding missing quote 🙏
9 years ago
John Davies-Colley 707ec675b2 ssh interface for amazon builders 🔨
9 years ago
Christopher Boumenot a3c9485062 azure: sanity check resource group names
9 years ago
Christopher Boumenot 247da61ad1
Merge pull request #5593 from boumenot/pr-azure-keep-resource-group
9 years ago
Christopher Boumenot 8985bd45ba azure: go fmt
9 years ago
Christopher Boumenot ee767e55d1 azure: change literal to constant
9 years ago
Christopher Boumenot 2684153cb2 azure: reject bad configuration faster
9 years ago
Christopher Boumenot 787f08f39b azure: add user message to indicate what is being deleted
9 years ago
Megan Marsh 20390ff1ec fix vetting for test fail print statements
9 years ago
SwampDragons ab542c07ff
Merge pull request #5547 from egraff/hyperv-patch
9 years ago
Ammar Ansari b8bd66d10d Align virtual disk size for qemu builder
9 years ago
Matthew Hooker b07a0cd6f0
fix tests
9 years ago
Megan Marsh 6756df9510 use url library instead of parsing string naiively
9 years ago
Megan Marsh 771349e58c fix error message
9 years ago
Megan Marsh 764be03876 didn't mean for this error message to get changed
9 years ago
Megan Marsh 0d18de2942 do validation in vmx config stage
9 years ago
Daniel Hess f0299ba713 Adding GCE container optimized os image project
9 years ago
Arjen Schwarz f43f3155d4
Remove breaking debug statement
9 years ago
Matthew Hooker f146e5903f
Merge pull request #5567 from bennu/vm-template-with-export-vm
9 years ago
SwampDragons e5c59468df
Merge pull request #5343 from evandbrown/pr-googlecompute-subnetworks
9 years ago
SwampDragons aae324e4e7
Merge pull request #5562 from hashicorp/fix5558
9 years ago
Arjen Schwarz 0e706320ad
Issue #5045 - Add build_resource_group_name
9 years ago
bugbuilder 23f4d187e2 validating keep_registered and fixing skip_export issues
9 years ago
stack72 450a233303 builder/triton: Wait for ImageCreation State
9 years ago
Chris Lundquist d00f884e71
Merge pull request #5530 from BaxterStockman/lxc-builder-cli-options
9 years ago
Matthew Hooker 0a24f4eb2e
don't shadow package name
9 years ago
Matthew Hooker f681faa296
fix tests
9 years ago
Matthew Hooker 545ee45567
debug region we found
9 years ago
Matthew Hooker c106e7c26c
Don't set region from metadata if profile is set.
9 years ago
Matthew Hooker 52fc0100eb
this is a critical error
9 years ago
Evan Brown 13e0c232d4 builder/googlecompute: Test networking interpolation
9 years ago
Evan Brown f2fed94a71 builder/googlecompute: Derive network and subnetwork IDs locally
9 years ago
Evan Brown bada7b73c1 builder/googlecompute: Selectively set default network
9 years ago
Evan Brown 1b3eb1c34d builder/googlecompute: Set default network_project_id
9 years ago
Matthew Hooker 68fa09c308
Merge pull request #5512 from hashicorp/fix5501
9 years ago
Matthew Hooker bdb2509735
Merge pull request #5475 from ChrisLundquist/lxd-publish-properties
9 years ago
Matthew Hooker 0172a5c82b
Merge pull request #5511 from hashicorp/fix5507
9 years ago
Arjen Schwarz f4600a208f
Azure: Keep temporary resource group. Fixes #5045
9 years ago
Erlend Graff 27fc72c137 fix formatting errors
9 years ago
Erlend Graff ae6987c74b hyper-v: add test for hashicorp/packer#5184
9 years ago
Erlend Graff eeeee3ec35 hyper-v/vmcx: add missing InterpolateContext
9 years ago
Erlend Graff d890051940 hyper-v: implement driver mock
9 years ago
James Nugent fdd9b952d1
Merge pull request #5538 from stack72/triton-image-data-source
9 years ago
Matthew Hooker 4d117bf117
Make vm log output less confusing
9 years ago
Matthew Hooker ac8bc522e0
Merge pull request #5534 from lisimia/digital_ocean_ipv6_option
9 years ago
Matthew Hooker 95e4ae251e
WIP
9 years ago
Matthew Hooker e87b468c6e
Merge pull request #5536 from hashicorp/fix5535
9 years ago
Matthew Hooker 8ab390a048
Merge pull request #5495 from smaato/master
9 years ago
stack72 7776bf596b builder/triton: Add a data source for source_machine_image
9 years ago
Matthew Hooker f2413ff138
add delay option to security group waiter
9 years ago
Matthew Hooker a14e9f4d48
Merge pull request #5525 from hashicorp/fix5524
9 years ago
Lawrence 5509d0734b Added ipv6 option for digitalocean builder
9 years ago
James Nugent a495948dc5
Merge pull request #5531 from stack72/bump-triton-dependencies
9 years ago
stack72 b04796c2cc Bump Joyent/triton-go to modern version of the SDK
9 years ago
Matthew Hooker 19e6049f17
style fixes
9 years ago
Matthew Hooker f64fa7b5ba
Merge pull request #5491 from BenPhegan/hyperv-disk_additional_size
9 years ago
Matt Schreiber 1f2135f65e
Add options to LXC builder for influencing for how containers are built and started
9 years ago
Matthew Hooker d322fc6c19
Shorten metadata timeout
9 years ago
Matthew Hooker 314fc94bd8
clean up
9 years ago
Matthew Hooker 0e4ea7420b
fix tests
9 years ago
Matthew Hooker c65fa8490d
fix various bugs deregistering AMIs
9 years ago
Matthew Hooker 6c4fbe8d87
use correct default region when deregistering AMIs.
9 years ago
Matthew Hooker faf96b369f Merge pull request #5510 from hashicorp/fix5216
9 years ago
Joe Ferguson 5c2f758053 🎨 Fix typo in "copyed" -> "copied" usages.
9 years ago
Matthew Hooker 794e518eb7
use hyper-v admin group, not admin
9 years ago
Matthew Hooker 812fd12a0b
move trimspace to powershell exit check
9 years ago
Matthew Hooker 1901c0385f
remove login_email from docker
9 years ago
Matthew Hooker fb098d045d
builder/virtualbox-ovf retry removing VM.
9 years ago
Matthew Hooker 0be02ab217
hyper-v: Don't error while checking for admin permissions.
9 years ago
Mark Meyer 4c5df79222 Fix regressions introduced in the instance builder
9 years ago
Mark Meyer 309bf61257 Add missing blockdevices to ebsvolume builder
9 years ago
Mark Meyer 1cc9b3f1e3 Bring back volume tagging to ebsvolume
9 years ago
Mark Meyer 7e1646826d Check if VolumeTags is empty before tagging volumes
9 years ago
Andrew Pryde f31c2c59c1 Merge pull request #5407 from prydie/fix-5401
9 years ago
Ben Phegan 12fc928e1d Initial commit of Hyper-V disk_additional_size capability. Support a
9 years ago
SwampDragons 1563fb97c7 Merge pull request #5463 from atsushi-ishibashi/issue5323
9 years ago
Megan Marsh 4721b48c70 add a couple of extra tests and reword documentation
9 years ago
Atsushi Ishibashi c3a00993d0 Don't truncate and replace with 'a', update docs
9 years ago
Andrew Pryde bb497c2453 Fixed incorrect test failure message in oci client
9 years ago
Chris Lundquist c1a7b3845a [lxd] allow passing of publish properties
9 years ago
Atsushi Ishibashi 3e68f1c505 Change first and last character when it doesn't match
9 years ago
Aaron Browne ffc63a8724 Use amazon common AccessConfig for ecr_login
9 years ago
Atsushi Ishibashi 210dd08326 Change args of NewConfig
9 years ago
Atsushi Ishibashi 5310d5629b Modify clean_image_name not defined error
9 years ago
Aaron Browne 8df643c343 Add aws_profile option to docker-push ecr_login
9 years ago