Merge "Set right endpoint IP in ssh tunnel"
This commit is contained in:
commit
4c8716ec29
|
@ -6,4 +6,3 @@ undercloud_custom_vmlinuz: "{{ working_dir }}/overcloud-full.vmlinuz"
|
|||
undercloud_custom_initrd: "{{ working_dir }}/overcloud-full.initrd"
|
||||
|
||||
ssh_tunnel_service_file: ssh-tunnel.service.j2
|
||||
ssh_tunnel_target_ip: "{{ undercloud_network_cidr|nthhost(1) }}"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
{% set ssh_tunnel_target_ip = "https://%s" % undercloud_network_cidr|nthhost(2) if undercloud_generate_service_certificate|bool else "http://%s:3000" % undercloud_network_cidr|nthhost(1) %}
|
||||
|
||||
[Unit]
|
||||
Description=Set up ssh tunneling for TripleO
|
||||
After=network.target
|
||||
|
|
Loading…
Reference in New Issue