Megan Marsh
b52ba4557e
add some example json to windows restart_check_command
2017-11-07 16:00:40 -08:00
Matthew Hooker
a26ce0c4a2
Merge pull request #5555 from cheeseprocedure/docs-communicator-ssh-agent
...
Website: add ssh_agent_auth to ssh communicator docs
2017-11-06 17:27:31 -08:00
Matthew Hooker
4c66c823d6
Merge pull request #5554 from briancain/update-vagrant-cloud-docs
...
Update vagrantcloud token page URL
2017-11-06 17:25:47 -08:00
Evan Brown
74403ef914
website: Update googlecompute engine docs
...
This change updates the documentation to describe how `network` and
`subnetwork` properties are processed.
2017-11-06 16:41:42 -08:00
Matt Mercer
733d5b65e5
Website: add ssh_agent_auth to ssh communicator docs
2017-11-06 15:46:13 -08:00
Matthew Hooker
bdb2509735
Merge pull request #5475 from ChrisLundquist/lxd-publish-properties
...
[Lxd] publish properties
2017-11-06 15:45:56 -08:00
Matthew Hooker
60b013f5af
Merge pull request #5439 from pkilar/socks5_proxy
...
SOCKS5 proxy support
2017-11-06 15:43:09 -08:00
Brian Cain
d0c1d118ea
Update vagrantcloud token page URL
2017-11-06 15:39:57 -08:00
Matthew Hooker
0172a5c82b
Merge pull request #5511 from hashicorp/fix5507
...
remove login_email from docker
2017-11-06 15:34:04 -08:00
James Nugent
fdd9b952d1
Merge pull request #5538 from stack72/triton-image-data-source
...
builder/triton: Add a data source for source_machine_image
2017-11-02 15:33:22 -05:00
stack72
7776bf596b
builder/triton: Add a data source for source_machine_image
...
fixes : #5476
Based on this new template addition:
```
{
"variables": {
"image_version": "",
"triton_account": "",
"triton_key_id": "",
"triton_key_material": ""
},
"builders": [{
"type": "triton",
"triton_account": "{{user `triton_account`}}",
"triton_key_id": "{{user `triton_key_id`}}",
"triton_key_material": "{{user `triton_key_material`}}",
"source_machine_package": "g4-highcpu-128M",
"source_machine_image_filter": {
"name": "ubuntu-16.04",
"most_recent": "true"
},
"ssh_username": "root",
"image_version": "{{user `image_version`}}",
"image_name": "teamcity-server"
}],
"provisioners": [
{
"type": "shell",
"start_retry_timeout": "10m",
"inline": [
"sudo apt-get update -y",
"sudo apt-get install -y nginx"
]
}
]
}
```
I got the following output from packer:
```
packer-testing % make image
packer build \
-var "triton_account=stack72_joyent" \
-var "triton_key_id=40:9d:d3:f9:0b:86:62:48:f4:2e:a5:8e:43:00:2a:9b" \
-var "triton_key_material=""" \
-var "image_version=1.0.0" \
new-template.json
triton output will be in this color.
==> triton: Selecting an image based on search criteria
==> triton: Based, on given search criteria, Machine ID is: "7b5981c4-1889-11e7-b4c5-3f3bdfc9b88b"
==> triton: Waiting for source machine to become available...
==> triton: Waiting for SSH to become available...
==> triton: Connected to SSH!
==> triton: Provisioning with shell script: /var/folders/_p/2_zj9lqn4n11fx20qy787p7c0000gn/T/packer-shell797317310
triton: Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
triton: Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease
```
I can verify from the triton cli tools that the id `7b5981c4` (from the packer output) is indeed the correct ID
```
terraform [master●] % triton images name=~ubuntu-16.04
SHORTID NAME VERSION FLAGS OS TYPE PUBDATE
49b22aec ubuntu-16.04 20160427 P linux lx-dataset 2016-04-27
675834a0 ubuntu-16.04 20160505 P linux lx-dataset 2016-05-05
4edaa46a ubuntu-16.04 20160516 P linux lx-dataset 2016-05-16
05140a7e ubuntu-16.04 20160601 P linux lx-dataset 2016-06-01
e331b22a ubuntu-16.04 20161004 P linux lx-dataset 2016-10-04
8879c758 ubuntu-16.04 20161213 P linux lx-dataset 2016-12-13
7b5981c4 ubuntu-16.04 20170403 P linux lx-dataset 2017-04-03 <------- THIS IS THE LATEST UBUNTU IMAGE
```
2017-11-02 16:10:16 +02:00
Lawrence
5509d0734b
Added ipv6 option for digitalocean builder
...
the ipv6 option is already part of the godo package
Updated documentation to reflect new feature
Closes: https://github.com/hashicorp/packer/issues/5533
2017-11-01 15:41:25 -04:00
Matthew Hooker
f64fa7b5ba
Merge pull request #5491 from BenPhegan/hyperv-disk_additional_size
...
Hyper-V disk_additional_size capability
2017-10-31 08:42:07 -07:00
Matt Schreiber
1f2135f65e
Add options to LXC builder for influencing for how containers are built and started
...
via
- create_options: a list of options passed to lxc-create
- start_options: a list of options passed to lxc-start
- attach_options: a list of options passed to lxc-attach
Also extended existing LXC builder BATS tests to exercise the new builder
options, and added website docs.
2017-10-30 21:48:43 -04:00
Matthew Hooker
1901c0385f
remove login_email from docker
...
adds fixer
removes documentation
removes from docker builder and docker-push pp
2017-10-25 10:53:06 -07:00
Manoj
dbeb48a993
Update wording on manifest behaviour on build rerun
2017-10-24 11:27:22 +05:30
Ben Phegan
12fc928e1d
Initial commit of Hyper-V disk_additional_size capability. Support a
...
maximum of 64 disks added to the SCSI controller. Implement #4823 .
2017-10-23 08:26:35 +11:00
SwampDragons
1563fb97c7
Merge pull request #5463 from atsushi-ishibashi/issue5323
...
Add clean_image_name for gcp
2017-10-20 14:16:11 -07:00
Megan Marsh
4721b48c70
add a couple of extra tests and reword documentation
2017-10-20 14:06:02 -07:00
Atsushi Ishibashi
c3a00993d0
Don't truncate and replace with 'a', update docs
2017-10-19 10:45:48 +09:00
Chris Lundquist
76f0176f5e
[lxd] add docs on publish properties
2017-10-18 05:05:46 +00:00
Matthew Hooker
c4e83fc928
Merge pull request #5470 from aaron0browne/ecr-login-profile
...
Add aws_profile option to docker-push ecr_login
2017-10-17 16:07:05 -07:00
SwampDragons
940ebe0ddc
Merge pull request #5473 from mprince/puppetdocs
...
Arguments sorting for Puppet provisioners docs
2017-10-17 13:14:08 -07:00
Matthew Hooker
265ae7026e
docs formatting
2017-10-17 11:29:11 -07:00
Marcel Prince
8244d8bfb9
Arguments sorting for Puppet provisioners docs
2017-10-17 08:25:40 -07:00
Matthew Hooker
f73fbd81d2
Merge pull request #5469 from mayn/issue-5468
...
docs: reference generic integer/boolean datatype across docs
2017-10-16 16:30:28 -07:00
Aaron Browne
8df643c343
Add aws_profile option to docker-push ecr_login
...
An aws_profile option is added to the AWS ECR login credentials
configuration to allow using shared AWS credentials stored in
a non-default profile.
Signed-off-by: Aaron Browne <aaron0browne@gmail.com>
2017-10-16 16:55:34 -04:00
Matthew Hooker
8585e0ebf5
doc improvements
2017-10-16 13:27:26 -07:00
Matthew Hooker
6837bf8276
grammar and style fix
2017-10-16 13:04:53 -07:00
Atsushi Ishibashi
c22c7238ac
Add doc
2017-10-17 04:05:18 +09:00
Matthew Aynalem
1967c4bc81
docs correct datatype inconsistencies int/integer => number (issue #5468 )
2017-10-16 11:30:23 -07:00
Matthew Aynalem
3716effa75
docs: correct datatype inconsistencies bool => boolean (issue #5468 )
2017-10-16 09:19:59 -07:00
Georg
ca8805efe2
Update documentation to avoid confusion
...
disk_type_id defaults to different values in local build and remote build.
Documentation should reflect to what value the remote build defaults.
2017-10-15 12:29:34 +03:00
Matthew Hooker
04ed639750
fix doc link
2017-10-13 18:59:58 -07:00
Matthew Hooker
454cb08896
Merge pull request #5336 from SLAZ666/keepregistered-ovf
...
Add option keep_registered to virtualbox-ovf builder
2017-10-13 17:45:07 -07:00
Matthew Hooker
f617a678b1
Merge pull request #5422 from localghost/upload_owner_fix
...
Fix owner of files uploaded to docker container run as non-root.
2017-10-13 14:56:16 -07:00
SwampDragons
f3c33240fa
Merge pull request #5444 from vijayinvites/packer-vhdx
...
Hyperv vmcx builder and allow vhd/vhdx instead of ISO
2017-10-13 11:53:27 -07:00
Matthew Hooker
f7e269945e
add cidr validation and rename option
2017-10-12 17:05:56 -07:00
Matthew Hooker
c74be87187
Merge pull request #5384 from dave2/sg-source-cidr
...
[WIP] Allow temporary security group to have source CIDR block explicit
2017-10-12 17:05:45 -07:00
Matthew Hooker
106408f6be
add new disable_vnc option
2017-10-12 16:34:40 -07:00
nictrix
6a238a3ef3
add option to skip vnc phase and update docs
2017-10-12 16:28:27 -07:00
Brian Lalor
3a03bc48c1
Prevent angle brackets from being swallowed
...
The current version of the [published Azure provider page](https://www.packer.io/docs/builders/azure.html ) shows the VHD URLs like:
> The captured VHD's URL will be https://.blob.core.windows.net/system/Microsoft.Compute/Images//.xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.vhd .
2017-10-12 17:32:49 -04:00
Megan Marsh
468feee607
fix docs for 5205
2017-10-12 14:14:07 -07:00
localghost
fef5162b01
Add description of `fix_upload_owner` to documentation.
2017-10-12 21:26:18 +02:00
SwampDragons
9b692f2598
Merge pull request #5427 from hashicorp/docs_work
...
Okay, I'm going to merge these docs as-is under the opinion that an example that works 99% of the time is better than no example. @DanHam I'm still happy to test out other boot configs but I've put a fair amount of time into trying to get your suggestions to work and haven't gotten it doing what it's supposed to for AWS.
2017-10-12 10:30:17 -07:00
Matthew Hooker
e497c6027f
remove obsolete information
2017-10-11 23:17:43 -07:00
Matthew Hooker
0608fe4823
mention that winrm can transfer files slowly.
2017-10-11 23:12:31 -07:00
Matthew Hooker
f566c43a9d
add boot_command examples link to docs
2017-10-11 22:58:03 -07:00
Matthew Hooker
4aee438c22
document comma-separated configuration variables.
2017-10-11 19:36:54 -07:00
Matthew Hooker
6e9d37485a
make it clear that VHDs work as well as ISOs
2017-10-11 22:05:53 +05:30
Matthew Hooker
5937f75898
reformat docs
2017-10-11 22:05:52 +05:30
Taliesin Sisson
5f2c71f7d7
Floppy directories are provided by default with common.floppydrives
2017-10-11 22:05:52 +05:30
Taliesin Sisson
efa62e1550
Can specify an iso, vhd or vhdx for download. If it is a vhd or vhdx it is used as the hard drive for spinning up a new machine, importing an exported virtual machine or cloning a virtual machine.
...
Can import a virtual machine from a folder
Can clone an existing virtual machine
2017-10-11 22:05:45 +05:30
Taliesin Sisson
429e1bc3ad
Adding an ISO is now optional for hyperv vmcx
...
Add documentation for hyperv vmcx
2017-10-11 21:42:32 +05:30
Paul Kilar
01ff96b341
Added missing dependency and updated documentation
2017-10-10 15:39:18 +01:00
Matthew Hooker
3eac1306a2
document #5206
2017-10-09 10:10:29 -07:00
Megan Marsh
be25ad8021
adding pr suggestions to docs improvements
2017-10-05 16:29:38 -07:00
Megan Marsh
dfc4c4533b
add example manifest file to manifest docs
2017-10-05 13:40:20 -07:00
Matthew Hooker
e4b67dd2f9
more spelling
2017-10-04 14:37:04 -07:00
Matthew Aynalem
1fac839b79
docs fix minor spelling typos throughout docs
2017-10-04 14:25:31 -07:00
zhuzhih2017
f0cfd86f74
Merge pull request #5423 from zhuzhih2017/master
...
Fix the documentation error for io_optimized type and add description…
2017-10-04 21:08:55 +08:00
zhuzhih2017
beeaa4d8ee
fix the documentation error for io_optimized type and add description for default value of internet_charge_type
2017-10-04 21:04:00 +08:00
Matthew Hooker
e26df7ebb3
remove outdated comment about docker behavior
2017-10-03 16:47:30 -07:00
Matthew Hooker
bafcf7dfb1
test, document, cleanup puppet guest codde
2017-10-03 11:39:33 -07:00
Matthew Hooker
54a42665e0
qemu support for xen is no longer experimental.
...
versions of qemu prior to 1.0 only had experimental support for xen. Xen
is now part of qemu main-line, and so should be fully supported. See
https://wiki.xenproject.org/wiki/QEMU_Upstream .
2017-09-29 12:42:40 -07:00
Matthew Hooker
b3661c1f63
builder/docker: set user during exec.
...
Add `exec_user` option to control what user `docker exec` is run as.
2017-09-28 16:39:23 -07:00
Megan Marsh
ae6dae2726
add quoteless option to sudo example
2017-09-27 16:02:18 -07:00
SwampDragons
0ef12c9810
Merge pull request #5365 from DanHam/gh-4322-psleak
...
Fix Powershell Progress stream leak to stderr for normal and elevated commands
2017-09-26 15:53:54 -07:00
DanHam
b7bb6b54b4
Update docs with new defaults for Powershell commands
2017-09-26 11:07:38 +01:00
Oscar Elfving
8173e5d3ce
Updated docs with more robust sysprep script for the windows Azure builder
2017-09-26 11:56:46 +02:00
Zanetti, David
2a6b592c99
Add docs for security_group_source_cidr option on Amazon builders
2017-09-26 01:44:58 +00:00
Matthew Hooker
02cd6bc7f0
Merge pull request #5288 from hashicorp/fix3114
...
add token variable to upload bundle command template
2017-09-25 18:36:28 -05:00
Matthew Hooker
4bc8e7de3d
add token variable to upload bundle command template
2017-09-25 16:35:53 -07:00
Peter Mounce
ac8eedf171
Introduce a new configuration parameter instead
...
... so that one can have a different list compared to instances.
2017-09-18 17:53:40 +01:00
Peter Mounce
8789ae72e8
Make the googlecompute builder label the resulting image.
...
... so that it's possible to find images matching particular characteristics more easily.
2017-09-18 15:44:01 +01:00
Megan Marsh
f71a25c7a7
Merge pull request #5345 from hashicorp/elevated_vars_4994
...
Elevated vars 4994
2017-09-15 09:12:58 -07:00
Megan Marsh
5d63f01fed
Update docs for elevated_execute_command with new default command
2017-09-15 08:14:12 -07:00
Matthew Hooker
e8c54cb496
docs: update default value for `expect_disconnect`
2017-09-14 17:49:34 -07:00
Megan Marsh
f86d45eaf6
fix docs for execute_command and elevated_execute_command
2017-09-14 10:50:38 -07:00
SLAZ666
f6bb79784f
Add option keep_registered to virtualbox-ovf builder
2017-09-13 15:37:26 +02:00
Matthew Hooker
fc1ce68bff
docs: add lxc/d to sidebar, cleanup
2017-09-12 15:45:55 -07:00
Andrew Pryde
6fd2f6701d
Rename Oracle BMCS builder to OCI
...
Oracle Bare Metal Cloud Services (BMCS) has been rebranded as Oracle
Cloud Infrastructure (OCI).
2017-09-12 10:40:56 -07:00
Matthew Hooker
9977edc4b4
Merge pull request #5322 from danielcompton/patch-1
...
Add troubleshooting steps to Ansible provisioner docs
2017-09-11 11:43:32 -07:00
Matthew Hooker
bdd8ff104d
fix doc layout
2017-09-11 09:56:11 -07:00
Matthew Hooker
624b1e5110
Merge pull request #4554 from prydie/f-oracle-bmcs
...
Oracle Bare Metal Cloud Services (BMCS) builder
2017-09-11 09:42:14 -07:00
Andrew Pryde
6612a2cc70
Remove copyright statement from docs
2017-09-11 15:08:17 +01:00
Daniel Compton
b754862fd8
Add troubleshooting steps to Ansible provisioner docs
...
- Explain how to enable verbose Ansible output
- Add docs about the perils of having loaded too many SSH keys to ssh-agent
2017-09-10 21:03:06 +12:00
Matthew Hooker
322422f235
remove copyright notice header and add COPYRIGHT file
2017-09-08 09:49:06 -07:00
Matthew Hooker
817dc973c8
clarify docs
2017-09-06 15:01:39 -07:00
Matthew Hooker
57237c55e6
Merge pull request #5308 from pdecat/f-gce-instance-labels
...
Add support for setting labels on GCE instance
2017-09-06 14:59:40 -07:00
Patrick Decat
a005638e11
Document labels set on GCE instance
2017-09-06 23:22:51 +02:00
Megan Marsh
4d89ab3943
Merge pull request #5309 from hashicorp/pr/3523
...
Pr/3523
2017-09-06 09:27:58 -07:00
Megan Marsh
41103cf9ca
fix docs
2017-09-06 08:55:39 -07:00
raylu
6135b0bf48
Fix ubuntu source_ami_filter examples
...
Canonical publishes stable AMIs at ubuntu/images/ and unstable AMIs at
ubuntu/images-testing/. Combined with most_recent: true, the old name
filter bounces you between stable and unstable.
2017-09-05 17:25:34 -07:00
Chris Lundquist
cd2a783382
[lxc] update to new conventions, improve docs
2017-09-05 15:19:25 -07:00
Chris Lundquist
db74392528
[lxc] add some words of warning around edge cases
2017-09-05 15:17:15 -07:00
Chris Lundquist
44c942a21f
[lxc] provide centos 7 example
2017-09-05 15:17:15 -07:00
Chris Lundquist
612c87ee2d
[lxc] add first draft of documentation
2017-09-05 15:17:15 -07:00
Chris Lundquist
f6bc158a80
[lxd] minor fixups for new styles and docs
2017-09-05 12:46:36 -07:00
Chris Lundquist
05f072929f
[lxd] first pass at docs
2017-09-05 12:44:39 -07:00