Commit Graph

2261 Commits

Author SHA1 Message Date
Maciej Skierkowski 1bc6a445ef Fixing typo in coupon code 2017-12-18 14:04:46 -08:00
Ben Phegan c338cb79d0 Initial commit of feature to allow MAC address specification for HyperV builders 2017-12-15 13:24:15 +11:00
Matthew Hooker e6e16c1c8b
Merge pull request #5699 from hashicorp/docnestedvirt
some cloud providers support nested virtualization
2017-12-13 10:10:06 -08:00
Matthew Hooker cba1a0598f
document additional aws permission 2017-12-12 21:13:09 -08:00
Matthew Hooker 4ed60ba789
clarify support vs availability. 2017-12-12 21:07:12 -08:00
Matthew Hooker 88b275715e
clarify that there are cloud providers that support nested virtualization 2017-12-12 21:00:18 -08:00
Matthew Hooker 62e946f5d1
Merge pull request #5698 from skierkowski/guides-update-links
Update links in guides
2017-12-12 09:36:42 -08:00
Matthew Hooker c62f00f47a
fix link 2017-12-12 09:10:38 -08:00
Matthew Hooker 738e378e91
complete the thought 2017-12-12 09:07:07 -08:00
Matthew Hooker cd2a0fe873
add deprecation warnings to docs 2017-12-12 09:07:06 -08:00
Maciej Skierkowski 6a91e5273f Update terraform links to new paths 2017-12-11 22:05:50 -08:00
Maciej Skierkowski 383228fded Add link to Cirlce CI article 2017-12-11 22:04:54 -08:00
Matthew Hooker 1a18957eec
call out advanced options 2017-12-11 16:06:58 -08:00
Matthew Hooker 6b30cf3653
use more screenshots for bento in the examples 2017-12-11 15:50:34 -08:00
Matthew Hooker 8703a71917
Merge pull request #5686 from skierkowski/guides-building-in-cicd
Adds a guide on using Packer with CI/CD
2017-12-11 15:14:21 -08:00
Matthew Hooker a2c9898db7
justify 80 cols 2017-12-11 15:10:37 -08:00
Matthew Hooker 532c4a4973
use a vcs project that will work 2017-12-11 15:04:03 -08:00
Matthew Hooker 97bacf6790
use absolute links 2017-12-11 14:37:28 -08:00
Matthew Hooker be3f0a121a
guides should use infinitive verbs 2017-12-11 14:31:44 -08:00
Maciej Skierkowski 004a434928 Add "coming soon" 2017-12-11 11:48:34 -08:00
Maciej Skierkowski dd5e5b8993 Using relative links for the docs/guides 2017-12-11 09:14:46 -08:00
Maciej Skierkowski dc96e73151 Adding more info about the options for Packer 2017-12-11 09:08:12 -08:00
Vijaya Bhaskar Reddy Kondreddi 5346583df9 Update docs 2017-12-11 11:24:59 +05:30
Maciej Skierkowski 3be55d20be Updating section title to be specific to VirtualBox and S3 2017-12-08 16:01:18 -08:00
Maciej Skierkowski e0d5e18450 Calling out AWS CLI dependencies 2017-12-08 15:57:39 -08:00
Maciej Skierkowski 9c90744d3e Clarifying virtualization phrasing for VirtualBox 2017-12-08 15:55:22 -08:00
Maciej Skierkowski 203f29a95e Moving images to assets folder 2017-12-08 15:49:26 -08:00
Matthew Hooker 4a864d59d7
Prepare for 1.1.3 2017-12-08 15:26:17 -08:00
Nick Fagerlund 6601f18c78 Minor edits 2017-12-08 13:46:51 -08:00
Nick Fagerlund d7fe37b862 Delete empty descriptions 2017-12-08 13:25:32 -08:00
Maciej Skierkowski 79c10a251c Using placeholder for now 2017-12-08 11:05:17 -08:00
Maciej Skierkowski c4abcd9c7c Adding more context for references to other guides 2017-12-08 10:59:43 -08:00
Maciej Skierkowski 59172c5a2d Adding the CI/CD guide content 2017-12-08 10:31:00 -08:00
Maciej Skierkowski 42d0e6f920 Navigation and placeholders for guide 2017-12-08 08:28:27 -08:00
Matthew Hooker 2c1c7b9659
Merge pull request #5630 from johndaviesco/winrm_no_proxy
Winrm no proxy
2017-12-07 15:41:16 -08:00
John Davies-Colley 76ac755ed9 fixing wording for proxy usage 👌 2017-12-06 17:13:02 +13:00
John Davies-Colley 92d1bdbdab docs change for deprecation and proxy usage ✔ 2017-12-06 16:50:54 +13:00
Jamie Lennox d043c37ad4 Azure: Don't provide location for build_resource_group_name
Location is required by default because you must specify where to create
the resource group containing the packer resources.

When using build_resource_group_name you are specifying that packer
should use an existing resource group and so the location that resources
are in can be determined by fetching the information from the existing
group.

It is forbidden to pass both variables as it is easier and more
intuitive that the location comes from the group rather than ignore a
parameter.

