Commit Graph

226 Commits (27ff2dc7a965bb21d20df6032af6ec7d7978f4ee)

Author SHA1 Message Date
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
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 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
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 6746ffc133 builder/amazon/all: TemporaryKeyPairName
13 years ago
Ben Griffiths 0058929186 Allow customization of SSH Key pair pattern
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
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 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 7895df8c8f builder/amazon/chroot: implement UploadDir for chroot communicator
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
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 6ef73b88be builder/amazon: fix crash case if SIGINT while waiting for instance
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
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 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 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 fde7910e85 builder/amazon: remove unnecessary validation
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 b1ccdd4e11 fmt
13 years ago
Mark Peek f99797eba3 Handle missing source AMI error
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 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
Mitchell Hashimoto 21002e04a1 builder/amazon/common: correct the log statement
13 years ago
Mitchell Hashimoto df4c844493 builder/amazon/chroot: log the exit code for the chroot communicator
13 years ago