9707 Commits

Author SHA1 Message Date
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
Megan Marsh
17db461404
Merge pull request #6058 from mayn/fix-docs-commands
docs/commands - update options to match those listed in command help output
2018-03-27 11:00:25 -07:00
Matthew Aynalem
a9660c0aea docs/commands - update options to match those listed in command help output 2018-03-26 16:39:37 -07:00
Andrew Pennebaker
fdc6ac631a fix vbox scancodes and support critical key combinations during boot-time operations 2018-03-26 18:35:45 -05:00
Megan Marsh
1d97382e0f version 1.2.3 dev 2018-03-26 14:23:07 -07:00
Megan Marsh
3fbab16abf cut v1.2.2 2018-03-26 14:20:41 -07:00
Megan Marsh
96adae122f finalized Changelog for v1.2.2 2018-03-26 14:20:41 -07:00
Matthew Hooker
d7a1977a55
Merge pull request #6066 from colder-is-better/patch-1
Make minor edit
2018-03-26 12:23:22 -07:00
Christos Varelas
b8313e00f1
Make minor edit
H humble edit for a simple syntax error
2018-03-26 21:01:54 +02:00
Joshua C. Randall
406bf9c4aa override ansible executor inventory to use InventoryDirectory instead of InventoryFile when set 2018-03-26 17:24:58 +01:00
Ali Rizvi-Santiago
55702a697a Ack, forgot to :w in vim. Changed ui.Say in step_clone_vmx.go to use fmt.Sprintf as it originally was a call to log.Printf. 2018-03-25 19:03:46 -05:00
Joseph Wright
1913517d29 Fix formatting by running make fmt 2018-03-25 19:51:49 -04:00
Ali Rizvi-Santiago
72da7cbfbb Fixed a case-sensitivity issue when determing the network type during cloning in the vmware-vmx builder and added also some logs that output the different options that were determined from the .vmx. This outputs more accurate debug information and helps out with issue #5925 2018-03-25 18:51:37 -05:00
Joseph Wright
cb3699a584 Modify ebssurrogate builder to snapshot all launch devices
Documentation for ebssurrogate states that all of the devices in
`launch_block_device_mappings` are snapshotted and included in the
image. In fact, only the device that was designated as the root
device was snapshotted. This patch modifies the builder to create
snapshots of all the devices and include them in the image. This
allows creating images with separate filesystems preconfigured,
rather than having to add volumes to `ami_block_device_mappings`
and configure them after boot.
2018-03-25 19:37:44 -04:00
Stefan Henseler
03f0b4aa11 Fixes minor typo 2018-03-25 16:30:03 +02:00
Stefan Henseler
d31e35075e Removes obsolete code 2018-03-25 16:27:57 +02:00
Megan Marsh
b5635ac393
Merge pull request #6053 from hashicorp/fix5958
freebsd > 9 required note.
2018-03-23 15:59:30 -07:00
Megan Marsh
d1ce1f8114
Merge pull request #6050 from DanHam/minor-fixes
Minor fixes
2018-03-23 15:56:40 -07:00
Megan Marsh
7253d6547b minor LXD documentation tweaks 2018-03-23 15:46:39 -07:00
Megan Marsh
088b4ab275
Merge pull request #6038 from ChrisLundquist/clundquist/more-lxd-config
[WIP] LXD fixes and feature requests
2018-03-23 15:38:28 -07:00
Matthew Hooker
dee5bd3b2e
freebsd > 9 required note. 2018-03-23 14:54:54 -07:00
Matthew Hooker
2d4c1acc67
set environment when we deploy website 2018-03-23 10:21:24 -07:00
Matthew Hooker
0ccb811f76
Merge pull request #5996 from hashicorp/je.segment
Switch web analytics to segment
2018-03-23 10:08:16 -07:00
DanHam
ef4817d644 Fix vertical spacing 2018-03-23 14:01:30 +00:00
DanHam
191f407f5c
Fix copy/paste error in comment 2018-03-23 12:54:33 +00:00
DanHam
34db6c4ab1
Remove temp debugging output 2018-03-23 12:45:49 +00:00
Megan Marsh
072cd6b745
Merge pull request #5998 from hashicorp/do_5895
allow users of AWS to use the dynamically-generated admin password wh…
2018-03-22 16:01:22 -07:00
Megan Marsh
4e321b2dfa don't need to use a receiver with this function 2018-03-22 15:55:24 -07:00
Megan Marsh
7adb932e64
Merge pull request #6033 from hashicorp/fix6032
handle errors uploading files more gracefully
2018-03-22 14:37:10 -07:00
Megan Marsh
6abd75045a update changelog 2018-03-22 11:56:10 -07:00
Megan Marsh
95aa7e67bd
Merge pull request #5893 from neumayer/privateip
Allow using private ip addresses for oracle oci builder
2018-03-22 09:42:19 -07:00
Robert Neumayer
61432cd257 Update logs to talk about IP instead of public IP
When logging we don't know whether we use a private or public ip, just
the ip itself.
2018-03-22 09:08:25 +01:00
Matthew Hooker
91864b842f
remove skip_metadata_api_check from docs 2018-03-21 22:03:21 -07:00
Matthew Hooker
dc41b086fe
Document missing aws config params. 2018-03-21 22:00:39 -07:00
Yang Youseok
1f4212efa7 builder/openstack: Add instance_name config to OpenStack builder
RFC952 restricts hostname not to use underline(_) and period(.), so
private cloud with legacy DNS system does not allow just to use
image_name for name of server.

Add instance_name config option for servers which packer creates to
make instance_name configurable. If instance_name is not specified,
by default it works like the past using image_name for instance_name.
2018-03-22 11:20:14 +09:00
Megan Marsh
ef4f3f143b
Merge pull request #5985 from AndiDog/f-5979-vmware-fusion-guestip-lookup-multiple-devices
Handle multiple devices per VMware network type
2018-03-21 17:12:36 -07:00
Matthew Hooker
ac96e26c90
Merge pull request #6023 from ruzickap/feature/improve_documentation
Adding details to PACKER_BUILD_NAME to have it clear in the documentation how the variable is created
2018-03-21 15:57:47 -07:00
Stefan Henseler
1c5f34b4ad Merge branch 'hyper-v-disk-block-size' of github.com:synax/packer into hyper-v-disk-block-size 2018-03-21 22:59:31 +01:00
Stefan Henseler
7184e411e5 Adds documentation for hyperv-iso disk block size feature 2018-03-21 22:59:04 +01:00
Megan Marsh
587bf46c77
Merge pull request #6040 from boumenot/pr-azure-test-temp-naming
azure: unit tests for naming temp resources
2018-03-21 09:56:15 -07:00