Commit Graph

7244 Commits

Author SHA1 Message Date
Matthew Hooker 9de8545875 Merge pull request #4604 from mitchellh/revert-4598-replace4035
Revert "Use SSH agent when enabled for bastion step"
2017-02-27 11:33:32 -08:00
Matthew Hooker aaba5286a6 Revert "Use SSH agent when enabled for bastion step" 2017-02-27 11:30:08 -08:00
Matthew Hooker 9c027aa70b Merge pull request #4601 from mitchellh/ebssurrogate-copy-ami
build/amazon-ebssurrogate: Add region copy, attributes, tags steps
2017-02-27 10:47:34 -08:00
Matthew Hooker c7b4e58ed4 Merge pull request #4600 from mitchellh/ebssurrogate-duplicate-root-volume
builder/amazon-ebssurrogate: Exclude duplicate root volume
2017-02-27 10:33:45 -08:00
James Nugent e856339309 build/amazon-ebssurrogate: Add region copy, attributes, tags steps
As pointed out in the initial code review of #4351, some of the steps
from the standard EBS builder were (intetionally) omitted. It turns out
that these actually are useful, and the original rationale for the
omission was wrong. Consequently, this commit adds in the following
steps:

- `StepPrevalidate`
- `StepTagEBSVolumes`
- `StepDeregisterAMI`
- `StepCreateEncryptedAMICopy`
- `StepAMIRegionCopy`
- `StepModifyAMIAttribute`
- `StepCreateTags`

We also fix the interpolation filter and documentation to reflect these
additions, though the majority were already documented and just not
functional.
2017-02-27 09:05:39 -06:00
James Nugent 1eec5bf058 builder/amazon-ebssurrogate: Exclude duplicate root volume
This commit removes the root volume from the list of launch block device
mappings passed to the image, since it is already passed in the form of
a snapshot (which is then configured to be the root device). Without
this commit, AMIs created using this builder have two root volumes
attached on launch.
2017-02-27 06:57:35 -06:00
Matthew Hooker cc6abb0fc7
update changelog 2017-02-26 19:34:23 -08:00
Matthew Hooker fd1b00a0d1
use aws helper method 2017-02-26 19:33:34 -08:00
Matthew Hooker 61976dfd86 Merge pull request #4578 from life360/enable_ena
Always set both SRIOV and ENA when Enhanced Networking is enabled
2017-02-26 19:31:22 -08:00
Matthew Hooker c1480931e2 Merge pull request #4525 from mitchellh/nocolorsay
don't show ui color if we're not colorized
2017-02-26 18:47:56 -08:00
Matthew Hooker 7035f12ce6 Merge pull request #4527 from mitchellh/forkcontrib
some tips on working on forks.
2017-02-26 18:46:59 -08:00
Matthew Hooker ed92055372 Merge pull request #4532 from mitchellh/vmipgetagain
builder/vmware: don't cache ip address so we know if it changes
2017-02-26 18:46:46 -08:00
Matthew Hooker 6894f93085 Merge pull request #4534 from mitchellh/chefclean
provisioner/chef-client: only upload knife config if we're cleaning
2017-02-26 18:46:15 -08:00
Matthew Hooker 1f2df5c174 Merge pull request #4536 from mitchellh/vmwareextraopts
builder/vmware: allow extra options for ovftool
2017-02-26 18:45:40 -08:00
Matthew Hooker 99091a1713 Merge pull request #4539 from mitchellh/ovftoolhidepassword
filter password in ovtool
2017-02-26 18:44:01 -08:00
Matthew Hooker 6628d4e004
update changelog 2017-02-26 18:07:13 -08:00
Matthew Hooker 5c3db7614f Merge pull request #4598 from mitchellh/replace4035
Use SSH agent when enabled for bastion step
2017-02-26 18:06:03 -08:00
Matthew Hooker 23aee04b29
fix vendor 2017-02-26 18:02:58 -08:00
David Campbell 6c7e3b70a9
- use xanzy/ssh-agent for windows compatibility 2017-02-26 18:01:45 -08:00
David Campbell b598baa5e3
Use SSH agent when enabled for bastion step 2017-02-26 17:59:42 -08:00
Matthew Hooker 16e1e488d4
update changelog 2017-02-26 17:56:23 -08:00
Matthew Hooker bbc6d402ce Merge pull request #4584 from mitchellh/chrootbootencrypt
builder/amazon-chroot: support encrypted boot volume
2017-02-26 17:55:31 -08:00
Matthew Hooker 1351a9ce1a
also document the kms field 2017-02-26 17:54:42 -08:00
Matthew Hooker 6b2d73c042
ebs surrogate does not support ebs encryption 2017-02-26 17:54:30 -08:00
Matthew Hooker 78fea60bce
document encrypt_boot option for chroot 2017-02-26 17:49:33 -08:00
Matthew Hooker 6a7c37beb6
builder/amazon-chroot: support encrypted boot volume 2017-02-26 17:48:13 -08:00
Matthew Hooker ed95c4b5c2
no tabs in changelog 2017-02-26 17:45:47 -08:00
Matthew Hooker 5dce066ca4
update changelog 2017-02-26 17:45:22 -08:00
Matthew Hooker f62d0abf4e Merge pull request #4560 from guessi/deprecated_option_tag
Conditional ignore `force` flag for `docker-tag`
2017-02-26 17:43:25 -08:00
Matthew Hooker 892c3cc259
update changelog 2017-02-26 17:41:44 -08:00
Matthew Hooker 390f018a7d Merge pull request #4597 from mitchellh/fix4452
fix ssh agent authentication
2017-02-26 17:39:34 -08:00
Matthew Hooker 2cb9b32acf
don't attempt to delete non-existant key when using agent auth 2017-02-26 17:38:22 -08:00
Matthew Hooker f95514c120
fix ssh agent authentication
treat key name to empty string if it's not been set
by prior step.
2017-02-26 17:17:49 -08:00
Aaron Stone 7f7909d6d4 Docs for Enhanced Networking enabling both SriovNetSupport and ENA 2017-02-25 07:16:47 -08:00
Aaron Stone 1cc3cdf7b5 Always set both SRIOV and ENA when Enhanced Networking is enabled
Set SriovNetSupport to "simple". As of February 2017, this applies to C3, C4,
D2, I2, R3, and M4 (excluding m4.16xlarge).

