Continuous Replication Manual initial seed
-
HI
i tried to to start Manual initial seed and i follow this guide https://xen-orchestra.com/docs/continuous_replication.html#configure-itmy issue is root credential has "@" charter so the script will read anything after the "@" as hostname
xo-cr-seed https://root:password@xen1.company.tld
-
Have you tried to escape it?
-
yes, no success
-
Ping @julien-f
-
Special characters in a URI component should be encoded using percent-encoding, in your case,
@
becomes%40
. -
@julien-f thank you
this really helped me
in addition the password must be inside "" for example P@ssw0rd be "P%40ssw)rd"thanks again @olivierlambert @julien-f
Regards -
FYI, an extremely basic command line to encode passwords:
> node -e 'process.stdin.on("data", _ => {console.log(encodeURIComponent(_.toString().trim())); process.exit()}); process.stdout.write("Password: ")' Password: foo@bar foo%40bar