Commit Graph

9802 Commits

Author SHA1 Message Date
Omer Katz c0719a3590
Allow using a custom inventory file. 2018-04-05 12:56:07 +03:00
Megan Marsh cfbe026134
Merge pull request #6100 from vkatsikaros/patch-1
Add simpler example for chef client in local mode
2018-04-03 09:41:57 -07:00
vkatsikaros 8fdd20ec2d
Add simpler example for chef client in local mode
The existing documentation example looks intimidating as it includes:
* variable interpolation
* configuration of the chef provisioner
* and it misses the `config_template` file
In the issue comments, [simpler and complete example](https://github.com/hashicorp/packer/issues/3355#issuecomment-198134727) exists already and works out of the box.

This change adds the simpler and complete example, while leaving the more complicated example intact.
2018-04-03 16:29:51 +03:00
Matthew Hooker 5206427a47
Update go-fs.
Closes #6083
2018-04-02 20:13:07 -07:00
Matthew Hooker bc5cf25d69
update github link to point to hashicorp 2018-04-02 20:09:32 -07:00
Megan Marsh f2df7a45ba
Merge pull request #6096 from arizvisa/GH-5882
Fixes the DHCP lease and configuration pathfinders for VMware Player.
2018-04-02 16:57:20 -07:00
Megan Marsh 67d2de8de1
Merge pull request #6079 from hashicorp/do_5866
add user data and user data file to oracle oci builder
2018-04-02 16:48:48 -07:00
Megan Marsh d6e5b01a23
Merge pull request #6095 from hashicorp/OPaniC
prevent panics when cleaning up resources that haven't been created.
2018-04-02 16:34:34 -07:00
Megan Marsh 22608f3efd
Merge pull request #6088 from adongy/master
Expose more source ami data in the template
2018-04-02 16:32:16 -07:00
Matthew Hooker 7e13b5c62a
prevent panics when cleaning up resources that haven't been created. 2018-04-02 11:56:11 -07:00
Matthew Hooker 704cd85f51
Merge pull request #6089 from hashicorp/oracle-classic-valdiation
Validate destination image name.
2018-04-02 11:32:09 -07:00
Matthew Hooker 52f69cd91a
Validate image name. 2018-04-02 11:22:15 -07:00
Megan Marsh 3a058b8b67
Merge pull request #6082 from SympaHannuPiki/hyperv-iso-builder-copyexportedvm-powershell-issue
Fixing Hyper-V ISO builder CopyExportedVirtualMachine PowerShell
2018-04-02 11:19:21 -07:00
Matthew Hooker 70426af4eb
update contributing link 2018-04-02 10:59:59 -07:00
Matthew Hooker ce04476931
update contributing link 2018-04-02 10:55:16 -07:00
Matthew Hooker 6f7044c0f6
move contributing doc out of root 2018-04-02 10:52:27 -07:00
Matthew Hooker c0bd4fdafe
Add PR lifecycle to contributing doc. 2018-04-02 10:52:05 -07:00
Anthony Dong 5b7e058d0a Add documentation for template variables available for tagging 2018-04-02 19:32:14 +02:00
Megan Marsh 95dabc3406
Merge pull request #6094 from hashicorp/je.segment2
Adjustments to analytics scripts
2018-04-02 09:54:02 -07:00
Jeff Escalante a952148800 adjustments to analytics scripts
- remove existing GTM tag from head to prevent double tracking
- adjust selector to not include non-download links
- send a cleaner breakdown of download parameters for easier analysis
2018-04-02 12:30:15 -04:00
Ali Rizvi-Santiago 2c2904c095 Modified the path finders for the Player driver in the vmware-builders to search through all the possible variations for dhcp configuration and leases.. 2018-03-30 18:19:25 -05:00
Ali Rizvi-Santiago 7e9699675f Modified device matching logs to look more consistent. 2018-03-30 18:15:46 -05:00
Matthew Hooker 0533e1ad9c
Validate destination image name. 2018-03-30 13:01:52 -07:00
Megan Marsh ec5eba82cc add docs for user_data_file and user_data to oracle-oci builder page 2018-03-30 10:57:40 -07:00
Christopher Boumenot 2f18f24325
Merge pull request #6087 from delgod/multiple-azure-accounts
handle multiple Azure accounts correctly
2018-03-30 10:45:20 -07:00
ADO 04790695e6 Add interpolate_build_info_test tests 2018-03-30 16:46:35 +02:00
ADO 507b3619e7 Expose more source ami data in the template 2018-03-30 10:47:11 +02:00
Mykola Marzhan 3cfbec623a handle multiple Azure accounts correctly 2018-03-30 09:23:31 +03:00
Matthew Hooker 3f94a49b70
update changelog 2018-03-29 16:21:49 -07:00
Matthew Hooker 60986ae682
better comment about why gnu tar 2018-03-29 16:18:55 -07:00
Matthew Hooker b97a36a5c7
Merge pull request #6085 from hashicorp/tar-go
conditionally set tar header on go >= 1.10
2018-03-29 16:16:43 -07:00
Matthew Hooker 742e366367
conditionally set tar header on go >= 1.10 2018-03-29 14:21:54 -07:00
Matthew Hooker 71dcc0f212
Merge pull request #6084 from StefanScherer/set-tar-header-format-gnu
Set tar header format to tar.FormatGNU
2018-03-29 13:53:28 -07:00
Stefan Scherer 832f390733
Set tar header format to tar.FormatGNU 2018-03-29 22:46:59 +02:00
Ali Rizvi-Santiago 6e176f97a0 Added logs to all of the VMware drivers that emits each detected network device that gets enumerated for a network. 2018-03-29 13:12:59 -05:00
Ali Rizvi-Santiago 646523c5f4 Replaced the call to os.Open and ReadNetworkMap to just a single call to ReadNetmapConfig in both the Workstation9 and Player5 VMware drivers. 2018-03-29 13:04:25 -05:00
Matthew Hooker f2fc064037
Merge pull request #6056 from rjosephwright/snapshots
Modify ebssurrogate builder to snapshot all launch devices
2018-03-29 10:15:19 -07:00
Matthew Hooker 541d33a80f
Merge pull request #6067 from mcandre/virtualbox-fixes
VirtualBox fixes
2018-03-29 10:13:49 -07:00
Matthew Hooker 2207255d91
Merge pull request #6080 from thedrow/patch-1
builder/qemu: Avoid warning when using raw format
2018-03-29 10:11:26 -07:00
Hannu Piki 3ffaf551c0 Fixing Hyper-V ISO builder CopyExportedVirtualMachine PowerShell
Script wasn't able to handle path that Packer used to create VM in the first place:
"==> hyperv-iso: Copying to output dir...
==> hyperv-iso: Error exporting vm: PowerShell error: Move-Item : An object at the specified path C:\Users\HANNU~1.PIK does not exist.
==> hyperv-iso: At C:\Users\hannu.piki\AppData\Local\Temp\ps520830935.ps1:13 char:1
==> hyperv-iso: + Move-Item -Path "$srcPath/$vhdDirName" -Destination $dstPath -Verbose
==> hyperv-iso: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> hyperv-iso:     + CategoryInfo          : InvalidArgument: (:) [Move-Item], PSArgumentException
==> hyperv-iso:     + FullyQualifiedErrorId : Argument,Microsoft.PowerShell.Commands.MoveItemCommand"

Used path was: C:\Users\HANNU~1.PIK\AppData\Local\Temp\packerhv616791918\export253729206\2016min
Real path was: C:\Users\hannu.piki\AppData\Local\Temp\packerhv616791918\export253729206\2016min
2018-03-29 18:34:14 +03:00
Omer Katz 56af885212
Avoid warning when using raw format.
When using the raw image format and attempting to resize it we get the following error message:
```
WARNING: Image format was not specified for 'test.raw' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
```
Specifying the format will remove this warning.
2018-03-29 14:51:02 +03:00
Megan Marsh 883ec47a1f
Merge pull request #6076 from pop/patch-1
Update qemu Basic Example
2018-03-28 15:30:50 -07:00
Megan Marsh 7623c26e4e
Merge pull request #6057 from arizvisa/GH-5925
Fixed a case-sensitivity issue when determing the network type during the cloning step in the vmware-vmx builder
2018-03-28 13:54:09 -07:00
Megan Marsh a0623b7ae7
Merge pull request #6075 from hashicorp/remove_security_protocol
remove redundant security_protocol code from the winrm implementation…
2018-03-28 13:31:53 -07:00
Megan Marsh 16d044b398 add user data and user data file to oracle oci builder 2018-03-28 13:27:41 -07:00
Elijah Caine M. Voigt 091ac8fa59
Update qemu basic example
Referenced `iso_url` was a dud.
Added updated iso url and md5 checksum.
2018-03-28 11:22:20 -07:00
Megan Marsh 58ecd32289 remove redundant security_protocol code from the winrm implementation of the oracle-classic provisioner 2018-03-28 10:54:06 -07:00
Matthew Hooker 14e1c4ebee
fix json formatting issue 2018-03-28 09:04:06 -07:00
Loïc Carr f6135a440c builder/scaleway: bump dependencies
This dependency bump solves #5879
2018-03-28 10:30:14 +02:00
Megan Marsh 7fd0cfa764
Merge pull request #6065 from wtsi-hgi/fix/ansible-inventory-dir
use InventoryDirectory as inventory when set
2018-03-27 16:58:27 -07:00