Commit Graph

198 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
Matthew Hooker 48bdae93d1 aws-sdk: use session.NewSession
10 years ago
Matthew Hooker d920b3fbf4 run gofmt
10 years ago
Chris Lundquist ab3500b45c [dynamic-source-ami] support chroot builder
10 years ago
Rickard von Essen 13c9db5dd5 Merge pull request #3885 from orivej/on-error
10 years ago
Jeremy Asher aea05f6485 fix nil pointer dereference in amazon-chroot
10 years ago
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
10 years ago
Jeremy Asher 1c392b23f9 generate warnings for unused options with from_scratch
10 years ago
Jeremy Asher ef0c7543e1 add amazon-chroot post mount commands
10 years ago
Jeremy Asher 5e8b697a76 add from_scratch option to amazon-chroot builder
10 years ago
Vasiliy Tolstov feee19e4ed file provisioner improvements
10 years ago
Chris Bednarski 4490826a17 Merge pull request #3040 from kimor79/3011
10 years ago
Kimo Rosenbaum 09543fc4e7 Add mount_partition to amazon-chroot builder to specify a partition other than 1
10 years ago
Yuya YAGUCHI 9c8405b2c6 Add AMI Product Codes modification for amazon-ebs & amazon-chroot
11 years ago
Luke Amdor 8682dec178 aws: build after upstream breaking change
11 years ago
Mark Peek 45829c30e5 builder/amazon/*: fix go vet
11 years ago
Chris Bednarski 1a775c05d9 Update calls to amazon to match the upstream
11 years ago
Chris Bednarski 28bf1877c2 Updated AWS SDK calls to match the 0.7.0 release of the AWS SDK
11 years ago
Clint Shryock 3a54e6899d code cleanup
11 years ago
Clint Shryock 29cef0eae4 builder/amazon-chroot: add mount_options configuration option
11 years ago
Clint 3884555007 Merge pull request #2289 from mitchellh/b-amazon-chroot-fixes
11 years ago
Clint Shryock 5d2ea088a2 builder/amazon-chroot: add root_volume_size to resize chroot root volume
11 years ago
Clint Shryock 8a9a59c3ca check if newDevice.EBS is nil
11 years ago
Clint Shryock 9f8b0041f0 builder/amazon-chroot: use source image virtualization type, unless specified
11 years ago
Clint Shryock f374edc2b8 builder/amazon-chroot: Fixes for amazon-chroot builder
11 years ago
Mitchell Hashimoto 5db4d7c01f fmt
11 years ago
Mitchell Hashimoto 84189f7a28 builder/*: properly save interpolation context
11 years ago
Mitchell Hashimoto 4da0b42fc1 Merge pull request #2054 from garnaat/amazon-chroot-check-before-umount
11 years ago
Clint Shryock bec59b535d builder/amazon: Add force_deregister option, to automatically deregister artifacts with name conflicts
11 years ago
Henry Huang 052b5e6699 "Name" parameter required for copying ami across regions [GH-2172]
11 years ago
Seth Vargo 33ca8b7fb5 Migrate to new AWS repo
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
Mitchell Hashimoto 034e4e676c amazon/*: use new interpolation functions
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 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
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 c9cc82d89e builder/amazon-chroot: add description with time created snapshot
12 years ago
Mitchell Hashimoto 752162c234 fmt
12 years ago
Mitchell Hashimoto e8889e56ed Merge pull request #1381 from pas256/chroot-hvm
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
James Massara ca84e2ac55 Fix bug with getting ec2 connection instead of source image
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
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 0558d56bcf builder/amazon/chroot: get tests psasing on Windows
12 years ago
Mitchell Hashimoto 4a2793445f builder/amazon/chroot: mount in device-specific places
12 years ago
Mitchell Hashimoto 1234e61cda builder/amazon/all: get rid of unnecessary field
12 years ago
Mitchell Hashimoto 2110edb690 builder/amazon/chroot: remove unused import
12 years ago
Mitchell Hashimoto 2dad0cdca7 builder/amazon/chroot: block when obtaining lock [GH-689]
12 years ago
Mitchell Hashimoto 5d420ce1c1 Revert "Merge pull request #663 from ktruong7/public-AMI"
12 years ago
ktruong7 3589b0ba27 Added option to make ami public automatically
13 years ago
Mitchell Hashimoto cc13e6690c builder/amazon/chroot: don't choose partition mount point if taken
13 years ago
Mitchell Hashimoto 3adbd09639 builder/amazon/chroot: fix compile error
13 years ago
Mitchell Hashimoto 3780b57a1f builder/amazon/chroot: allow no such file errors on upload [GH-588]
13 years ago
Mitchell Hashimoto 17f1ee3e98 builder/amazon/chroot: quote commands and pass through a shell [GH-581]
13 years ago
Mitchell Hashimoto 3cd7379d1f builder/amazon/*: warnings
13 years ago
Mitchell Hashimoto 7f639d89b6 builder/amazon/*,builder/openstack: properly scrub sensitive [GH-554]
13 years ago
Matthew Hooker 79ac16c3d7 builder/amazon/chroot:
13 years ago
Matthew Hooker 5315b19822 common/config: config filter function [GH-521]
13 years ago
Matthew Hooker 5c41eccfd5 Fix the way we run commands in chroot.
13 years ago
Mitchell Hashimoto 38d3411f80 builder/amazon/chroot: remove unused comment
13 years ago
Mitchell Hashimoto b554a0dd86 builder/amazon/chroot: CommandWrapper
13 years ago
Mitchell Hashimoto 535888d9d8 builder/amazon/chroot: alphebatize the configs
13 years ago
Matthew Hooker 5f19648268 comment, formatting.
13 years ago
Matthew Hooker a15f629f4f WIP copying files.
13 years ago
Matthew Hooker 831d5caa50 move wrapper definitions around.
13 years ago
Matthew Hooker 39c3051a95 building but there's an exec error.
13 years ago
Matthew Hooker d2f9ba0d11 fixing up types.
13 years ago
Matthew Hooker ac496a63dc replace command config with wrapper command.
13 years ago
Matthew Hooker cebbcc51a6 fix chroot Upload command.
13 years ago
Matthew Hooker de83755c00 wip
13 years ago
Matthew Hooker c15bb28491 bugfixes, wip
13 years ago
Matthew Hooker 1104ad3e17 get chroot command from proper place.
13 years ago
Matthew Hooker 6b1a7938d8 Merge remote-tracking branch 'origin/master' into 430
13 years ago
Matthew Hooker ee60ed319b We're not using this log package.
13 years ago
Matthew Hooker e1dadfc57a Unit tests.
13 years ago
Matthew Hooker 23a331fc00 bugfix.
13 years ago
Matthew Hooker 7740c8fed5 using blocking cp method.
13 years ago
Matthew Hooker 5e9ff92ff3 Revert "notes/reorg."
13 years ago
Matthew Hooker ce3725efec wip
13 years ago
Matthew Hooker 7fa238503b wip
13 years ago
Matthew Hooker dd356d33d8 notes/reorg.
13 years ago
Matthew Hooker 5086ff1a4e pass chroot command to /bin/sh
13 years ago
Bob Potter af477a59df Update builder-amazon-chroot to work with WaitForState changes in 7c56148f
13 years ago
Matthew Hooker 1befba24ed Allow user to override chroot command.
13 years ago
Mitchell Hashimoto 27608a7b0f builder/amazon/*: use WaitForState for AMIs
13 years ago
Mark Peek f941718c3e builder/amazon: add clean_ami_name template function
13 years ago
James Massara 5bca569fa4 builder/amazon: Re-ordered steps for AMI region copying so tags and
13 years ago
Mitchell Hashimoto 80ed7eddf4 builder/amazon/chroot: new multistep API
13 years ago
Mitchell Hashimoto d857c9ccbb builder/amazon/chroot: implement UploadDir for chroot communicator
13 years ago
Mitchell Hashimoto 251abc3496 builder/amazon: modify attributes before region copy
13 years ago