Sargun Dhillon
601e754438
amazon/chroot: Allow creating new block device mappings !not fromScratch
...
Previously, when you built from an existing image, you were unable
to reconfigure block device mappings, as it just took them and
copied them over. This allows users to specify new, custom
block device mappings, even when building from an existing
image.
2019-03-04 13:11:14 -08:00
Sargun Dhillon
142a84ef43
amazon/chroot: Refactor step_register_ami for testing EBS-related behaviour
...
There is some logic around how EBS mappings are handled / generated depending
on whether an image if from scratch or not. There was no testing around
this behaviour before. This strips that logic out into a separate function,
to enable testing it independentlhy.
2019-02-25 10:45:23 -08:00
Sargun Dhillon
d3c65ee77d
builder/amazon/chroot: Fix building PV images with mount_partition
...
Right now, if we have a source image that's PV, and try to build an
image with mount_partition set to not 0, it does not get picked up.
This is because under PV we only had a filesystem, not partitions,
but you can convert a PV image to an HVM image during build time.
2019-02-22 18:21:01 -08:00
Adrien Delorme
4da79a8837
Merge pull request #7333 from pop/patch-2
...
Update vsphere+vsphere-template array pairing docs
2019-02-22 10:59:32 +01:00
Megan Marsh
440f1f5f3c
Merge pull request #7317 from hashicorp/pause_before_connecting
...
add a configurable pause before step_connect to work around bootstrap…
2019-02-21 11:59:47 -08:00
Elijah Caine M. Voigt
472b5ba710
Update vsphere+vsphere-template array pairing docs
...
The example and description of pairing `vsphere` and `vsphere-template` in a JSON array is accurate but ought to be more spelled out.
This introduces a change which makes that part of the example and docs more verbose, hopefully mitigating potential confusion.
2019-02-21 10:51:48 -08:00
Megan Marsh
5cc442872e
Merge pull request #7314 from hashicorp/fix_7234
...
add noSSLVerify to ovftool args
2019-02-19 16:54:48 -08:00
Adrien Delorme
560b15de00
Merge pull request #7326 from hashicorp/allow_to_set_build_settings
...
scripts/build.sh: allow to set build settings when building
2019-02-19 15:11:51 +01:00
Adrien Delorme
f6be550f1a
scripts/build.sh: allow to set build settings when building
...
this will for example allow me to have the following alias:
alias buildmain='export T=$(mktemp -d) && ALL_XC_OS="linux darwin windows" ALL_XC_ARCH="amd64" GOLDFLAGS="-s -w" ./scripts/build.sh && cd pkg/ && for dir in *; do zip -r "$dir.zip" $dir & ; done ; wait && mv *.zip $T/. && open $T'
that build only on 'main' platforms, so that I can share binaries easily.
2019-02-19 15:10:30 +01:00
Adrien Delorme
e93eda2c88
Merge pull request #7311 from hashicorp/fix_7228
...
make sure we don't try to load an iso into memory because of a user m…
2019-02-18 18:35:01 +01:00
Adrien Delorme
4f46bd74ab
Merge pull request #7313 from kristi/patch-1
...
add DescribeInstanceStatus to minimum permissions
2019-02-18 18:19:56 +01:00
Megan Marsh
31c8acc5bc
add a configurable pause before step_connect to work around bootstrap race conditions
2019-02-15 15:05:29 -08:00
Megan Marsh
9b69790514
update changelog
2019-02-15 13:12:45 -08:00
Megan Marsh
75f574bd4b
Merge pull request #7221 from hashicorp/vagrant_builder
...
Vagrant builder
2019-02-15 10:05:44 -08:00
Megan Marsh
cb5c896c01
Merge pull request #7310 from hashicorp/fix_7286
...
also strip \r to work around windows file ending strangeness
2019-02-15 09:19:33 -08:00
Megan Marsh
9f702af6d9
we lost the skip_add step somewhere
2019-02-14 14:46:14 -08:00
Megan Marsh
bbc52f9a7d
add noSSLVerify to ovftool args
2019-02-14 12:10:58 -08:00
Megan Marsh
be21850e32
Merge pull request #7060 from andrewsomething/do-post-processor
...
Add digitalocean-import post-processor.
2019-02-14 11:58:00 -08:00
Kristi
7e7e486901
add DescribeInstanceStatus to minimum permissions
...
Packer needs DescribeInstanceStatus or else it ends up waiting forever for the instance to become ready.
2019-02-14 11:53:53 -08:00
Megan Marsh
2a9f49a5c6
make sure we don't try to load an iso into memory because of a user mistake
2019-02-13 16:21:55 -08:00
Andrew Starr-Bochicchio
37b3305301
Better varibable naming.
2019-02-13 18:55:27 -05:00
Megan Marsh
bd3339f1f9
also strip \r to work around windows file ending strangeness
2019-02-13 15:41:37 -08:00
Megan Marsh
9fe1366eeb
Merge pull request #7180 from xinau/packer-provisioner-inspec
...
Added inspec.io provisioner
2019-02-13 13:14:32 -08:00
xinau
b449af84ee
moved concurrency-safe ui code to packer/ui.go
2019-02-13 21:01:50 +00:00
Andrew Starr-Bochicchio
ee430d9a40
Only filter on suffix if more than one file.
2019-02-12 20:20:39 -05:00
xinau
ae59b81f44
added check for docker backend
2019-02-12 20:07:13 +00:00
Megan Marsh
9bada2e35d
Merge pull request #7305 from boumenot/pr-azure-new-maintainer
...
azure: new maintainer
2019-02-12 11:11:22 -08:00
Christopher Boumenot
bc69f3e1c3
azure: new maintainer
2019-02-12 10:49:05 -08:00
xinau
36c1e8d838
moved adapter to common package
2019-02-12 07:10:57 +00:00
xinau
8526244285
changed local_port to uint representation
2019-02-12 06:32:19 +00:00
xinau
c207451f7e
Merge branch 'master' of https://github.com/hashicorp/packer into packer-provisioner-inspec
2019-02-12 05:32:05 +00:00
Megan Marsh
956bc35769
Merge pull request #7281 from pauloj95/patch-1
...
add force to powershell move command
2019-02-11 16:16:18 -08:00
Andrew Starr-Bochicchio
62865cf37b
Mention environmental variables in docs.
2019-02-11 18:24:16 -05:00
Andrew Starr-Bochicchio
203b6ca8b4
Prefix env vars w/ 'DIGITALOCEAN_'
2019-02-11 18:20:35 -05:00
Megan Marsh
c7278e871c
Merge pull request #7038 from kmbulebu/openstack_deprecated_api
...
Replaced compute/v2/images with imageservice/v2/images.
2019-02-11 15:05:45 -08:00
Megan Marsh
e0ed7b6742
Merge pull request #7293 from hashicorp/amazon_import_docs
...
add perms
2019-02-11 14:24:28 -08:00
Megan Marsh
f2439625bf
Merge pull request #7298 from hashicorp/fix_7256
...
Fix 7256
2019-02-11 14:24:01 -08:00
Megan Marsh
22e3f09db3
Merge pull request #7282 from hashicorp/do_6994
...
Allow amazon builders to read credentials from Vault.
2019-02-11 12:49:23 -08:00
Megan Marsh
2a613dd6e9
fix up the github suggestion
2019-02-11 11:49:17 -08:00
Adrien Delorme
3ae5a912d4
Update builder/amazon/common/step_pre_validate.go
...
Co-Authored-By: SwampDragons <megan@hashicorp.com>
2019-02-11 11:41:58 -08:00
Megan Marsh
51b46b851a
formatted amazon docs
2019-02-11 11:40:56 -08:00
Megan Marsh
37f474ceca
add perms
2019-02-11 09:21:45 -08:00
Megan Marsh
d318f3942b
Merge pull request #7302 from a-yiorgos/patch-1
...
allow the basic example to pass packer validate
2019-02-11 09:13:06 -08:00
Yiorgos Adamopoulos
591533cee0
allow the basic example to pass packer validate
...
tested with Packer v1.3.4. Without the builders section is complains for " Unknown root level key in template: " for every key in the JSON.
2019-02-11 17:05:55 +02:00
Megan Marsh
3fd589fa72
typos
2019-02-08 09:31:30 -08:00
Megan Marsh
e2d8c0bfd7
docs
2019-02-08 09:28:10 -08:00
Megan Marsh
07c0c599e0
attach guest additions via SATA when necessasry
2019-02-08 09:15:15 -08:00
Megan Marsh
5057220ad2
use VAGRANT_CWD rather than changing packer run directories
2019-02-07 14:35:01 -08:00
Megan Marsh
dc848ea5d7
just make vagrantfile instead of calling init
2019-02-07 12:39:56 -08:00
pauloj95
b1fffee614
Update guest_commands_test.go
2019-02-06 10:50:29 +00:00