1267 Commits

Author SHA1 Message Date
Mikhail Zholobov
57d07f227a
Add "iso_target_extension" option for all local *-iso builders
This option allows to set the extension of the ISO file after download.
Defaults to "iso". It makes sense for building Mac OS X guests, where the
bootable image is actually a DMG, not an ISO.
In particular, it is important for "parallels-iso" builder to set the right extension.
2016-12-17 12:50:30 +02:00
Matthew Hooker
40ec40410f
add new builders to layout 2016-12-15 14:23:16 -08:00
Matthew Hooker
c61c7765ec Merge pull request #4288 from troytoman/gce-network-uri
enable support for Google Compute XPN
2016-12-15 12:03:46 -08:00
Matthew Hooker
88841cb0e4 Merge pull request #4283 from mitchellh/openstackhacks
builder/openstack: Add image visibility & members
2016-12-14 16:13:21 -08:00
Matthew Hooker
9c863cb081
update docs 2016-12-14 16:00:29 -08:00
Rickard von Essen
d3c2239b9e
builder/amazon: Change shutdown_behaviour to shutdown_behavior 2016-12-14 21:59:16 +01:00
Matthew Hooker
d0a3e956a8
docs to get ubuntu building correctly 2016-12-12 18:34:15 -08:00
Taliesin Sisson
143ac300bf headless is no longer used 2016-12-12 22:45:21 +00:00
Taliesin Sisson
24e9810c23 guest_os_type is no longer used 2016-12-12 22:45:21 +00:00
Taliesin Sisson
602c207f60 Make it clear iso is downloaded 2016-12-12 22:45:20 +00:00
Taliesin Sisson
7add6d3470 Add missing configuration elements.
Remove configuration elements that are no longer used.
2016-12-12 22:45:15 +00:00
Taliesin Sisson
3c1df5a791 Remove inconsistent "_mb" from ram size 2016-12-12 22:45:14 +00:00
Taliesin Sisson
55353fae89 Fix spelling mistake
Fix code type for formatting
Remove empty space
2016-12-12 22:45:09 +00:00
Taliesin Sisson
ffc7f3f3dc Address documentation layout and copy issues 2016-12-12 22:45:08 +00:00
Taliesin Sisson
c2d1f6b617 Added the ability to independently configure switch vlan. This will people to leave the switch in trunk mode and set a vlan for the vm. 2016-12-12 22:45:06 +00:00
Taliesin Sisson
b8554dad7d Add documentation for: enable_mac_spoofing, enable_dynamic_memory and enable_virtualization_extensions 2016-12-12 22:45:05 +00:00
Taliesin Sisson
9c53df1e0e Add special key modifiers to log output when used.
Update documentation to include new key modifiers.
2016-12-12 22:44:59 +00:00
Taliesin Sisson
8e18baf493 Use plain text password 2016-12-12 22:44:16 +00:00
Matthew Hooker
c510988cbf Merge pull request #4209 from bhcleek/ansible-winrm
provisioner/ansible: assume scp target is file (resolves winrm incompatibility)
2016-12-08 22:37:41 -08:00
Matthew Hooker
d3ddd99721 Merge pull request #4163 from StackPointCloud/packer-builder-oneandone
Packer Builder 1&1
2016-12-08 14:07:35 -08:00
Matthew Hooker
9e71730c38
Document changes to shell-local post-processor 2016-12-08 12:37:38 -08:00
Vasiliy Tolstov
332a208fee
post-processor/shell-local: run only once for each builder
don't run post-processor for each artifact file, but only for
each builder to be consistent with other post-processors

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2016-12-07 20:54:55 -08:00
Kerim Satirli
0fe41a29a0 updates quoting for amazon-ebs-volume.html.md 2016-12-07 09:31:09 +01:00
Kerim Satirli
73a50ff91f updates quoting for amazon-instance.html.md 2016-12-07 09:29:45 +01:00
Kerim Satirli
a31da3fb07 updates quoting for amazon-import.html.md 2016-12-07 09:27:46 +01:00
Kerim Satirli
74ed95511c highlights possible values instead of quoting them
Hello!

I updated a few values in this page to be highlighted instead of "quoted". I think this is in line with other values already existing on this page and should make the whole more consistent.

Happy to discuss if this needs changes!

This is a clean(er) version of PR 4255
2016-12-06 21:54:16 +01:00
Rickard von Essen
45bf1457db Added note about kms_key_id 2016-12-06 10:35:58 +01:00
Rickard von Essen
56f2bfa5ff Merge pull request #4243 from rickard-von-essen/aws-snapshot-users-groups
WIP: amazon: Add snapshot_users and snapshot_groups
2016-12-06 10:24:07 +01:00
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
Yorgos Saslis
069592f489 Fix typo
chef-cilent => chef-client
2016-12-05 16:31:36 +02: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
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
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
Matthew Hooker
6c6b38af79
don't need explicit span 2016-12-01 11:45:26 -08: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
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
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
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
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
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
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
Arthur Burkart
5499c37080 Adds add'l docs regarding delete_on_termination
This PR adds documentation pointing out that volumes are not by
default deleted on termination of any AWS EC2 instance during a
packer build.
2016-11-28 15:07:48 -05:00
Arthur Burkart
337856811e Implements OVA downloads w/local checksum support
Presumably, it is convention to store a manifest file with checksums
inside the OVA, so remote checksum support was not implemented.
2016-11-28 15:01:37 -05:00