Chris Lundquist
f1a863ad36
add this to govendor
2018-07-25 02:34:33 +00:00
Chris Lundquist
ce1a5b7d7a
Print why we are only using one core
2018-07-25 02:27:51 +00:00
Chris Lundquist
a9d48eb492
add our dep
2018-07-25 01:25:09 +00:00
bugbuilder
2c4f703ff8
Merge
2018-07-24 20:54:08 -04:00
Megan Marsh
c8970b86eb
Merge pull request #6529 from hashicorp/fix_6527
...
fix crash caused by invalid datacenter url
2018-07-24 16:02:37 -07:00
Chris Lundquist
999a53ca76
add support for xz compression #6523
2018-07-24 19:46:21 +00:00
Sergio Millan Rodriguez
d90dfc096a
adding public_ssh_port flag to use a fixed port in the forwarding rules
2018-07-24 18:39:02 +01:00
Christopher Boumenot
9c6b4287e5
Merge pull request #6480 from hashicorp/pr-azure-password-requirements
...
azure: satisfy Azure password requirements
2018-07-24 09:58:54 -07:00
Megan Marsh
5bbb6633cf
Merge pull request #6279 from ChrisLundquist/clundquist/lxc-perms
...
[WIP] Unpriviliged LXC containers
2018-07-24 09:34:21 -07:00
Megan Marsh
8f1eb5a61b
fix crash caused by invalid datacenter url
2018-07-23 16:12:21 -07:00
Megan Marsh
07b6bc0c4f
Merge pull request #6504 from sharmaansh/6309-amazon-chroot-create-volume-tags
...
amazon-chroot: Add tags on CreateVolume
2018-07-23 14:58:17 -07:00
Matthew Hooker
4495f93478
update changelog
2018-07-23 13:53:22 -07:00
Matthew Hooker
9bb0681586
Merge pull request #6423 from hashicorp/fix5513
...
cmd/validate: Warn users if configs need fixing
2018-07-23 13:52:28 -07:00
Megan Marsh
d2823622e5
Merge pull request #6249 from iammattcoleman/add-use_backing_file
...
qemu builder: add the 'use_backing_file' setting for QCOW2 images
2018-07-23 13:40:04 -07:00
Megan Marsh
66c45273fb
Merge pull request #6494 from double16/vagrant-docker
...
Vagrant post-processor for using a Docker image
2018-07-23 12:18:52 -07:00
Megan Marsh
5ef8b55559
need log import
2018-07-23 10:34:05 -07:00
Megan Marsh
a2f5fbadf6
don't fail if you can't find abs or relative path.
2018-07-23 09:54:25 -07:00
Patrick Double
4f9a91012f
Change docker-push to return docker-import artifact
2018-07-20 15:27:29 -05:00
Anshul Sharma
431cbb2ad5
Added Docs
2018-07-20 09:04:49 +03:00
Patrick Double
ce08eb8b7c
Cleanup docs
2018-07-19 20:41:26 -05:00
DanHam
1a7804221e
Minor fixes, changes and improvements to Hyper-V VMCX docs
2018-07-20 02:12:48 +01:00
DanHam
c8f54d5291
Fixer and tests to convert 'clone_from_vmxc_path' -> 'clone_from_vmcx_path'
2018-07-20 02:12:48 +01:00
DanHam
da21c25791
Convert incorrect 'vmxc' -> 'vmcx' in codebase, docs and template opts
...
grep -rli --exclude-dir={vendor,bin\*,\*vmware\*,\*pkg\*} vmxc . | \
xargs sed -i 's/\(vm\)\(x\)\(c\)/\1\3\2/ig'
2018-07-20 02:12:47 +01:00
DanHam
3c5d7aec74
Ensure new fixer appears in 'packer fix' usage message
2018-07-20 02:12:47 +01:00
DanHam
28087cb9f7
Fixer and tests to remove deprecated 'vhd_temp_path' Hyper-V ISO setting
2018-07-20 02:12:47 +01:00
DanHam
674bad0ab4
Break very long lines for readability
2018-07-20 02:12:47 +01:00
DanHam
2bb5a92755
Fix error in comment due to copy/paste from VMware step
2018-07-20 02:12:47 +01:00
DanHam
36bd2f5691
Fix an error with an error. Add some comments.
2018-07-20 02:12:46 +01:00
DanHam
29503e453e
Update Hyper-V docs with new export behaviour
2018-07-20 02:12:46 +01:00
DanHam
e42e03ef2e
Update VMCX doc: Include temp_path
; ISO & VMCX docs: Better explain opts
2018-07-20 02:12:46 +01:00
DanHam
ee0a2469eb
Add ability to specify 'temp_path' for the build directory to VMCX builder
2018-07-20 02:12:46 +01:00
DanHam
8032c8151a
Tests for step to create output directory
2018-07-20 02:12:46 +01:00
DanHam
f027585a93
Tests for step to create build directory
2018-07-20 02:12:45 +01:00
DanHam
ed5bebfa8c
Change variable/statebag key name to better convey purpose
2018-07-20 02:12:45 +01:00
DanHam
00276f2f64
Change step name to better illustrate purpose of step
2018-07-20 02:12:45 +01:00
DanHam
b386e567db
Change filename to better illustrate purpose of step
2018-07-20 02:12:45 +01:00
DanHam
d2390f464d
Actually implement the function for the driver
2018-07-20 02:12:45 +01:00
DanHam
181bb0ba23
Add calling code and skeleton driver to make tests pass
2018-07-20 02:12:45 +01:00
DanHam
0a4ec13323
Tests for func to move VHDs to output dir when skip_export: true
2018-07-20 02:12:44 +01:00
DanHam
32148168bd
Introduce a new step to collate build artifact at the end of the build
...
The new step collects together all the required build artifacts and
places them in the output directory.
* Reintroduce/add the code removed from step export to preserve the
legacy export directory structure when skip_export is unset/false
* Add a place holder for a future function that will move just the VHD
files from the build directory to the output directory when
skip_export is true
* Add tests for current functionality and placeholder tests for future
functions
2018-07-20 02:12:44 +01:00
DanHam
ee7fa27ada
Fix up tests. Ensure export step stores the export path in state
2018-07-20 02:12:44 +01:00
DanHam
232dd8f0a6
Remove code to preserve legacy export dir structure from the export step
...
Store the export path in the state bag in preparation for use in a later
step
2018-07-20 02:12:44 +01:00
DanHam
bd5692451b
Remove deprecated vhd_temp_path
option from documentation
2018-07-20 02:12:44 +01:00
DanHam
c2437ba592
Remove the option to place the VHD files in a separate directory
...
The export process now exports the VM directly from the build directory
into the output directory. There are no intermediate steps or copying of
files involved. This means that there is no longer any benefit in having
a separate directory to house the VHD files - see #5206 for the
reasoning behind the introduction of this feature.
If a user wishes to house the build files on a separate disk from the
output directory (perhaps for performance reasons or due to disk space
limitations) they can still do so through the use of `temp_path`.
2018-07-20 02:12:43 +01:00
DanHam
d5d82c32b2
Changes to the export process have made 'inline' build of disks redundant
...
PR #5631 introduced code to build/create disks directly in the output
directory if `skip_export` was set in an attempt to optimise the build
process. These are no longer required.
2018-07-20 02:12:43 +01:00
DanHam
35b4e87c42
Add tests for export VM step
2018-07-20 02:12:43 +01:00
DanHam
30a71da8e7
Add tests for disk compaction step
2018-07-20 02:12:43 +01:00
DanHam
09028c14a3
Reintroduce the disk compaction process as a unique step
2018-07-20 02:12:43 +01:00
DanHam
da2df69301
Remove disk compaction from the export step
2018-07-20 02:12:42 +01:00
DanHam
c6b9d9ce90
Add checks/error reporting to compaction process
...
* Report compaction results
* Failure to find any disks under the supplied path is treated as a
'soft' error and a warning message will be printed in place of the
compaction result. Any other failure will cause the build to fail.
2018-07-20 02:12:42 +01:00