packer-plugin-xenserver icon indicating copy to clipboard operation
packer-plugin-xenserver copied to clipboard

Support communicating with Xen API over TLS (#85)

Open chqr opened this issue 8 years ago • 2 comments

This commit adds two new config flags:

  • remote_url: url to use when connecting to the Xen API (defaults to http://{remote_host})
  • remote_url_tls_skip_verify: disables certificate verification for remote_url

I've added the second option because we are using self-signed certs on some of our our Xen servers (there are plans to fix this soon), but it could also be useful for others during testing/evaluation.

chqr avatar Jul 05 '17 14:07 chqr

@chqr - thanks for the PR.

Rather than make the user specify the full URL, do you not just need to be able to configure between using HTTP/HTTPS? I think having a protocol value default to HTTP which can be overiden might be nice from a config perspective. What do you think?

rdobson avatar Oct 18 '17 09:10 rdobson

@rdobson You are right, since there is existing configuration option called remote_host, remote_protocol probably makes more sense

chqr avatar Oct 20 '17 20:10 chqr