chrisL
63cba2dc00
google compute builder documentation example code cleanup ( #8551 )
2020-01-27 15:53:17 +01:00
Zian Ke
dd5893ec23
Fix grammatical error ( #8643 )
2020-01-23 10:03:39 +01:00
Lei Tu
e4aca6298d
update website
2020-01-21 21:56:15 +09:00
Calle Pettersson
8e4c165173
Proxmox upload ISO
2020-01-17 22:17:28 +01:00
Sylvia Moss
fce24ca71d
Add extend packer build template engine docs ( #8615 )
2020-01-17 11:21:52 +01:00
Megan Marsh
83ecebbf37
add PACKER_PLUGIN_PATH for plugin discovery
2020-01-16 13:13:29 -08:00
Sylvia Moss
0677b02e18
Share SourceImageName with provisioners and manifest post-processor ( #8603 )
2020-01-16 12:04:03 +01:00
Megan Marsh
fac320d290
Merge pull request #8480 from hashicorp/merge-vsphere-builder
...
Merge the vSphere builder
2020-01-15 14:11:20 -08:00
Sylvia Moss
d6a351b173
Rename communicator config variables and remove deprecated code ( #8584 )
2020-01-09 08:37:30 -08:00
Sylvia Moss
baa203bb53
Adds acpi_shutdown to virtualbox builder ( #8587 )
2020-01-09 08:36:19 -08:00
Moss
6a2d73a0e9
Add missing doc variable description
2020-01-08 15:28:53 -08:00
Megan Marsh
49a33c04cd
Merge pull request #8511 from TJM/vsphere_template_markas
...
[post-processor/vsphere-template] Simplify method to use vm.MarkAsTemplate (optionally)
2020-01-08 09:41:43 -08:00
Shengyu Liu
c3c2622204
builder/tencentcloud: Correct the image name length validation, the max length of image name is 60 ( #8536 )
2020-01-08 12:05:37 +01:00
Megan Marsh
073eda76aa
remove extraneous files from when vsphere builder was a plugin, and move README into packer website as separated docs for vsphere-clone and vsphere-iso. Move option descriptions into struct code, and generate documentation directly from those structs as we do inside of the other builders
2020-01-07 16:59:31 -08:00
Megan Marsh
21edd085c7
Merge pull request #8560 from alexyueer/feature/support_aliyun_profile_20200103
...
support aliyun profile
2020-01-07 12:45:54 -08:00
Megan Marsh
af2c4346f8
Merge pull request #8561 from ata18/ata18-end-of-life
...
Set expiry for image versions in SIG
2020-01-07 09:53:14 -08:00
hairesis
bb71db6b39
docs/provisioners/ansible: Add playbook to basic example. ( #8508 )
2020-01-07 11:07:05 +01:00
Aishwarya Thangappa
9569d35d14
Set expiry for image versions in SIG
...
Updates azure builder to support setting end-of-life-date for
image versions in shared image gallery. In addition, this change adds
the ability to set the global replica count for the image version
and allows the vms deployed from the latest version of the Image
Definition to exclude this Image Version.
2020-01-06 22:58:26 -08:00
Tommy McNeely
e101676e29
Doc update for markAsTemplate
2020-01-06 15:55:01 -07:00
Megan Marsh
b7ee807cf1
Merge pull request #8571 from hashicorp/fix_8565
...
fix ssh interface docs for amazon builders
2020-01-06 14:34:40 -08:00
Megan Marsh
6655f93b59
fix typo and regenerate code
2020-01-06 14:12:29 -08:00
Megan Marsh
76251e5fd2
fix ssh interface docs for amazon builders
2020-01-06 12:01:30 -08:00
alexyueer
ec4a7b6af0
support aliyun profile
2020-01-03 12:17:34 +08:00
Trevor Pounds
47e48ebc24
Add source AMI owner ID/name to build template.
2019-12-30 14:04:49 -05:00
Megan Marsh
0649c3f7dc
update plugin configspec docs
2019-12-20 13:00:29 -08:00
Megan Marsh
61023f31fd
update to v1.5.1
2019-12-20 10:07:24 -08:00
Adrien Delorme
1b532fc816
link to guides in HCL docs ( #8526 )
2019-12-20 11:23:48 +01:00
dependabot[bot]
da8e215536
Bump rack from 1.6.11 to 1.6.12 in /website ( #8524 )
...
Bumps [rack](https://github.com/rack/rack ) from 1.6.11 to 1.6.12.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/1.6.11...1.6.12 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-12-20 10:50:47 +01:00
Megan Marsh
4059ed75f5
update docs to mention ssh auth sock env var ( #8523 )
...
Closes #8358
Add some docs to alleviate confusion.
2019-12-20 08:27:14 +01:00
zhuzhih2017
66445ecd2d
Merge pull request #8425 from haoshuwei/master
...
add show expired arg when describe image
2019-12-20 13:33:55 +08:00
haoshuwei
37dc411f30
add skip_image_validation arg to use an expired image as the soure image
...
Signed-off-by: haoshuwei <haoshuwei24@gmail.com>
2019-12-20 11:28:31 +08:00
Megan Marsh
bbc5bc0658
Merge pull request #8501 from hashicorp/hcl_docs
...
Better docs for HCL
2019-12-19 09:55:52 -08:00
Ferenc Fabian
04b269461c
Update website/source/partials/builders/_community_builders.html.md
...
Co-Authored-By: Adrien Delorme <azr@users.noreply.github.com>
2019-12-19 16:24:48 +01:00
Adrien Delorme
46ce0529dd
docs ++
2019-12-19 16:23:30 +01:00
Adrien Delorme
fbd3796377
Update index.html.md.erb
2019-12-19 15:40:08 +01:00
Adrien Delorme
31cad234f2
Update index.html.md.erb
2019-12-19 15:34:26 +01:00
Adrien Delorme
1d066082a5
Update index.html.md.erb
2019-12-19 15:28:29 +01:00
Adrien Delorme
4c3fa0ef26
document split files & main building blocks in guide
2019-12-19 14:58:44 +01:00
PumpkinSeed
6a185b7c64
Add Huawei Cloud ECS
2019-12-19 10:16:51 +01:00
Megan Marsh
a6c56aa4e2
fix build func docs
2019-12-18 16:53:17 -08:00
Megan Marsh
2d335a16f7
cut packer release v1.5.0
2019-12-18 10:08:52 -08:00
Adrien Delorme
7fe51022ca
add expression
2019-12-18 18:16:10 +01:00
Adrien Delorme
0436457fd7
fix sidebar current
2019-12-18 17:14:02 +01:00
Adrien Delorme
8cdf8ca442
add syntax-json for HCL
2019-12-18 17:10:59 +01:00
Adrien Delorme
bb72a0c0ce
document hcl language & syntax
2019-12-18 16:57:36 +01:00
Adrien Delorme
26ceea0c36
update custon provider docs
2019-12-18 16:13:52 +01:00
Adrien Delorme
04a8758811
Update website/source/guides/hcl/from-json-v1/index.html.md.erb
...
Co-Authored-By: Wilken Rivera <dev@wilkenrivera.com>
2019-12-18 15:59:53 +01:00
Adrien Delorme
978af9188f
Update website/source/guides/hcl/component-object-spec/index.html.md.erb
...
Co-Authored-By: Wilken Rivera <dev@wilkenrivera.com>
2019-12-18 15:59:33 +01:00
Adrien Delorme
da12c73726
Update website/source/guides/hcl/component-object-spec/index.html.md.erb
...
Co-Authored-By: Wilken Rivera <dev@wilkenrivera.com>
2019-12-18 15:59:26 +01:00
Adrien Delorme
971eac1701
Update website/source/guides/hcl/component-object-spec/index.html.md.erb
...
Co-Authored-By: Wilken Rivera <dev@wilkenrivera.com>
2019-12-18 15:59:16 +01:00
Adrien Delorme
9219a606a3
move "Installing Packer" a little lower in the nav bar
2019-12-18 15:57:28 +01:00
Adrien Delorme
f3629dbaf7
Update index.html.md.erb
...
fix sidebar_current
2019-12-18 15:57:01 +01:00
Adrien Delorme
8dc587967e
Update guides.erb
2019-12-18 15:51:38 +01:00
Adrien Delorme
93b9f3cb80
rename
2019-12-18 15:51:32 +01:00
Adrien Delorme
da90c22c35
Update index.html.md.erb
...
better title
2019-12-18 15:51:13 +01:00
Adrien Delorme
1ada06b2d7
fix sidebar_current of guide/hcl/from-json-v1
2019-12-18 15:22:48 +01:00
Adrien Delorme
8c21916606
add guide on how to make ones component HCL2 enabled
2019-12-18 15:01:48 +01:00
Wilken Rivera
ba36201f89
docs/guides/hcl: Update sample configuration ( #8499 )
2019-12-18 10:17:47 +01:00
Adrien Delorme
4b7132c87c
Merge remote-tracking branch 'origin/master' into sharing_info
2019-12-17 11:57:09 +01:00
Adrien Delorme
65cc5fe823
fix missing typo correction ( #8494 )
...
I left this change on my local branch
2019-12-17 11:31:57 +01:00
Adrien Delorme
0785c2f6fc
build using HCL2 ( #8423 )
...
This follows #8232 which added the code to generate the code required to parse
HCL files for each packer component.
All old config files of packer will keep on working the same. Packer takes one
argument. When a directory is passed, all files in the folder with a name
ending with “.pkr.hcl” or “.pkr.json” will be parsed using the HCL2 format.
When a file ending with “.pkr.hcl” or “.pkr.json” is passed it will be parsed
using the HCL2 format. For every other case; the old packer style will be used.
## 1. the hcl2template pkg can create a packer.Build from a set of HCL (v2) files
I had to make the packer.coreBuild (which is our one and only packer.Build ) a public struct with public fields
## 2. Components interfaces get a new ConfigSpec Method to read a file from an HCL file.
This is a breaking change for packer plugins.
a packer component can be a: builder/provisioner/post-processor
each component interface now gets a `ConfigSpec() hcldec.ObjectSpec`
which allows packer to tell what is the layout of the hcl2 config meant
to configure that specific component.
This ObjectSpec is sent through the wire (RPC) and a cty.Value is now
sent through the already existing configuration entrypoints:
Provisioner.Prepare(raws ...interface{}) error
Builder.Prepare(raws ...interface{}) ([]string, error)
PostProcessor.Configure(raws ...interface{}) error
close #1768
Example hcl files:
```hcl
// file amazon-ebs-kms-key/run.pkr.hcl
build {
sources = [
"source.amazon-ebs.first",
]
provisioner "shell" {
inline = [
"sleep 5"
]
}
post-processor "shell-local" {
inline = [
"sleep 5"
]
}
}
// amazon-ebs-kms-key/source.pkr.hcl
source "amazon-ebs" "first" {
ami_name = "hcl2-test"
region = "us-east-1"
instance_type = "t2.micro"
kms_key_id = "c729958f-c6ba-44cd-ab39-35ab68ce0a6c"
encrypt_boot = true
source_ami_filter {
filters {
virtualization-type = "hvm"
name = "amzn-ami-hvm-????.??.?.????????-x86_64-gp2"
root-device-type = "ebs"
}
most_recent = true
owners = ["amazon"]
}
launch_block_device_mappings {
device_name = "/dev/xvda"
volume_size = 20
volume_type = "gp2"
delete_on_termination = "true"
}
launch_block_device_mappings {
device_name = "/dev/xvdf"
volume_size = 500
volume_type = "gp2"
delete_on_termination = true
encrypted = true
}
ami_regions = ["eu-central-1"]
run_tags {
Name = "packer-solr-something"
stack-name = "DevOps Tools"
}
communicator = "ssh"
ssh_pty = true
ssh_username = "ec2-user"
associate_public_ip_address = true
}
```
2019-12-17 11:25:56 +01:00
Megan Marsh
6bc5a95c3a
tweak docs; change to
2019-12-16 21:35:42 -08:00
Sylvia Moss
c57f093efe
Remove unnecessary source_path validation for virtualbox-ovf ( #8489 )
2019-12-16 16:50:21 +01:00
Megan Marsh
1679d9fb9d
docs
2019-12-14 03:53:22 -08:00
Kris Hicks
40357e2534
docs/builder/azure-arm: Remove errant html comment ( #8484 )
...
* Remove errant html comment from source
* make generate
2019-12-13 10:35:24 -05:00
Megan Marsh
fbd1958ca5
Merge pull request #8462 from mkaczanowski/master
...
update documentation for arm images builder
2019-12-12 09:21:54 -08:00
Megan Marsh
0ca7c9f397
fix tests
2019-12-11 16:29:35 -08:00
Mateusz Kaczanowski
f1765dfd79
Update _community_builders.html.md
2019-12-11 15:25:23 +01:00
Megan Marsh
822aa02500
Merge pull request #8468 from pfuender/master
...
Add version selection for chef-client provisioner
2019-12-10 12:29:32 -08:00
Mateusz Kaczanowski
a645b1d48e
Update _community_builders.html.md
2019-12-10 20:41:00 +01:00
Megan Marsh
2b4a6f0479
Merge pull request #8442 from borgstrom/patch-1
...
iam:GetInstanceProfile is now required
2019-12-10 10:56:39 -08:00
Oded Priva
5e81c6f44e
added the option to skip IAM instance profile validation ( #8457 )
2019-12-10 09:17:38 +01:00
pfuender
ffb9272fb2
adding version-override for chef-client provisioner
2019-12-09 20:58:04 +01:00
Kaczanowski Mateusz
9d3c718c2e
update documentation for arm images builder
2019-12-07 10:44:32 +01:00
Sylvia Moss
096cab9b48
Fix floppy doc markdown typo ( #8458 )
2019-12-06 14:12:11 +01:00
Sylvia Moss
5ff5623433
Add disable_shutdown option to VirtualBox builder ( #8449 )
2019-12-05 14:34:56 +01:00
Megan Marsh
05b972e550
Merge pull request #8444 from ad-m/hyperone-builder
...
Fix tags & modernize config for HyperOne builder
2019-12-03 10:30:26 -08:00
Megan Marsh
9fc37f9456
Merge pull request #8438 from hashicorp/fix_qemu_sizes
...
make sure we continue to default to Megabytes for qemu disk size to p…
2019-12-03 09:58:21 -08:00
Adam Dobrawy
3b091e6046
builder/hyperone: fix & add tests for tags
2019-12-03 14:57:40 +01:00
Megan Marsh
fcda07ee6a
clarify docs by removing unclear string ( #8439 )
...
the docs generator from code PR #7724 mis scrapped it
2019-12-03 10:07:46 +01:00
Borgstrom ♕
5be5cc146b
iam:GetInstanceProfile is now required
2019-12-03 10:06:01 +08:00
Megan Marsh
5fb2899c3f
Merge pull request #8434 from tacoman/patch-2
...
Update sidebar + remove cruft for WinRM page
2019-12-02 16:23:24 -08:00
Megan Marsh
f5806afda8
update docs
2019-12-02 16:04:29 -08:00
tacoman
cf6058b8fb
Fixed the formatting for one of the examples. ( #8433 )
2019-12-02 10:32:57 +01:00
Indy Griffiths
82a1242b58
Fix bad header indentation ( #8435 )
...
Caused header to show up on https://www.packer.io/docs/provisioners/puppet-server.html as a code block
2019-12-02 10:29:54 +01:00
tacoman
13c315d03e
Update sidebar + remove cruft for WinRM page
2019-11-30 23:14:41 -05:00
Megan Marsh
29d6c05ef8
Merge pull request #8401 from hashicorp/do_8838
...
use shell struct in shell-local provisioner and post-processor.
2019-11-25 11:49:08 -08:00
Mike Dziedziela
7c3e032fb7
amazon docs: update block-device-configuration docs ( #8395 )
...
So that it works for all builders as some use it with the following field names: launch_block_device_mappings, ami_block_device_mappings or ebs_volumes. the refactored docs weird being to specific.
2019-11-25 11:58:30 +01:00
Megan Marsh
e92783f303
add docs about efi mode ( #8400 )
...
Document what needs to happen if you're launching an efi vm.
Closes #7081
2019-11-22 11:17:08 +01:00
Megan Marsh
7d4353864f
use shell struct in shell-local provisioner and post-processor.
2019-11-21 16:47:29 -08:00
Megan Marsh
59e6e1d4d5
Merge pull request #8393 from hashicorp/fix_8362
...
Add no_ephemeral template option to nuke ephemeral drives from launch mappings
2019-11-21 16:08:50 -08:00
Megan Marsh
6c1cb2a099
add unique kms case to permissions docs
2019-11-21 13:24:44 -08:00
Megan Marsh
67c3373107
enable no_ephemeral for spot devices, clean up ranging behavior, update docs
2019-11-21 12:46:31 -08:00
Megan Marsh
08e97ba4d8
generate code for no_ephemeral option
2019-11-20 13:49:04 -08:00
Megan Marsh
161be0adcd
update docs with note about ssh/winrm
2019-11-08 11:09:16 -08:00
Megan Marsh
6e2456d028
make error messaging around ResourceNotReady better, update docs with other possible issues ( #8349 )
2019-11-08 11:15:24 +01:00
Megan Marsh
98c94ab8cb
Merge pull request #7676 from ltrager/master
...
Add display template option for qemu.
2019-11-07 15:41:17 -08:00
Megan Marsh
4a3f5318e2
Merge pull request #8347 from rjspiker/rj.font-smooth
...
website - add -moz-osx-font-smoothing for smooth firefox osx fonts
2019-11-07 14:14:48 -08:00
RJ Spiker
b7561e3915
website - add -moz-osx-font-smoothing for smooth firefox osx fonts
2019-11-07 13:01:05 -07:00
nywilken
821d6d4f54
getting-started/build-image: Remove reference to Redis install
...
The deleted paragraph seems like a carry over from a previous version of the document as Redis is no longer mentioned as part of the base image template.
2019-11-07 11:48:54 -05:00