17485 Commits

Author SHA1 Message Date
Rickard von Essen
4ce3b8712a
Replace unencrypted EBS snapshots with encrypted
To ensure that groups and users attributes are added to the encrypted
snapshots.
2016-12-06 03:31:09 +01:00
Rickard von Essen
2c95fbab47 Merge pull request #4253 from gsaslis/patch-1
Fix typo
2016-12-05 21:40:00 +01:00
Yorgos Saslis
069592f489 Fix typo
chef-cilent => chef-client
2016-12-05 16:31:36 +02:00
Brian Ruff
038787ed48 Refactored to gather scan codes into groups to be sent to VirtualBox's console. 2016-12-04 11:28:18 -07:00
Rickard von Essen
c3a352955e amazon: Added snapshot_users and snapshot_groups 2016-12-04 16:03:01 +01:00
Ari Aviran
46f217f255 amazon - Snapshot permissions correctly applied
Fixes #3344
2016-12-04 16:03:01 +01:00
Rickard von Essen
d91b65b0e2 Update CHANGELOG.md 2016-12-04 16:01:01 +01:00
Rickard von Essen
cd2f58c79e Merge pull request #4023 from MYOB-Technology/support-kms-cmk
Added KMS CMK support to EBS builder
2016-12-04 15:58:27 +01:00
Rickard von Essen
d7a7d8c852
It's not possible to share encrypted AMI's 2016-12-04 15:52:23 +01:00
Rickard von Essen
74840e29c3 Updated CHANGELOG.md 2016-12-03 09:54:42 +01:00
Rickard von Essen
fbf0515fbc Merge pull request #4244 from pdecat/master
Saltstack bootstrapping: fallback on wget if curl failed for any reason
2016-12-03 09:45:44 +01:00
Troy Toman
12f279fa79 add ability to set a different project-id for a network in the googlecloud builder 2016-12-02 15:22:36 -06:00
poida
8b13b75097 Updated documentation and error messages
The docs for kms_key_id needed to be next to encrypt_boot.

Shortened some of the kms_key_id error messages.
2016-12-03 07:49:54 +11:00
poida
7ea17e1630 Allow custom encrypted AMIs to be shared
When using a custom KMS key to encrypt the boot volume of an AMI, packer should allow it to be shared with other users.
2016-12-03 07:49:54 +11:00
poida
3eed6fd508 Added KMS CMK support to EBS builder
Added the 'kms_key_id' parameter. This supports supplying a customer master key (CMK) when encrypting the EBS volume.

The parameter is optional and only takes effect when 'encrypted' is true. When 'encrypted' is true but 'kms_key_id' is missing the 'aws/ebs' key will be used.
2016-12-03 07:49:34 +11:00
Patrick Decat
5dd7fb11f4 Saltstack bootstrapping: fallback on wget if curl failed for any reason (such as not being installed) 2016-12-02 20:02:22 +01:00
Rickard von Essen
df7c376e77 Merge pull request #4239 from rickard-von-essen/fix-4238
builder/amazon: crash on tagging snapshot when snapshot_tags is unset
2016-12-01 21:00:57 +01:00
Matthew Hooker
6c6b38af79
don't need explicit span 2016-12-01 11:45:26 -08:00
Rickard von Essen
8d2ceea5f1 builder/amazon: crash on tagging snapshot when snapshot_tags is unset
Closes #4238
2016-12-01 20:43:15 +01:00
Rickard von Essen
c2512d232a Merge pull request #4233 from ankon/pr/docker-ref-ecr
Point to the ECR section for more information on `ecr_login`
2016-12-01 18:51:41 +01:00
Rickard von Essen
95c0113a23 Merge pull request #4234 from ankon/pr/docker-ref-dockerfiles
Fix the reference to the "Dockerfiles" section
2016-12-01 18:50:39 +01:00
Rickard von Essen
3294a2fc0c Updated CHANGELOG.md 2016-12-01 18:49:41 +01:00
Rickard von Essen
c649fdbffd Merge pull request #4235 from rickard-von-essen/fix-4232
amazon: Fix source_ami_filter ignores owners
2016-12-01 18:48:33 +01:00
Rickard von Essen
bcc7f455b3 amazon: Fix source_ami_filter ignores owners 2016-12-01 14:29:31 +01:00
Andreas Kohn
f3e96c5c0a
Point to the ECR section for more information on ecr_login
Fixes #4218
2016-12-01 10:52:33 +01:00
Andreas Kohn
68e5baa74c
Fix the reference to the "Dockerfiles" section 2016-12-01 10:48:19 +01:00
Arthur Burkart
576f6f1b39 Fixes acceptance test
The original acceptance test required a manual check. This one does
not.
2016-11-30 22:58:19 -05:00
Matthew Hooker
4e1e2c18d5
update changelog 2016-11-30 13:36:07 -08:00
Matthew Hooker
832de2104b
Revert "Merge pull request #4230 from mitchellh/revert-4223-closes_3320"
This reverts commit bda89b0c42deb186f18a68931c001afbe406dffb, reversing
changes made to f9f9d8241967bfde493529ad0b9b42f3e422fd51.
2016-11-30 13:28:34 -08:00
Matthew Hooker
bda89b0c42 Merge pull request #4230 from mitchellh/revert-4223-closes_3320
Revert "Adds `force_delete_snapshot` flag"
2016-11-30 13:10:30 -08:00
Matthew Hooker
f5c3c25d2b Revert "Adds force_delete_snapshot flag" 2016-11-30 13:10:22 -08:00
Matthew Hooker
f9f9d82419 Merge pull request #4223 from artburkart/closes_3320
Adds `force_delete_snapshot` flag
2016-11-30 12:53:34 -08:00
Matthew Hooker
799f6c2cb1
update changelog 2016-11-30 12:02:50 -08:00
Matthew Hooker
234e0b1177 Merge pull request #4222 from rickard-von-essen/aws-agent-fix
builder/amazon: Fix SSH Agent
2016-11-30 12:01:32 -08:00
Rickard von Essen
adc7cf1c90 Merge pull request #4226 from rickard-von-essen/amz-doc-fix
Fixed formatting of source_ami_filter example
2016-11-30 12:35:13 +01:00
Rickard von Essen
d8ef6d1977 Fixed formatting of source_ami_filter example 2016-11-30 12:32:46 +01:00
Arthur Burkart
5b59f56cdb Adds force_delete_snapshot flag
This PR adds the ability for Packer to clean up snapshots in addition to
deregistering AMIs at build time.

