Ryan Breed
514b5f52f1
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.
2014-11-12 23:03:14 -06:00
hkhkhk1987
f61cc3f99c
Update post-processor.go
...
the ovftool can't refer to an object vi address without a "/" at the end of the address
2014-10-24 15:21:57 +08:00
Misha Brukman
c75a671c1e
Cleaned up Go formatting with gofmt.
2014-07-17 15:33:09 -04:00
Michael Kuzmin
2dd538ced8
post-processor/vsphere: url-escape username to accept DOMAIN\account values
2014-05-15 16:04:27 +04:00
Michael Kuzmin
b05129e52e
post-processor/vsphere: logging for upload parameters
2014-05-15 15:53:17 +04:00
Mitchell Hashimoto
3c2df9a132
post-processor/vsphere: comments and style
2014-04-30 15:52:01 -07:00
Michael Kuzmin
fce2fc526f
Optional parameters in vSphere post-processor.
...
datastore, vm_folder, and vm_network options can be omitted.
2014-04-30 16:02:09 +04:00
Mitchell Hashimoto
c19a5c6bb7
post-processors/vsphere: disk mode
2014-04-21 21:10:20 -07:00
Anthony Spring
41b009dcf1
Add disk mode configuration to allow users to specify the desired diskMode to ovftool: eagerZeroedThick , seSparse, thin and think. Defaults to thick per current ovftool default.
2014-01-03 02:07:36 -05:00
Mitchell Hashimoto
fa410f5a1a
post-processor/vsphere: template process in prepare phase
2013-12-11 14:01:14 -08:00
mheidenr
9df6b8f0c8
post-processor-vsphere: user variables for datastore
2013-12-02 13:53:13 +01:00
mheidenr
129749a2e4
post-processor-vsphere: user variables for vm_name, username, password
2013-12-02 12:39:52 +01:00
mheidenr
2aaec946b3
fix post-processor vsphere
2013-11-29 17:33:26 +01:00
Mitchell Hashimoto
6867c4f3e3
website: vsphere endpoint docs
2013-11-18 16:23:28 -08:00
Mitchell Hashimoto
b52132c650
post-processor/vsphere: cleanups
...
/cc @mheidenr - Some basic cleanups. :)
2013-11-18 16:04:38 -08:00
Mitchell Hashimoto
7d9b48e7f8
fmt
2013-11-18 15:57:31 -08:00
mheidenr
15766602c7
added post-processor-vsphere
2013-11-11 09:56:51 +01:00