Commit Graph

769 Commits (d88f8acf4e1c8f3a2f102aef89b2224aec54eca2)

Author SHA1 Message Date
Matthew Hooker 75d2d769a9 We're not using this log package.
13 years ago
Matthew Hooker 7e2b9de778 Unit tests.
13 years ago
Matthew Hooker 74adaa534e bugfix.
13 years ago
Matthew Hooker da467b7d67 using blocking cp method.
13 years ago
Matthew Hooker 0659ccdea0 Revert "notes/reorg."
13 years ago
Matthew Hooker 95f5cea285 wip
13 years ago
Matthew Hooker 03994f052d Merge branch 'master' into 430
13 years ago
Matthew Hooker a03807f8e8 wip
13 years ago
Matthew Hooker 73c5aec24d notes/reorg.
13 years ago
Matthew Hooker cd0cae207c pass chroot command to /bin/sh
13 years ago
Bob Potter db84c9f547 Update builder-amazon-chroot to work with WaitForState changes in 7c56148f
13 years ago
Jason A. Beranek 9ed461cbd3 communicator/ssh, builder/digitalocean: fix new SSH API from upstream
13 years ago
Mitchell Hashimoto 30eccf4130 builder/virtualbox: support attaching guest additions [GH-405]
13 years ago
Mitchell Hashimoto f8ff737b0a builder/amazon/common: save access/secret key from env [GH-434]
13 years ago
Jesse Nelson 0fadb8d02f exclude everything in /tmp, but keep /tmp itself
13 years ago
Matthew Hooker bac3d8ffed Allow user to override chroot command.
13 years ago
Mitchell Hashimoto 11a68992ad builder/virtualbox: fix scan codes
13 years ago
Mitchell Hashimoto 61d9bb73a7 fmt
13 years ago
Charlie Sharpsteen 2bd13bbfe7 Fix scancode comment concerning key release
13 years ago
Charlie Sharpsteen bb8e7f7814 Fix VirtualBox scancodes
13 years ago
Mitchell Hashimoto d6fca7975a communicator/ssh, builder/digitalocean: fix new SSH API from upstream
13 years ago
Mitchell Hashimoto 7c56148f95 builder/amazon/common: error if WaitForState can't find resource
13 years ago
Mitchell Hashimoto f9feeac355 builder/amazon/common: rename instance.go to state.go, makes more sense
13 years ago
Mitchell Hashimoto 6a8e4f1439 builder/amazon/*: use WaitForState for AMIs
13 years ago
Mark Peek 9035b51165 builder/amazon: add clean_ami_name template function
13 years ago
Sean Mackrory 27a2270593 Using the vm_name parameter to name OVA/OVF files and their attachments
13 years ago
Mitchell Hashimoto 8c30dc78ac builder/amazon/common: don't need squash here
13 years ago
Mitchell Hashimoto c4cf8553c8 builder/amazon/common: support NoDevice [GH-396]
13 years ago
Mitchell Hashimoto 67c71aa836 builder/amazon/common: if instance query returns none, ignore
13 years ago
Mitchell Hashimoto 5736dbd3aa Merge pull request #388 from jmassara/ami_region_copy
13 years ago
Mitchell Hashimoto fb8b82fca5 builder/vmware: always set msg.AutoAnswer
13 years ago
Mitchell Hashimoto e26f7e87e0 builder/vmware: auto-answer dialogs [GH-393]
13 years ago
Mitchell Hashimoto 6746ffc133 builder/amazon/all: TemporaryKeyPairName
13 years ago
Mitchell Hashimoto 25a310cf45 Merge pull request #389 from whostolebenfrog/master
13 years ago
Mitchell Hashimoto bf1a2f4899 builder/virtualbox: process hdd interface as template, validate
13 years ago
Justin Bronn 3043eddfaf Enable customization of VirtualBox disk controller with `hard_drive_interface` option (SATA only).
13 years ago
Ben Griffiths 0058929186 Allow customization of SSH Key pair pattern
13 years ago
Mitchell Hashimoto fc62adfe5d builder/digitalocean: retry longer and don't retry shutdown
13 years ago
Mitchell Hashimoto cc8d0ad2eb builder/digitalocean: retry pending events a lot more
13 years ago
Mitchell Hashimoto 45c88e2aea builder/digitalocean: get compilation working again
13 years ago
Mitchell Hashimoto 290b9ef836 builder/digitalocean: give up on graceful shutdown more quickly
13 years ago
Mitchell Hashimoto a1c96d3b97 builder/digitalocean: proper timeouts so poweroff retries
13 years ago
Mitchell Hashimoto 0271d9a15e builder/digitalocean: properly cleanup goroutines for status checking
13 years ago
Mitchell Hashimoto ede100bb7b builder/digitalocean: actually, we want to try hard on shutdown
13 years ago
Mitchell Hashimoto 2da53f54f4 builder/digitalocean: break loop if we reach off state
13 years ago
Mitchell Hashimoto 5477d7166b builder/digitalocean: retry power off a number of times
13 years ago
Mitchell Hashimoto ab5b094d73 builder/digitalocean: looser pending event string matching.
13 years ago
Mitchell Hashimoto f2e909356e builder/digitalocean: retry on any pending event errors
13 years ago
James Massara 952b2c921f Also deregister AMI if it was copied to other regions
13 years ago
James Massara a613446205 builder/amazon: Re-ordered steps for AMI region copying so tags and
13 years ago
Tom Hite db10cc6e83 changed error string referring to 'ova' and 'ovf' to refer to 'qcow2' and 'img' as the former were stray leftovers from the virtualbox code used as a basis for this plugin.
13 years ago
Tom Hite 2255a82300 removed a few stray 'VirtualBox' term uses in comments and docs.
13 years ago
Tom Hite a20cfa9cf9 Merge remote-tracking branch 'upstream/master'
13 years ago
Tom Hite 7a9baad5a2 added network and disk driver options, also a source comment on the kickstart file in the docs (I can't find the original source).
13 years ago
Tom Hite afc3f3be08 Initial checkin to GitHub -- has extensive changes to conform to the latest API model to match the 0.3.6 (Sept. 2, 2013) release.
13 years ago
Justin Santa Barbara 47ee7ca977 Only pass the project if it is specified
13 years ago
Justin Santa Barbara b6a6c8571b Allow the Openstack project to be specified
13 years ago
Mark Peek 84b0bf6dba Merge pull request #379 from justinsb/justinsb-openstack_ipv6_support
13 years ago
Greg Karékinian 6cd10286db Fix typo
13 years ago
Mitchell Hashimoto 4e87275f87 Merge pull request #378 from justinsb/increase_ssh_timeout
13 years ago
Justin Santa Barbara 3001c16eee Increase default SSH timeout for OpenStack from 1m -> 5m
13 years ago
Mark Peek eea558d2a5 builder/openstack: don't hardcode "DFW" and make region required
13 years ago
Justin Santa Barbara 375eb57077 Support IPv6 access address for Openstack
13 years ago
Mitchell Hashimoto 67887c11e4 Merge pull request #375 from justinsb/avoid_nil_pointer_if_no_openstack_image
13 years ago
Justin Santa Barbara f1eae75389 If no image is generated, just return nil for the Openstack provider
13 years ago
Mitchell Hashimoto 90b4dc7860 builder/digitalocean: retry destroy a few times
13 years ago
Mitchell Hashimoto 8e7c2796fc builder/amazon/instance: new multistep API
13 years ago
Mitchell Hashimoto b5606af9e2 builder/amazon/ebs: new multistep API
13 years ago
Mitchell Hashimoto 1b8646c963 builder/amazon/chroot: new multistep API
13 years ago
Mitchell Hashimoto 36698d4b6d builder/vmware: new multistep API
13 years ago
Mitchell Hashimoto 8d5f8dc423 builder/virtualbox: new multistep API
13 years ago
Mitchell Hashimoto ea5361a9ac builder/openstack: new multistep API
13 years ago
Mitchell Hashimoto a82f1c18ee builder/digitalocean: new multistep API
13 years ago
Mitchell Hashimoto dc9a803efd builder/amazon: don't chmod on windows
13 years ago
Mitchell Hashimoto d1fff21045 builder/amazon: chmod debug key so it is ssh-ready
13 years ago
Mitchell Hashimoto f97b88654f builder/amazon: output DNS name if debug mode
13 years ago
Mitchell Hashimoto e613b0cdcd builder/amazon: drop private key if debug mode [GH-373]
13 years ago
Mitchell Hashimoto e7b2751d63 builder/vmware: support key based SSH auth [GH-70]
13 years ago
Mitchell Hashimoto 19bafd8da8 builder/virtualbox: support ssh keys as auth mechanism [GH-70]
13 years ago
Mark Peek f717edd644 builder/openstack: return artifacts
13 years ago
Mark Peek ca1388f7bc builder/openstack: simplify by passing csp instead of accessor and api
13 years ago
Mitchell Hashimoto e50a15c4ee builder/vmware: support vmx_template_path [GH-270]
13 years ago
Mitchell Hashimoto 20541a7eda builder/vmware: ability to not request a PTY for SSH [GH-270]
13 years ago
Mitchell Hashimoto 9865dd0161 Merge pull request #339 from mitchellh/do-soft-shutdown
13 years ago
Mark Peek e7140cf405 Add base support for openstack [GH-155]
13 years ago
Mitchell Hashimoto 7895df8c8f builder/amazon/chroot: implement UploadDir for chroot communicator
13 years ago
Jack Pearkes 43dd2bd2c9 builder/digitalocean: send a "shutdown" before snapshotting
13 years ago
Mitchell Hashimoto 9527f60884 builder/amazon/instance: remove check for AMI tools [GH-330]
13 years ago
Mitchell Hashimoto f4f433d0d8 builder/amazon: modify attributes before region copy
13 years ago
Mitchell Hashimoto d9e80803c9 builder/amazon/common: modify output for AMI copy
13 years ago
Mitchell Hashimoto 0306759840 builder/amazon: support tags in chroot and instance
13 years ago
Mitchell Hashimoto 50e2535bd8 builder/amazon/common: move tags into ami_config
13 years ago
Mitchell Hashimoto f197c2b5f0 builder/amazon: region copy must go before modify attributes
13 years ago
Mitchell Hashimoto 374f2fb647 builder/amazon/common: remove duplicates from ami_region
13 years ago
Mitchell Hashimoto 4522db5d7d Merge pull request #322 from jmassara/ami_region_copy
13 years ago
Justin Bronn ffe63b8bd8 Make it possible to customize the VMware virtual disk type id.
13 years ago
James Massara e2ce81ce5e Make sure ami_regions are valid
13 years ago
James Massara 1e27feb6c6 amazon/common: Added AMI CopyImage support
13 years ago
Mitchell Hashimoto 7ad307e95a builder/virtualbox: fmt
13 years ago
Mitchell Hashimoto 844e355ed3 website: document formats feature
13 years ago
Johan Siebens a73ec1deb7 builder/virtualbox: export to ovf or ova (default ovf)
13 years ago
Mitchell Hashimoto 513e4a2a3a builder/digitalocean: use HTTP proxy if in env
13 years ago
Mitchell Hashimoto 6ef73b88be builder/amazon: fix crash case if SIGINT while waiting for instance
13 years ago
Jack Pearkes 885ea52e56 builder/digitalocean: better handling of url params in api requests
13 years ago
Mitchell Hashimoto de80940027 builder/vmware: interrupts work during VNC type on VMware
13 years ago
Mitchell Hashimoto fd0e642195 builder/amazon: modifying more than one AMI attribute type works
13 years ago
Mitchell Hashimoto a1a7ff20c2 *: switch to packer ConfigTemplate
13 years ago
Mitchell Hashimoto 015933b29f builder/vmware: support iso_urls for multiple URLs [GH-110]
13 years ago
Mitchell Hashimoto a6d4e326a7 builder/virtualbox: iso_urls for multiple ISO urls [GH-110]
13 years ago
Mitchell Hashimoto 51fb48c5cd builder/vmware: switch to common download step
13 years ago
Mitchell Hashimoto bda45c1b53 builder/virtualbox: remove unused function
13 years ago
Mitchell Hashimoto 4188e07fc2 builder/virtualbox: switch download guest additions to use new common
13 years ago
Mitchell Hashimoto 2946d14edf common: Add new StepDownload to DRY up downloads
13 years ago
Mark Peek 40d6c46ed3 builder/amazon: add block device mappings [GH-90]
13 years ago
Jeremy Carroll c193048b3b Was missing sending IAM profile data to instance store builders.
13 years ago
Mitchell Hashimoto 9f84f2c363 common: return -1 download percent if download hasn't started [GH-288]
13 years ago
Mitchell Hashimoto 91af560d26 builder/virtualbox: Don't validate guest additions URL so early because it requires template
13 years ago
Mitchell Hashimoto 80e37446e9 builder/virtualbox: guest-additions_url can use Version var [GH-272]
13 years ago
Mitchell Hashimoto 2789162fec builder/virtualbox: instantiate driver in Run method
13 years ago
Mitchell Hashimoto 6090b6ecdf builder/vmware: create driver in Run method
13 years ago
Mitchell Hashimoto 43c6b9e6d1 builder/vmware: find files if they exist [GH-279]
13 years ago
Mitchell Hashimoto 724e2b3c52 builder/vmware: fix windows builds
13 years ago
Mitchell Hashimoto e00f114520 builder/amazon/common: correct logic in deleting secutiry group
13 years ago
Mitchell Hashimoto c09c1108ca builder/amazon/common: retry deleting security group [GH-278]
13 years ago
Mitchell Hashimoto 4d7b0c2dbc builder/amazon/all: support user data file
13 years ago
Mitchell Hashimoto c1f8e5c3b3 builder/amazon/common: support user_data_file
13 years ago
Mitchell Hashimoto 4e300259c7 Merge pull request #253 from phobos182/master
13 years ago
Mitchell Hashimoto 5decc186a6 builder/vmware: nitpick some styles
13 years ago
Ross Smith II cfc7715495 fixed typo in vmware path on Windows XP, fixes #237/#238
13 years ago
Ross Smith II 60fc565dbb Add support for VMWare Workstation on Windows XP, fixes #237
13 years ago
Mitchell Hashimoto 100458955f builder/*, provisioner/*: set user vars
13 years ago
Jeremy Carroll c94287bbde Log error messages from goamz.
13 years ago
Mitchell Hashimoto afe8dda7a9 builder/amazon/chroot: can modify AMI attributes
13 years ago
Mitchell Hashimoto 558f919e4f builder/amazon/common: rename StepModifyAttributes to
13 years ago
Mitchell Hashimoto d7c9658c1c builder/amazon/common: AMIConfig common config
13 years ago
Mitchell Hashimoto 2a0b3cfdc2 builder/amazon/common: on modify AMI attributes, skip if no work
13 years ago
Mitchell Hashimoto 1f53e047a3 builder/amazon/common: use new API for goamz to set AMI attributes
13 years ago
James Massara b0394c6d30 builder/amazon/all: Added support for setting attributes on the AMI
13 years ago
Mitchell Hashimoto 9520c6e6ed builder/amazon: more efficient use of templates
13 years ago
Mitchell Hashimoto ad9575a041 builder/vmware: error checking on upload path template
13 years ago
Mitchell Hashimoto d71621a599 builder/vmware: use new template stuff
13 years ago
Mitchell Hashimoto 8fad60b1b4 builder/virtualbox: use new template processing stuff
13 years ago
Mitchell Hashimoto fde7910e85 builder/amazon: remove unnecessary validation
13 years ago
Mitchell Hashimoto 66818ef89f builder/digitalocean: use new template processing
13 years ago
Mitchell Hashimoto 1268373105 builder/amazon/instance: switch to new template stuff
13 years ago
Mitchell Hashimoto a9b951e1fe builder/amazon/ebs: get rid of unnecessary template
13 years ago
Mitchell Hashimoto 28e72c7f7b builder/amazon/chroot: switch to new template stuff
13 years ago
Mitchell Hashimoto a669b4dbd0 builder/amazon/ebs: process templates for config
13 years ago
Mitchell Hashimoto 8e7aa41bdf builder/amazon/common: RunConfig to template processing
13 years ago
Mitchell Hashimoto 93ac76e9c7 builder/amazon/common: access config uses template processing
13 years ago
Mark Peek 87e61b643c builder/amazon/all: address feedback for ami tag refactoring change
13 years ago
Jeremy Carroll a81fc2d837 Convert string to byte array
13 years ago
Jeremy Carroll 9eda3fa327 Testing adding user-data support to Packer
13 years ago
Mark Peek 3bcfeafa15 builder/amazon/all: refactor ami tags [GH-233]
13 years ago
Mark Peek 3d461195e3 Merge pull request #233 from jmassara/tags
13 years ago
James Massara d1aefb38bb Simplied Tags configuration
13 years ago
Andrei Serdeliuc 80db9efef5 fix check for vpcid
13 years ago
James Massara 8853e7a17e Moved Tags configuration out of common and into ebs.
13 years ago
James Massara ad38604390 removed Tags definition from RunConfig
13 years ago
Mitchell Hashimoto 3bf88e2dd7 builder/amazon/common: sleep between API calls for SSHAddr
13 years ago
Mitchell Hashimoto c8508ade17 builder/amazon/common: be more gentle on AWS API while getting SSHAddr
13 years ago
Mitchell Hashimoto 4e8db89403 builder/amazon/all: use new SSHAddress method [GH-243]
13 years ago
Mitchell Hashimoto 1b8551d843 builder/amazon/common: refresh instance while connecting to SSH [GH-243]
13 years ago
James Massara 4c273e33c5 removed amiId temp variable
13 years ago
James Massara b24fcbc800 Adds support for adding tags to the AMI
13 years ago
James Massara 852c10264b Adds support for adding tags to the AMI
13 years ago
Mitchell Hashimoto ef59ee41a8 rename builder/common to common since it is generally useful
13 years ago
Mitchell Hashimoto 744c52f685 builder/vmware: slightly nicer error messages
13 years ago
Mitchell Hashimoto 844fde01a7 builder/vmware: error message tweaking for Player driver
13 years ago
Julian Phillips 4b6bbfd723 builder/vmware: We only need one runAndLog function
13 years ago
Julian Phillips 898e468edd builder/vmware: Add Support for VMware Player 5 (Linux)
13 years ago
Mitchell Hashimoto 5de3a948fa builder/vmware: sleep before cleaning files on Windows
13 years ago
Mitchell Hashimoto b1ccdd4e11 fmt
13 years ago
Mitchell Hashimoto 5a267ef73f Merge pull request #228 from markpeek/markpeek-images
13 years ago
Mitchell Hashimoto 8f6b2e4d32 builder/virtualbox,vmware: retry removing output dir if fails
13 years ago
Mitchell Hashimoto ce4db65fa0 builder/vmware: compile host_ip on every platform
13 years ago
Mitchell Hashimoto 1ff52979fe builder/vmware: redo host IP stuff for Windows
13 years ago
Mark Peek f99797eba3 Handle missing source AMI error
13 years ago
Mitchell Hashimoto e11b6617f3 builder/vmware: more logs for Workstation
13 years ago
Mitchell Hashimoto 5fd00cfd3a builder/vmware: convert line endings in workstation to Unix-style
13 years ago
Mitchell Hashimoto f5b0b4f9d7 builder/vmware: improved logging for various workstation steps
13 years ago
Mitchell Hashimoto f6245ae128 builder/vmware: verify various paths exist for Workstation
13 years ago
Mitchell Hashimoto d0a2dac8f0 builder/vmware: refactor the platform-specific stuff out
13 years ago
Mitchell Hashimoto 720a72dc30 Merge branch 'master' of https://github.com/rasa/packer into rasa-master
13 years ago
Mitchell Hashimoto 18f34173cf fmt
13 years ago
James Massara 4bd3afb3ee Added IAM Instance Profile support
13 years ago
Mitchell Hashimoto 0820da6039 builder/amazon/common: wait for terminated state
13 years ago
Mitchell Hashimoto 8cf245eaa5 builder/amazon/ebs: don't need this variable
13 years ago
Mitchell Hashimoto 6740f99f26 builder/amazon/common: prefer public DNS if possible for SSH
13 years ago
Mitchell Hashimoto fd3f9e9e4c builder/common: channels instead of unsafe read/write for communicate
13 years ago
Mitchell Hashimoto 377493db4f builder/amazon/chroot: use set AMI name
13 years ago
Mitchell Hashimoto ffe1e5f57b builder/amazon/chroot: default volumes dir is relative
13 years ago
Mitchell Hashimoto 005c485bfb builder/amazon/chroot: validate that chroot_mounts are 3 elements
13 years ago
Mitchell Hashimoto f0a0816736 builder/amazon/chroot: let go of flock earlier for parallelism
13 years ago
Mitchell Hashimoto cccf3ddc79 builder/amazon/chroot: fix compilaton on Windows
13 years ago
Mitchell Hashimoto 167bdd9a46 builder/amazon/chroot: flock so that device searching is safe
13 years ago
Mitchell Hashimoto 997b81da21 builder/amazon/chroot: find available device
13 years ago
Mitchell Hashimoto 6b7f59216e builder/amazon/chroot: get rid of AttachedDevicePath
13 years ago
Mitchell Hashimoto 089d284067 builder/amazon/chroot: register AMI
13 years ago
Mitchell Hashimoto 6f4db32418 builder/amazon/chroot: switch func type to interface
13 years ago