To test this, I used the following `test.json` file:

```json
{
  "builders": [
    {
      "type": "amazon-ebs",
      "region": "us-east-1",
      "source_ami": "ami-fce3c696",
      "ami_name": "packer-test",
      "instance_type": "m3.medium",
      "ssh_username": "ubuntu",
      "vpc_id": "some-vpc-id",
      "subnet_id": "some-subnet-routed-through-igw",
      "security_group_id": "some-security-group-with-port-22-access",
      "force_delete_snapshot": true
    }
  ],
  "provisioners": [
    {
      "type": "shell-local",
      "command": "echo 'hello'"
    }
  ]
}

```

I appreciate any constructive feedbakc that can be given. Cheers!
2016-11-29 23:39:36 -05:00
Rickard von Essen
99ee610afa
builder/amazon: Fix SSH Agent
Closes #4220
2016-11-29 22:33:53 +01:00
Vasiliy Tolstov
00ebe9e1d3 various fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-11-29 14:55:44 +03:00
Zanetti, David
a0e179b556 Description on imported AMIs is not actually empty, it's set by AMI importer 2016-11-29 16:58:14 +13:00
Zanetti, David
c22b97dd43 Support setting AMI attributes when using amazon-import post-processor
- ami_user and ami_group for launch permissions
- ami_description to set the description attribute

Closes #3981
2016-11-29 16:54:02 +13:00
Matthew Hooker
e45dd0b394
update changelog 2016-11-28 18:50:57 -08:00
Matthew Hooker
6c546d4d1f Merge pull request #3982 from artburkart/close_1195
Support remote ova downloads
2016-11-28 18:49:50 -08:00
Matthew Hooker
2d5d598529 Update virtualbox-iso.html.md 2016-11-28 16:00:06 -08:00
Matthew Hooker
be4086f5fc
update changelog 2016-11-28 15:50:59 -08:00
Matthew Hooker
aedf4ca465 Merge pull request #4141 from mitchellh/ebsvoluemartifact
add ebsvolume artifact
2016-11-28 15:50:03 -08:00
Matthew Hooker
50267572a4
add ebsvolume artifact 2016-11-28 15:26:09 -08:00
Matthew Hooker
c281ba7709 Merge pull request #4061 from artburkart/closes_2549
Adds add'l docs regarding delete_on_termination
2016-11-28 12:42:43 -08:00
Matthew Hooker
cd6b70a2b3 Update amazon-chroot.html.md 2016-11-28 12:41:22 -08:00
Arthur Burkart
1a0dc767f3 Rolls back partials work, but still consolidates
Since the packer website isn't yet ready to use middleman partials,
this commit rolls back the partials in favor of bringing parity to
each amazon docs page
2016-11-28 15:08:39 -05:00