Commit Graph

473 Commits (4490826a17ed72d4209da35e4d71cb31c505cd03)

Author SHA1 Message Date
Clint Shryock 1fbf8b7f32 update create_tags for new sdk
11 years ago
Clint Shryock a8155e17aa merge acaire/add-ebs-snapshot-tags
11 years ago
Clint Shryock 2056fda4d3 builder/amazon: Allow spaces in AMI names
11 years ago
Clint Shryock c9b413e3d1 builder/amazon-instance: Omit access, secrety key if using IAM Instance Profile
11 years ago
Mitchell Hashimoto be4a82dfae amazon/*: fix some merge conflicts
11 years ago
Mitchell Hashimoto 8e1db0d94c Merge branch 'fix_amazon_instance_waits' of https://github.com/renat-sabitov/packer into renat-sabitov-fix_amazon_instance_waits
11 years ago
Jan Schumann 802cfa3871 make sure IOPS is not set for empty VolumeType
11 years ago
Jan Schumann 5d600c70f2 added test to illustrate wrong behavior
11 years ago
Clint b31534d5fe Merge pull request #2197 from mitchellh/f-aws-fixup-ebs-snapshots
11 years ago
Clint Shryock 4da118c64f fix up tests
11 years ago
Clint Shryock 999b0874cc Update AWS EBS builder to fix invalid params
11 years ago
Clint Shryock 8c321138f4 Revert "Changing --region to --location"
11 years ago
Clint 455d57a87f Merge pull request #2187 from mitchellh/f-aws-add-prevalidate-step
11 years ago
Clint Shryock 68040f786c show AMI id in error message
11 years ago
Clint Shryock 231f01cd35 builder/aws: Add pre validate step, to validate things before building.
11 years ago
Mitchell Hashimoto 984bbc3a1e amazon/common: wording nit
11 years ago
Mitchell Hashimoto 8aec42e363 update CHANGELOG
11 years ago
Mitchell Hashimoto 9387cc1ea1 Merge pull request #2175 from henrysher/fix-duplicate-ami
11 years ago
Mitchell Hashimoto f7e49d92ac Merge pull request #2178 from henrysher/fix-ami-copy-name
11 years ago
Mitchell Hashimoto 769b7d20b9 amazon/ebs: acceptance test for region copy
11 years ago
Henry Huang 052b5e6699 "Name" parameter required for copying ami across regions [GH-2172]
11 years ago
Henry Huang a5c476c6fe check the region before do the ami copy to fix [GH-2123]
11 years ago
Seth Vargo 33ca8b7fb5 Migrate to new AWS repo
11 years ago
Mitchell Hashimoto edf3415c6e builder/amazon: delete physical private key for debug mode [GH-1801]
11 years ago
Mitchell Hashimoto 913d6f6996 builder/amazon/common: fix compilation issues with latest libs
11 years ago
Mitchell Hashimoto 07734133a3 builder/amazon: fix test failures
11 years ago
Mitchell Hashimoto 8cac7e8d51 Merge pull request #1930 from bhourigan/issue1929
11 years ago
Mitchell Hashimoto 3031886aaf Merge branch 'master' of https://github.com/aocsolutions/packer into aocsolutions-master
11 years ago
Mitchell Hashimoto 11e2fad6d0 Merge pull request #2022 from mefellows/issue/2021
11 years ago
Mitchell Hashimoto b78b119a11 amazon/*: fix merge issues with lib switch
11 years ago
Mitchell Hashimoto 44b980e659 Merge branch 'aws-sdk-go' of https://github.com/jen20/packer into jen20-aws-sdk-go
11 years ago
Mitchell Hashimoto b9bfae8da3 amazon/chroot: style
11 years ago
Mitchell Hashimoto 20fa7aeeb6 Merge pull request #2046 from danschaffer/amazonchroot-volumes-retry-fix
11 years ago
jszwedko b1497b951c code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh
11 years ago
Mitchell Hashimoto c78c4e78ad amazon/common: sleep 3 seconds if instance doesn't exist
11 years ago
Mitchell Hashimoto f78d7eefdc Merge pull request #2129 from lokulin/master
11 years ago
Mitchell Hashimoto 034e4e676c amazon/*: use new interpolation functions
11 years ago
Mitchell Hashimoto 50d7c598e9 amazon/ebs: use new interpolation stuff
11 years ago
Mitchell Hashimoto fea8bb3566 amazon/ebs: basic acceptance test
11 years ago
lokulin bda4ef7c65 Retry the AWS API when looking for a newly created instance
11 years ago
Mitch Garnaat fd5f4c61ae Added a call to grep for path in /proc/mounts before attempting to umount. If path is not there, it is already unmounted.
11 years ago
Dan Schaffer 03436a3745 builder/amazon/chroot: fix no attachments on volume error.
11 years ago
James Nugent 65a9347b1e Fix potential nil pointer errors in ported code
11 years ago
James Nugent 33b4f5cc0a Check for EBS being nil before assigning it
11 years ago
James Nugent e99cd56b6c Migrate from mitchellh/goamz to awslabs/aws-sdk-go
11 years ago
Matt Fellows a973dce7d3 Report error code during Temporary Security Group creation (#2021)
11 years ago
Brian Hourigan a4cfd921f4 Adding missing hyphen to sudo options
11 years ago
Nevins Bartolomeo 6686b62347 AWS availability zone could be incorrect when using spot instances with no AZ specified
11 years ago
renat-sabitov-sirca d046e1cc5b Fixing transient AWS errors during EBS builds
11 years ago
Ash Caire 361e859556 Add EBS snapshot tags
11 years ago
Colin Hebert a08725f7c5 Add auto discovery of AZ based on the subnet
11 years ago
Emil Hessman 505f51ff27 builder/amazon/ebs: fix incorrect printf verb type
11 years ago
Emil Hessman 05c2206684 builder/amazon/common: fix incorrect printf verb type in amiRegionCopy
11 years ago
Brian Hourigan f40fd36c31 Changing --region to --location
11 years ago
Brian Hourigan 8e69403735 Prepending -i to sudo so PATH is inherited from profile.d scripts related to ec2 tooling
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C] 43f08b2664 go fmt all the things
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C] 62e054c404 simplify output
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C] 9d097f9d4e Permit Temp keys and named SSH keypairs
11 years ago
Lesko, Matthew (NIH/NLM/NCBI) [C] 8c87b1cc00 First attempt for re-using a named EC2 keypair
11 years ago
Mitchell Hashimoto 2dfc5d3e71 builder/amazon: inject special metadata for atlas artifacts
12 years ago
Armon Dadgar 20d040dcba Merge pull request #1723 from irgeek/fix-1637
12 years ago
James Sinclair 02ebef9031 Use an index loop as range loops over copies, not references
12 years ago
Greg Cockburn dbaf865e59 change ordering of ssh connection IP for amazon. fixes #1559
12 years ago
Mitchell Hashimoto 0db6cd3533 Merge pull request #1330 from qur/qemu-vagrant
12 years ago
Mitchell Hashimoto e422a45449 fmt
12 years ago
Mitchell Hashimoto 716d4719dc Merge pull request #1622 from delitescere/GH-1533-aws-timeout
12 years ago
Mitchell Hashimoto 4406c20af1 builder/amazon: prefer token in config [GH-1544]
12 years ago
Josh Graham 5a2c4fe8a0 builder/amazon: Extend timeout and allow user override [GH-1533]
12 years ago
Mitchell Hashimoto 010cdb2057 amazon/common: style
12 years ago
Matt Page 6fb2586fb2 fix: Ignore transient network errors when fetching AWS state.
12 years ago
Julian Phillips 90a57c411f Expand Artifact API to expose build state
12 years ago
Mitchell Hashimoto 75395af12d Merge branch '1064-fix-upload-file-permissions' of github.com:rasa/packer into rasa-1064-fix-upload-file-permissions
12 years ago
Mitchell Hashimoto dc0de7da49 builder/amazon-ebs: don't clean up AMI if doesn't exist [GH-1469]
12 years ago
Mitchell Hashimoto db90c16118 builder/amazon: support auto spot price discovery [GH-1465]
12 years ago
Mitchell Hashimoto a587bd47a1 builder/amazon/ebs: clean up AMI in error [GH-1186]
12 years ago
Mitchell Hashimoto 669f26a108 Merge pull request #1186 from henrysher/ami-cleanup
12 years ago
Mitchell Hashimoto 7d1db44ca4 builder/amazon: clean up UI output for spot instances a bit
12 years ago
Mitchell Hashimoto 2e5f3da5c1 builder/amazon: fix {{uuid}} default not being replaced
12 years ago
Mitchell Hashimoto 3a69b8c1b8 Merge branch 'add-spot-instance-support' of github.com:henrysher/packer into henrysher-add-spot-instance-support
12 years ago
Mitchell Hashimoto c9cc82d89e builder/amazon-chroot: add description with time created snapshot
12 years ago
Mitchell Hashimoto 5db91c84bf builder/amazon: string fields on device mappings can use variables
12 years ago
Mitchell Hashimoto ed377c9ff0 builder/amazon-instance: --no-filter by default [GH-1137]
12 years ago
Mitchell Hashimoto 0776d9de34 builder/amazon: ssh_private_ip [GH-1229]
12 years ago
Mitchell Hashimoto bac54a6645 builder/amazon/common: token [GH-1236]
12 years ago
Mitchell Hashimoto 69cd01bbe2 builder/amazon/common: wait for instance ready before tagging [GH-1367]
12 years ago
Mitchell Hashimoto 77bd024079 builder/*: fix flaky tests, get tests passing
12 years ago
Mitchell Hashimoto dc74c2bbdd builder/amazon: tests
12 years ago
Mitchell Hashimoto 2a9cb50b17 builder/amazon: fix broken build
12 years ago
Mitchell Hashimoto 825864a9ea Merge branch 'additional-user-variables' of github.com:nBerg/packer into nBerg-additional-user-variables
12 years ago
Mitchell Hashimoto 752162c234 fmt
12 years ago
Mitchell Hashimoto 5d1c1e6716 Merge pull request #1373 from anthonybishopric/debug_bundle_commands
12 years ago
Mitchell Hashimoto e8889e56ed Merge pull request #1381 from pas256/chroot-hvm
12 years ago
Mitchell Hashimoto dac078b451 Merge pull request #1360 from jmassara/ee_fix
12 years ago
Mitchell Hashimoto 704648896e Merge pull request #1425 from dysinger/1424-amazon-instance-s3-region-not-url
12 years ago
Ulf Mansson bebca3bfae It's not necessary to use an instance-store image to build an instance-store image, see this example http://sorcery.smugmug.com/2014/01/29/instance-store-hvm-amis-for-amazon-ec2/ so there should be no restriction on the ExpectedRootDevice
12 years ago
Tim Dysinger c79121617c Use Region not S3Endpoint
12 years ago
Peter Sankauskas ab9f0bc3c8 Removing my debugging output
12 years ago
Peter Sankauskas a2c0b104f0 Adding the conditional necessary to construct the right options for both PV and HVM images. Also adding a test to make sure it is doing the right thing
12 years ago
Peter Sankauskas 460e2da248 The mount command for a PV image that is attached to /dev/sdf is:
12 years ago
Peter Sankauskas 6b751cac39 Formatting
12 years ago
Peter Sankauskas a59ee93bca To be able to build both PV and HVM images, it is not possible to use both /dev/sd[f-p] and [1-16] as the HVM images get attached at /dev/sdf but must be mounted a /dev/sdf1.
12 years ago
abishopric d62edd6c05 Print the evaluated bundle commands
12 years ago
Henry Huang 97eb744c87 De-register the unavailable image in the cleanup
12 years ago
James Massara ca84e2ac55 Fix bug with getting ec2 connection instead of source image
12 years ago
Mitchell Hashimoto 7439baf75e Merge pull request #1343 from fnoeding/templating
12 years ago
Mitchell Hashimoto 8250755a23 Merge pull request #1228 from jmassara/enhanced_networking
12 years ago
Florian Noeding e932ec6978 amazon builders now handle templating of user_data and user_data_file
12 years ago
Nina Berg bd1a0d07fb Added some variables to amazon-ebs builder and chef-client provisioner
12 years ago
Ian Delahorne 2d1e1cc83e Sort AMI names in Artifact.String - fixes random test failures
12 years ago
James Massara be27ecc64b Add option to enable enhanced networking (SriovNetSupport) for images.
12 years ago
Brandon Turner b2258dc4e9
Fix chroot builder to work with chef-solo
12 years ago
Henry Huang da29d684a8 Enable the spot_price in "amazon-instance-store" AMI
12 years ago
Henry Huang 3980c7dcfd Save the spot request before waiting for its active state
12 years ago
Henry Huang 1e1fa3de26 Add the cleanup for existing spot request
12 years ago
Henry Huang 5d410bddc9 When unexpected state found in waiting, notify the caller func with a correct error message
12 years ago
Henry Huang 3a74c469e5 Add "spot_price" param into template processing
12 years ago
Henry Huang a411405628 Clean up code via "go fmt"
12 years ago
Henry Huang c33e7cc867 Add the support of launching spot instances in "amazon-ebs" AMI
12 years ago
Greg Burek 3a45712780 Adds support for encrypted EBS volumes
12 years ago
Henry Huang 43385a58bc Refine the comments
12 years ago
Henry Huang e8c09ae223 Add the cleanup when the process of EBS AMI interrupted
12 years ago
Pierre Riteau 5294e0ed61 Remove unused file
12 years ago
Ross Smith II d92179847d provisioner/file: set file/directory permissions
12 years ago
Jaime Soriano Pastor 32bb745734 Force LANG=C before appending rest of environment, as only first occurence is used
12 years ago
Nathan Hartwell be5adb92b5 Appending wildcard to src causes problems
12 years ago
Mitchell Hashimoto 0417ae3059 builder/amazon: alphabetize some things
12 years ago
Mitchell Hashimoto 0558d56bcf builder/amazon/chroot: get tests psasing on Windows
12 years ago
Mitchell Hashimoto e84e5e4f2c Merge branch 'update-ssh-package' of github.com:higebu/packer into higebu-update-ssh-package
12 years ago
Ross Smith II e38ff2f84e Merge pull request #1021 from laggyluke/master
12 years ago
Ross Smith II ef1898083a Merge pull request #971 from fnoeding/amazon-sshkey
12 years ago
higebu f087ce16dc Fix the build problem by updating ssh package
12 years ago
Ross Smith II 27491f93f8 use old ssh code until higebu's branch is ready, see #1019
12 years ago
George Miroshnykov fc6e8c0830 builder/amazon: configurable virtualization type
12 years ago
Florian Noeding 6371b70609 optionally use existing ssh key for amazon builders
12 years ago
Nathan Sullivan e44fb1bd2a increase SSH timeouts for Amazon builders, they can take a while to spin up at times
12 years ago
Alan Grosskurth af89b31a40 builder/amazon: Fix S3 endpoint URL for instance-store builds
12 years ago
Ross Timson 58444627c1 Use --url flag rather than --location for ec2-upload-bundle
12 years ago
Mitchell Hashimoto 5c7e7daac9 comments
12 years ago
Mitchell Hashimoto 8204944c0e builder/amazon: handle cases when amazon SG isn't available [GH-494]
12 years ago
Mitchell Hashimoto 8aabe01bad builder/amazon/common: run_tags to apply to launch [GH-722]
12 years ago
Mitchell Hashimoto 8e4ce2c591 builder/amazon: alphabetize
13 years ago
Mitchell Hashimoto 4a2793445f builder/amazon/chroot: mount in device-specific places
13 years ago
Mitchell Hashimoto ae7459718d builder/amazon/instance: use US if region us-east-1 for upload [GH-729]
13 years ago
Mitchell Hashimoto b95ad0c232 builder/amazon/all: launched instances have a name [GH-642]
13 years ago
Mitchell Hashimoto 1234e61cda builder/amazon/all: get rid of unnecessary field
13 years ago
Mitchell Hashimoto 5e0da21173 builder/amazon/ebs: nicer output
13 years ago
Mitchell Hashimoto 4677f38882 builder/amazon: parallelize AMI region copies [GH-495]
13 years ago
Mitchell Hashimoto f7b1c2dbc6 builder/amazon/instance: add location to upload command [GH-679]
13 years ago
Mitchell Hashimoto 2110edb690 builder/amazon/chroot: remove unused import
13 years ago
Mitchell Hashimoto 2dad0cdca7 builder/amazon/chroot: block when obtaining lock [GH-689]
13 years ago