This repository has been archived by the owner on Nov 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Failed to parse URI #97
Comments
after lot of debug I found it does not a like password like this 'Z#l]zMs&Pp4I' need a fix bad! |
RVC::URIParser.parse(%{user:bzX#s&[email protected]}) |
Try the following instead: RBVMOMI_USER=user
export RBVMOMI_USER
read -r -s -p Password: RBVMOMI_PASSWORD
export RBVMOMI_PASSWORD
rvc vcenter.example.com |
Thanks looks to be working! Thanks a lot! |
looks like ovftool dislikes those characters in the password as well? any suggestion on a environment variable for that? I know this is off topic for rvc but could not find a better place to ask this question without creating an account with vmware. |
I haven't used ovftool, but this article indicates that you should be able to URL encode the odd characters. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Trying to find out why rvc fails when password has odd characters? I am calling it from bash
read -r -s -p Password: _pass
rvc "$_user":"$_pass"@vcenter.example.com give the following error
Failed to parse URI "asifqwest:@vctr-01.example.net": bad component(expected user component):
Looks like it breaks with certain passwords?
The text was updated successfully, but these errors were encountered: