Commit Graph

11411 Commits

Author SHA1 Message Date
Adrien Delorme f91b668617
Create portCountArg in the if statement
You can't assign to something that doesn't exist

Co-Authored-By: edwardmlyte <edwardmlyte@gmail.com>
2019-01-08 16:15:24 +00:00
Ed Maxwell-Lyte a9eed311a6 Run gofmt on driver_4_2.go 2019-01-08 15:58:12 +00:00
Ed Maxwell-Lyte e5b1e0f4d9 Add version 0.x to the rule 2019-01-08 15:35:45 +00:00
Ed Maxwell-Lyte e40c90423f Reverse default port count virtualbox argument
As we know the exact versions that used the old `sataportcount` option, it's safe to assume we want to use the newer `portcount` option for everything else.

Reversed the option check and use the `portcount` option by default. Prevents needing to update this for future major versions of VirtualBox.
2019-01-08 14:14:26 +00:00
Adrien Delorme 65b3e67951
Merge pull request #7169 from DanHam/fix-md-links
Fix links broken by fmt-docs (Pandoc) due to newline
2019-01-07 15:38:43 +01:00
Rickard von Essen 1d8fd936bf
Updated CHANGELOG.md 2019-01-07 08:51:26 +01:00
Rickard von Essen e3f82d3725
Merge pull request #6933 from cb-oath/openstack-v2-network-optional
openstack: Make the config.networkV2Client conditional in StepAllocateIp
2019-01-07 08:48:38 +01:00
DanHam 2bc8cefb81
Fix links broken by fmt-docs (Pandoc) due to newline 2019-01-06 14:52:56 +00:00
Megan Marsh 0d489da41b
Merge pull request #7147 from ladar/fix-hyperv-boot-order
Fix the Hyper-V gen 1 guest boot order.
2019-01-04 16:41:07 -08:00
Megan Marsh 16149844a7
Merge pull request #7151 from nelsonjchen/qemu-whpx-option
Add support for whpx accelerator to qemu builder
2019-01-04 12:37:03 -08:00
Megan Marsh c789a68d89
Merge pull request #7154 from ladar/fix-hyperv-ssh-host-bug
Fix ssh_host bug in hyper-v builders.
2019-01-04 12:14:13 -08:00
Megan Marsh acc77b29a7
Merge pull request #7163 from hashicorp/fix_docker_file_provisioner_on_windows
Fix docker file provisioner on windows
2019-01-04 11:25:59 -08:00
Megan Marsh 8327669f21
Merge pull request #7162 from hashicorp/fix_7157
Fix 7157
2019-01-04 09:33:18 -08:00
Megan Marsh 532dd5fed9
Merge pull request #7166 from hashicorp/fix_7160
windows plugin: prioritize AppData over default user directory ( UserProfile )
2019-01-04 09:31:53 -08:00
Adrien Delorme ce8dd67501
Merge branch 'master' into fix_7157 2019-01-04 14:32:31 +01:00
Adrien Delorme 0621a3dd99
Merge pull request #7161 from hashicorp/fix_6348
add note about ansible to chroot builder
2019-01-04 14:23:43 +01:00
Adrien Delorme 7384b86e95 windows plugin: prioritize AppData over default user directory ( UserProfile )
It was the default behaviour before.
It is also standard for a binary to use files from the AppData directory. ex: c453e0c757/google/default.go (L104)

More on home: https://en.wikipedia.org/wiki/Home_directory
2019-01-04 14:14:38 +01:00
Megan Marsh 5c2da6b816 fix destination pathing so that it doesnt break on windows 2019-01-03 16:03:42 -08:00
Nelson Chen b39f398fda Add support for whpx accelerator to qemu builder
Windows Hypervisor Platform (WHPX) is the Windows counterpart to HVF and
KVM. It's an operating system provided component that provides
virtualization acceleration support.

This is kind of the missing counterpart to https://github.com/hashicorp/packer/pull/6193.
QEMU 2.12 also added support for WHPX.

There's no support for libvirt on Windows so nothing was added in those
areas.

The popular QEMU for Windows distribution does not have WHPX support
built-in for legal reasons as the maintainer does not wish to use or
obtain any part of Microsoft's SDK to compile the distribution.
2019-01-03 15:20:37 -08:00
Megan Marsh 624c58c678
Merge pull request #7152 from ripleymj/fix-vbox-doc-refs
Update VirtualBox.org documentation references
2019-01-03 13:56:40 -08:00
Mike Ripley 8391a93ecc Fix VirtualBox HREFs
Per feedback on PR 7152
2019-01-03 16:13:54 -05:00
Megan Marsh 111f6f51c8
Merge pull request #7153 from ladar/fix-vagrant-post-processor-documentation
Removed duplicate Azure, moved Docker entry.
2019-01-03 12:47:43 -08:00
Megan Marsh 6ff61b3cdf update docs for iso_url 2019-01-03 11:22:27 -08:00
Megan Marsh 82aadb3fe2 add note about ansible to chroot builder 2019-01-03 11:01:32 -08:00
Megan Marsh a99e1fc017 add note about ansible to chroot builder 2019-01-03 10:21:41 -08:00
Adrien Delorme 9a63e8eeb6
Merge pull request #7148 from ladar/fix-parallels-iso-docu
Updated prlctl section with a non-cpu/mem example.
2019-01-03 11:25:19 +01:00
Adrien Delorme 7132037faa
Merge pull request #7137 from YuSungDuk/fix_to_get_ssh_password
Fix to get ssh password
2019-01-03 11:22:14 +01:00
Mark Kwan 4d93956a8d Fix typo in changelog for 1.3.3 bug fixes. (#7145) 2019-01-03 10:39:44 +01:00
Ladar Levison 217028b902 Added comment regarding use of host param. 2018-12-27 03:34:08 -06:00
Ladar Levison 8a9962882c Use Printf not Println. D'oh. 2018-12-27 03:15:44 -06:00
Ladar Levison 35aaf44fa5 A properly formatted hyperv ssh.go file. 2018-12-27 02:55:14 -06:00
Ladar Levison cb0011d665 Fix ssh_host bug in hyper-v builders. 2018-12-27 02:33:58 -06:00
Ladar Levison 490b11ba15
Removed duplicate Azure, moved Docker entry.
The Docker entry was last, but should have been 4th, since it appears this list is supposed to be alpha ordered.
2018-12-26 22:25:58 -06:00
Mike Ripley bf9c67cf48 Update VirtualBox.org documentation references
VirtualBox documentation chapter numbers have changed, try to link the correct place.
2018-12-26 15:37:09 -05:00
Ladar Levison 89a5f545c4
Updated prlctl section with a non-cpu/mem example. 2018-12-25 23:14:12 -06:00
Ladar Levison e6de727c25
Fix the Hyper-V gen 1 guest boot order. 2018-12-25 16:54:26 -06:00
유성덕 fb62fa50df Add example file for linux server 2018-12-21 19:18:43 +09:00
유성덕 38c4e21563 Fix to get ssh password 2018-12-21 17:53:52 +09:00
유성덕 8b99260040 Fix parameter name and update 'server_image_product_code' 2018-12-21 17:40:10 +09:00
Megan Marsh 141f3b29f3
Merge pull request #7127 from ladar/master
Added change support to docker-import post processor.
2018-12-20 14:44:05 -08:00
Adrien Delorme 7655d2efb2
Add tencent cloud builder (#7135 & #6839) 2018-12-20 17:09:44 +01:00
Adrien Delorme e666b60d16
Merge pull request #7126 from hashicorp/fix_7125
fix packer crash that occurs when image is nil
2018-12-19 09:25:28 +01:00
Megan Marsh 56d722f779
Merge pull request #7130 from jo/openstack-add-volume-size-option
Openstack add volume size option
2018-12-18 16:35:25 -08:00
Megan Marsh d288f94073
Merge pull request #7128 from ladar/hyperv-legacy-network-adapter
Updated support for legacy network adapters on Hyper-V.
2018-12-18 15:32:35 -08:00
Johannes J. Schmidt a545caa24a use openstack volume_size option on creation
if present. Otherwise fallback to to source image min disk value (if
set) or calculated from the source image bytes size.

Note that in some cases this needs to be specified, if
`use_blockstorage_volume` is true. See #6957 for the discussion.
2018-12-18 23:59:54 +01:00
Johannes J. Schmidt 336c11c54a add openstack volume_size option
Adds an option to OpenStack, `volume_size` (int), which is the size of
the Block Storage service volume in GB.
2018-12-18 23:58:27 +01:00
Megan Marsh 59307d6d02
Merge pull request #7124 from hashicorp/fix_7120
clarify use of split function in docs
2018-12-18 10:08:37 -08:00
Christopher Boumenot acacf6e59c
Merge pull request #7111 from hashicorp/pr-7077-azure-regression
azure: fix snapshot regression
2018-12-18 09:53:52 -08:00
Ladar Levison bdcbf61ade Fixed replace variable name. 2018-12-18 06:18:51 -06:00
Ladar Levison fa154f5298 Fixed driver mock up formatting. 2018-12-18 06:14:38 -06:00