Commit Graph

3307 Commits (2496e09d75db905fd2e7db87ea77990140e40cd7)

Author SHA1 Message Date
Omer Katz 56af885212
Avoid warning when using raw format.
8 years ago
Megan Marsh 7623c26e4e
Merge pull request #6057 from arizvisa/GH-5925
8 years ago
Megan Marsh 16d044b398 add user data and user data file to oracle oci builder
8 years ago
Megan Marsh 58ecd32289 remove redundant security_protocol code from the winrm implementation of the oracle-classic provisioner
8 years ago
Andrew Pennebaker fdc6ac631a fix vbox scancodes and support critical key combinations during boot-time operations
8 years ago
Ali Rizvi-Santiago 55702a697a Ack, forgot to :w in vim. Changed ui.Say in step_clone_vmx.go to use fmt.Sprintf as it originally was a call to log.Printf.
8 years ago
Joseph Wright 1913517d29 Fix formatting by running `make fmt`
8 years ago
Ali Rizvi-Santiago 72da7cbfbb Fixed a case-sensitivity issue when determing the network type during cloning in the vmware-vmx builder and added also some logs that output the different options that were determined from the .vmx. This outputs more accurate debug information and helps out with issue #5925
8 years ago
Joseph Wright cb3699a584 Modify ebssurrogate builder to snapshot all launch devices
8 years ago
Megan Marsh 7253d6547b minor LXD documentation tweaks
8 years ago
Megan Marsh 088b4ab275
Merge pull request #6038 from ChrisLundquist/clundquist/more-lxd-config
8 years ago
Megan Marsh 072cd6b745
Merge pull request #5998 from hashicorp/do_5895
8 years ago
Megan Marsh 95aa7e67bd
Merge pull request #5893 from neumayer/privateip
8 years ago
Robert Neumayer 61432cd257 Update logs to talk about IP instead of public IP
8 years ago
Yang Youseok 1f4212efa7 builder/openstack: Add instance_name config to OpenStack builder
8 years ago
Megan Marsh ef4f3f143b
Merge pull request #5985 from AndiDog/f-5979-vmware-fusion-guestip-lookup-multiple-devices
8 years ago
Christopher Boumenot eb201724c1 azure: unit tests for naming temp resources
8 years ago
stack72 c877312a4d builder/triton: Add support to Skip TLS Verification of Triton URL
8 years ago
Chris Lundquist 4f5e7fe060 first pass at allowing configurable sleep timeouts, profiles, and launch configs
8 years ago
Matthew Hooker aa54f908ed
Merge pull request #6019 from hashicorp/fix-aws-credentials
8 years ago
Matthew Hooker 49958391b3
better error when source_path doesn't exist.
8 years ago
Matthew Hooker b16f2ec64b
builder/amazon: Use sdk default cred providers
8 years ago
Matthew Hooker e483087574
builder/amazon: Use service default retries.
8 years ago
Megan Marsh d689e6b4d3 allow users of AWS to use the dynamically-generated admin password which we use as the winRM password as an elevated password in the Powershell provisioner, as well as an environment variable in same provisoner.
8 years ago
Megan Marsh 414dd80e61
Merge pull request #6013 from jsoref/spelling
8 years ago
Josh Soref 27dfe92f1c spelling: virtualization
8 years ago
Josh Soref 0171dfc890 spelling: validating
8 years ago
Josh Soref b81672c906 spelling: valid
8 years ago
Josh Soref 33f90d7783 spelling: unmarshalling
8 years ago
Josh Soref 3b694feabc spelling: transfer
8 years ago
Josh Soref 5a393d4fac spelling: template
8 years ago
Josh Soref c563ef0797 spelling: structure
8 years ago
Josh Soref 007930ec2d spelling: restricted
8 years ago
Josh Soref aae5b50dab spelling: response
8 years ago
Josh Soref 8294c8bc66 spelling: receive
8 years ago
Josh Soref fa36e1d961 spelling: processing
8 years ago
Josh Soref 8c72bba160 spelling: possible
8 years ago
Megan Marsh aeb25d2c61
Merge pull request #5991 from evandbrown/google-disable-default-service-account
8 years ago
Evan Brown 7eda44d28c builder/googlecompute: disambiguate disable_default_service_account
8 years ago
Megan Marsh 2de0652eb4
Merge pull request #6003 from boumenot/pr-azure-support-force
8 years ago
Josh Soref 18f51e7338 spelling: parameters
8 years ago
Josh Soref 61030c0d85 spelling: output
8 years ago
Josh Soref e43b8de3b1 spelling: network
8 years ago
Josh Soref d987fcefc3 spelling: multiples
8 years ago
Josh Soref cab8b6ed68 spelling: maximum
8 years ago
Josh Soref 73d3d65b84 spelling: marshal
8 years ago
Josh Soref 964d5dd55e spelling: mapstructure
8 years ago
Josh Soref ae4abedfa2 spelling: mandatory
8 years ago
Josh Soref 933ac20e68 spelling: instance
8 years ago
Josh Soref 62f59662a3 spelling: installation
8 years ago
Josh Soref 1e99dce12b spelling: inertness
8 years ago
Josh Soref 3a31baae4f spelling: incorrect
8 years ago
Josh Soref 57c0e9e4a7 spelling: illegal
8 years ago
Josh Soref 210f8e8312 spelling: hyphen
8 years ago
Josh Soref 24b4c36fc9 spelling: function
8 years ago
Josh Soref dc942a0d8a spelling: first
8 years ago
Josh Soref 466f0d2be4 spelling: firewall
8 years ago
Josh Soref 041a115f65 spelling: existent
8 years ago
Josh Soref 33bf6de921 spelling: exceeds
8 years ago
Josh Soref 04d6bfc696 spelling: environment
8 years ago
Josh Soref 9b9ab4c492 spelling: encrypt
8 years ago
Josh Soref 83471c8399 spelling: doesn't
8 years ago
Josh Soref 60ef3c3374 spelling: directories
8 years ago
Josh Soref 939e7d5587 spelling: delete
8 years ago
Josh Soref efb525f03d spelling: creating
8 years ago
Josh Soref 935c8e9a28 spelling: configuration
8 years ago
Josh Soref 47a4bbd9f5 spelling: compaction
8 years ago
Josh Soref 5010bfda39 spelling: comes
8 years ago
Josh Soref f362789174 spelling: because
8 years ago
Josh Soref 7895051962 spelling: attribute
8 years ago
Josh Soref 75a7ceec48 spelling: alicloud
8 years ago
Josh Soref fe98bcc5a1 spelling: address
8 years ago
Megan Marsh 8481663d4a
Merge pull request #6005 from boumenot/pr-azure-randomize-resource-names
8 years ago
Megan Marsh 5055fa66aa
Merge pull request #5987 from mcandre/multibyte-scancodes
8 years ago
Megan Marsh 2a88672cd9 add test for modifyer keypress commands
8 years ago
Megan Marsh 3207ffbd9a
Merge pull request #6002 from mcandre/fix-6001
8 years ago
Christopher Boumenot 2a21032964 azure: randomize NIC and Public IP names
8 years ago
Christopher Boumenot 149ce52079 azure: respect -force for managed image deletion
8 years ago
Andrew Pennebaker 1d48812b34 fix later commands overwriting earlier commands
8 years ago
Megan Marsh b1eaaed6fb
Merge pull request #5970 from boumenot/pr-azure-plan-info
8 years ago
Christopher Boumenot 1ef491d4c8 incorporate reviewer feedback
8 years ago
Evan Brown 4a2c124ea2 builder/googlecompute: Optionally disable service account
8 years ago
Andrew Pennebaker f305a2f4c2 send multibyte scancodes accurately to virtualbox
8 years ago
Andreas Sommer ff92fb883d Handle multiple devices per VMware network type
8 years ago
Megan Marsh ac2e02b938 remove loglines that should not have made it onto master
8 years ago
SwampDragons 97060d100c
Merge pull request #5928 from kri5/service_account_gce
8 years ago
SwampDragons d3f1b501c6
Merge pull request #5975 from arizvisa/GH-5961
8 years ago
Ali Rizvi-Santiago df6cdcc7f7 Disable the usage of the XHCI bus for USB on the vmware-iso builder.
8 years ago
SwampDragons 980c777000
Merge pull request #5960 from LessMo/master
8 years ago
SwampDragons 585e31e47a
Merge pull request #5974 from boumenot/pr-azure-better-error-message
8 years ago
Christopher Boumenot d2e593de37 azure: support for marketplace plan information
8 years ago
Christopher Boumenot 8166ba2d8d azure: better error message
8 years ago
Christopher Boumenot e0ac07f5db azure: correct function name spelling
8 years ago
Less Mo 686cacb435
builder/amazon: Added new region cn-northwest-1
8 years ago
jmajoor 675dc06967 Tests for the optional disk_additional_size configuration.
8 years ago
jmajoor 33c3d2885d Add the additional disk steps to the Linux build
8 years ago
jmajoor 47947bd0f6 Apply gofmt
8 years ago
jmajoor efcdbfeab9 Add support for optionally building Azure VMs with additional disks.
8 years ago
Stefan Henseler 103186af86 Adds Support to configure hyper-v disk block size
8 years ago
SwampDragons 9e8e376d6c
Merge pull request #5932 from hashicorp/add_configurable_snapshot_timeout
8 years ago
Megan Marsh 597ddc2192 add configurable snapshot timeout to oracle-classic builder
8 years ago
Christophe Courtaut 16882c1252 builder/googlecompute: Go code formatting
8 years ago
Christophe Courtaut 4befdce47e builder/googlecompute: Adds ability to specify service account
8 years ago
Megan Marsh 33acdbf3bf move comments so indentation is more logical
8 years ago
SwampDragons 3ea7fc9876
Merge pull request #5931 from arizvisa/GH-5916
8 years ago
SwampDragons cfede07228
Merge pull request #5929 from hashicorp/oracle_classic_winrm
8 years ago
Megan Marsh df45e0916d Add the winRM communicator to Oracle Classic builder.
8 years ago
Ali Rizvi-Santiago ac2ddbcbf5 Fixes the assumption that all the VMware builder's drivers will implement a network mapper for mapping a network name to it's corresponding device.
8 years ago
SwampDragons 1b4956aef8
Merge pull request #5900 from arizvisa/GH-5882
8 years ago
Matthew Hooker 2806523834
Fix issue with assume role credentials
8 years ago
Ali Rizvi-Santiago 27ed479b0a Reinforced the VMWare Workstation builder methodology for locating the dhcp.conf and dhcpd.leases files on Linux.
8 years ago
Ali Rizvi-Santiago d6e5342ece Fixed a type-o in the VMWare builder when locating the dhcp configuration file on Linux.
8 years ago
Robert Neumayer ff30b3b3f7 Remove unrelated changes
8 years ago
Robert Neumayer 30fa1494d5 Add option to use prive ip for oci builder
8 years ago
Robert Neumayer 7966e202b7 Fix typo
8 years ago
Matthew Hooker 4be86e2e18
Merge pull request #3417 from arizvisa/vmware-iso-extraconfig
8 years ago
Matthew Hooker 19a89a101e
builder/amazon: remove ssh_private_ip
8 years ago
Matthew Hooker 125a9133d4
Merge pull request #5874 from hashicorp/do_5866
8 years ago
Matthew Hooker 5b64f71702
Merge pull request #5764 from hashicorp/fix5760
8 years ago
Megan Marsh 7f631fcb77 unpack attributes in oracle-classic builder earlier so that we error fast if there's an issue
8 years ago
Megan Marsh ff717c5784 wrong place for differentiation between ssh and winrm
8 years ago
Megan Marsh ad2e5f1f08 fail in oracle classic builder if user tries winrm since it doesn't work yet, and add attributes and attributes_file fields to oracle builder
8 years ago
Matthew Hooker e752e3a018
use new internal multistep helper
8 years ago
Loïc Carr 22b12432db
builder/scaleway: support ssh agent authentication
8 years ago
Loïc Carr 1f7c32db98
builder/scaleway: report to ui scw api startup error
8 years ago
Loïc Carr 7f8ed28bc6
builder/scaleway: Make use of NewRunnerWithPauseFn
8 years ago
Loïc Carr fc7d89eb79
builder/scaleway: support password auth
8 years ago
Edouard BONLIEU eb56b1b70e
Fix terminate error
8 years ago
Edouard BONLIEU b44798b38d
Raise error in case of create server failure
8 years ago
Edouard BONLIEU 09805911b4
Fix builder unique id
8 years ago
Edouard BONLIEU 2de93c5ae6
Add existing SSH key support
8 years ago
Edouard BONLIEU 1fb13cc23e
Add image creation from snapshot
8 years ago
Edouard BONLIEU 9b611af7e6
Allow token and organization id to be passed via env vars
8 years ago
Edouard BONLIEU 7e36cfcff1
Add Scaleway builder
8 years ago
Matthew Hooker 6205c71f98
Merge pull request #5791 from YuSungDuk/master
8 years ago
Edward c29e5de381
Remove the deprecated extensions
8 years ago
유성덕 0ebdad2934 fix communicator type : Windows -> winrm
8 years ago
Matthew Hooker 8510f072a9
Merge pull request #5841 from hashicorp/fix5447
8 years ago
Matthew Hooker 21812fa17f
Add volume and run tags if in us-gov/china
8 years ago
Matthew Hooker ff64ccda55
Merge pull request #5426 from hashicorp/fix_4915
8 years ago
SwampDragons 7d5d62d748
Merge pull request #2906 from arizvisa/GH-2377
8 years ago
Petr Hosek eaef2961cb Support specifying licenses for Google Compute images
8 years ago
Ali Rizvi-Santiago fa2dddd26d Fixed some things mucked up during rebase.
8 years ago
Ali Rizvi-Santiago aefe41a44a Fixed an issue with the previous commit so that when the user does not specify the cdrom_adapter_type to fallback to the original decision made by the disk adapter type selection.
8 years ago
Ali Rizvi-Santiago eb0445ca96 Added support for specifying both the network adapter type and cdrom adapter type as requested by @night199uk. Also included the respective documentation for these new options.
8 years ago
Ali Rizvi-Santiago 74946071d2 Added support for specifying the disk adapter type to the vmware builders. This was squashed from the vmware-diskAdapterType branch (#2968) as submitted by Rami Abughazaleh <icnocop@users.noreply.github.com>. This closes #5671 and possibly #4885.
8 years ago
Ali Rizvi-Santiago 594ed950c7 Fixed a race condition in builder/vmware/common/driver_parser.go due to a misunderstanding how channels work when you close them.
8 years ago
Ali Rizvi-Santiago 737e951685 Added missing root path to path-finders for the VMware Fusion implementation in the vmware builder as mentioned by @SwampDragons.
8 years ago
Ali Rizvi-Santiago b2fec18b1e Added parser for VMware Fusion's networking file. Replaced VmwareDriver's NetmapConfPath with a NetworkMapperInterface in order to handle the differences between VMware Fusion and the rest of the VMware suite.
8 years ago
Ali Rizvi-Santiago 069d00f70b Added the paths suggested by @phekmat and @SwampDragons for VMware Fusion... Although parser for the new mapper format is likely to be needed still.
8 years ago
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