common/command/template,packer/template: fix build name ConfigTemplate processing [GH-858]
adding default nodename
allow none checksumtype for qemu builder (copy/paste from virtualbox)

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
add missing variable

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
fix digitalocean v2 api content-type when using json

In case of using json we need to set content-type header.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
add error code for failed auth

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
Merge branch 'master' of github.com:vtolstov/packer into digitalocean
Merge branch 'master' of github.com:vtolstov/packer into digitalocean
Use sudo only if prevent_sudo is not set
add CD-ROM only if not used disk_image, also boot from it only if CD-ROM present

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
disk_filename is used for artifacts, but it missed in case of disk_image = true

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
fix using private ip address in digitalocean builder

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
Resolves issue where docker communicator mishandled symlinks by treating them as files
consistent escaping for ovftool uri creds

I got thrown for a loop since the username is uri-escaped but the password was not.

I got thrown for another couple of loops due to the multiple levels of interpretation involved:
1) JSON syntax requires backslashes to be slash-escaped. Some vCenter deployments use windows domain-style usernames DOMAIN\user
2) the OVFTOOL docs specify that "all special characters" be uri-encoded when part of the user name or password
3) different shell interpretations on windows/linux

I'd say escape both or neither.
Merge pull request #1672 from ryanbreed/patch-1

Use consistent escaping for ovftool uri creds
Merge pull request #1662 from vtolstov/disk_image

When using disk_image CD-ROM not needed
Merge pull request #1650 from vtolstov/digitalocean

fix digitalocean v2 api content-type when using json
Merge pull request #1645 from vtolstov/qemu_disk

Allow none checksumtype for qemu builder
Merge pull request #1628 from israelshirk/hotfix/docker-communicator-symlink

Fixes Docker communicator mishandling of symlinks in UploadDir()
Merge pull request #1525 from scott2449/master

Add default nodename for chef-client