Closes: #5655
2017-12-04 11:22:54 +11:00
SwampDragons 753d3cf216
Merge pull request #5618 from kwilczynski/ansible-local-clean-staging-directory
ansible-local: Add ability to clean staging directory.
2017-11-30 14:27:59 -08:00
SwampDragons 37d22160a8
Merge pull request #5619 from kwilczynski/add-packer_version-function
Add new `packer_version` function.
2017-11-30 09:43:25 -08:00
Hariharan Jayaraman b66426e668 Updates to Docs to ensure permission issues are clearer 2017-11-28 16:23:49 -08:00
zhuzhih2017 bdc1fa0527
Merge pull request #5641 from zhuzhih2017/master
Add security token supported and TLS handshake timeout support
2017-11-28 11:15:56 +08:00
zhuzhih2017 de0017c37a Add security token supported and TLS handshake timeout support 2017-11-28 10:32:17 +08:00
Matthew Hooker ff3efb4641
remove trailing spaces 2017-11-27 17:26:03 -08:00
Matthew Hooker be3fe340c8
add a section about uploading files that don't exist. 2017-11-27 17:23:31 -08:00
SwampDragons e990e49711
Merge pull request #5638 from hashicorp/docs_5623
Docs 5623
2017-11-27 16:58:24 -08:00
Megan Marsh a325780aa5 make description match 2017-11-27 15:18:58 -08:00
Megan Marsh df492d35bf remove confusing use of local. dang. 2017-11-27 15:17:54 -08:00
Megan Marsh 150bf1f6da clarify shell-local location 2017-11-27 15:15:52 -08:00
Megan Marsh 52f5f2b895 clarify where ansible-local runs 2017-11-27 15:10:29 -08:00
Ilon Sjögren 0dae5bc8bd Should state that file provisioner requires source at execution time 2017-11-22 09:13:47 +01:00
John Davies-Colley d4f37ab5f6 changing config varibles name in docs to match names in code 2017-11-22 17:15:46 +13:00
Henry Muru Paenga 7b03613649 Update docs with ssh_interface 2017-11-22 15:52:22 +13:00
Krzysztof Wilczynski 7d80e37c14
Add new `packer_version` function.
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
2017-11-21 22:04:33 +01:00
Krzysztof Wilczynski 10370adbab
ansible-local: Add ability to clean staging directory.
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
2017-11-21 21:09:01 +01:00
Carlos Nunez a8ff095059
Generate a JSON object for Packer
This changes adds code that will generate a JSON object containing the things you'll need to make Packer work with Azure.
2017-11-18 15:44:10 -06:00
Carlos Nunez e9a63d8653
Add instructions for the Python client.
Azure uses the Python client in their Docker image. I've added additional documentation on how to "install" it as well as translations the node.js commands for it.
2017-11-18 15:27:54 -06:00
Christopher Boumenot 247da61ad1
Merge pull request #5593 from boumenot/pr-azure-keep-resource-group
Azure: Keep temporary resource group.
2017-11-16 17:39:33 -08:00
Christopher Boumenot 2684153cb2 azure: reject bad configuration faster 2017-11-16 16:34:18 -08:00
Matthew Hooker f974d3552c
Merge pull request #5588 from ammaritiz/align-Qemu-disk-size
Align virtual disk size for qemu builder
2017-11-15 14:15:16 -08:00
Matthew Hooker 40f18a3e1a
prepare for 1.1.2 2017-11-15 13:48:51 -08:00
Ammar Ansari b8bd66d10d Align virtual disk size for qemu builder
When booting from a disk image, the Qemu builder resizes the disk to 40000
which is not a multiple of 1kB. This causes problems while booting from the image.
Updating the default disk size to 40960 fixes this issue
2017-11-15 15:00:13 -05:00
Malet 18b9487a38
Fix typo 2017-11-15 12:02:08 +00:00
Matthew Hooker 97ef340423
fix type 2017-11-14 16:43:57 -08:00
Matthew Hooker 7e07a7c9c4
Merge pull request #5582 from brett-richardson/patch-1
Update chef provisioner documentation
2017-11-14 16:43:32 -08:00
Ladar Levison 4a5bb756a7
Docker Example Typo
I think the intention was to show you can tag, and push the same image to multiple repos, but the example given is to the same repo, twice. This change updates the example so it uses hashicorp/packer1, and hashicorp/packer2.
2017-11-14 16:40:06 -06:00
Brett Richardson 9eacd3d618
Update chef provisioner documentation
The URL has changed, see chef documentation https://docs.chef.io/install_omnibus.html
2017-11-14 13:54:13 +00:00
SwampDragons ce1f2457fd
Merge pull request #5563 from hashicorp/fix_5483
make restart command work correctly even if user has their own check …
2017-11-09 16:16:47 -08:00
SwampDragons e5c59468df
Merge pull request #5343 from evandbrown/pr-googlecompute-subnetworks
Interpolate network and subnetwork values
2017-11-09 12:10:41 -08:00
Arjen Schwarz 0377140c39
Azure docs: Add documentation concerning build_resource_group_name
Part of #5045
2017-11-09 22:07:43 +11:00
Chris Lundquist d00f884e71
Merge pull request #5530 from BaxterStockman/lxc-builder-cli-options
Add options to LXC builder for influencing for how containers are built and started
2017-11-07 22:32:17 -08:00
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
DanHam 3cdc79de6a
Update docs to reflect new upload and dot source of env var for std ps cmd 2017-10-30 21:08:14 +00:00
Matthew Hooker 26c7188cf3
add community tools links from @geerlingguy 2017-10-25 14:53:18 -07: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
Matthew Hooker bd5d1fc53a
fix formatting; 2017-10-23 09:39:25 -07:00
Matthew Hooker f07b791a3f
revert eol whitespace changes 2017-10-23 09:29:03 -07:00
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
Matthew Hooker b942c27b21
remove end of line spaces 2017-10-21 20:13:47 -07: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