Set EnaSupport to true. As of February 2017, this applies to C5, I3, P2, R4,
X1, and m4.16xlarge.
2017-02-25 07:16:35 -08:00
Matthew Hooker 9c0526c078 Merge pull request #4594 from boumenot/pr-azure-examples
azure: Use a more long term image sku
2017-02-24 20:15:33 -08:00
Christopher Boumenot d64c68af60 azure: Use a more long term image sku
Move from 16.04.0-LTS to 16.04-LTS, which should track the latest LTS
changes better.

Move to a recommended VM size.
2017-02-24 10:56:18 -08:00
Matthew Hooker 701a357767 Merge pull request #4593 from grv87/patch-1
Escape quotes in JSON in `shell-local` example
2017-02-24 08:18:45 -08:00
Basil Peace eecaa8a722 Escape quotes in JSON in `shell-local` example 2017-02-24 19:16:26 +03:00
Rickard von Essen e947a95041 Updated CHANGELOG.md
And sorted!
2017-02-24 12:35:00 +01:00
Rickard von Essen 50f44cae16 Merge pull request #4590 from richardowen/patch-1
Change EC2 WindowsPasswordTimeout to 20 minutes
2017-02-24 12:31:47 +01:00
Richard Owen 33a4c2e13b Change EC2 WindowsPasswordTimeout to 20 minutes
10 minutes is often exceeded when using a custom source AMI
which has been sysprepped.
2017-02-24 11:08:17 +00:00
Matthew Hooker ddddb85cba Merge pull request #4588 from boumenot/pr-azure-docs
Update docs for deprovision and defaults
2017-02-23 10:58:54 -08:00
Christopher Boumenot 0c04b3a46a Update docs for deprovision and defaults
Change the Windows samples to include sysprep.

Document the default user name for Linux, and why it was chosen.

Document temp_compute_name and temp_resource_group_name, and provide a
reason why you would want to override them.

Document the deprovision process for Windows and Linux.

Document the skip_clean option as it pertains to Linux deprovision.
2017-02-23 10:43:12 -08:00
Matthew Hooker f1bcda2749
update changelog 2017-02-22 11:16:50 -08:00
Matthew Hooker c4008bc54b Merge pull request #4351 from jen20/ebs-surrogate-builder
amazon/ebssurrogate: Add New Builder
2017-02-22 10:48:18 -08:00
Rickard von Essen 636fc3dca2 Merge pull request #4579 from ksatirli/patch-2
typo fix `anisble` -> `ansible`
2017-02-22 09:15:06 +01:00
Kerim Satirli 5a41575b6d typo fix `anisble` -> `ansible` 2017-02-22 08:57:34 +01:00
James Nugent 635aeb765b amazon/ebssurrogate: Add New Builder
This commit adds a new type of builder which builds an AMI based on a
snapshot of an EBS volume which is provisioned on a "surrogate"
instance. This can be used to build operating system images from
scratch, but unlike the `chroot` builder does not require running from
an AWS EC2 instance.
2017-02-21 18:38:19 -06:00
Matthew Hooker 0d16df1427
clarify docs
closes #4208
2017-02-21 15:28:02 -08:00