use the working dir var vs. user variables
use the working dir var to determine where the ssh keys are for the undercloud. Closes-Bug: #1752947 Change-Id: I78111aa3f3c1c9f86358303a4f3f412ffc57025b
This commit is contained in:
parent
1f135b50d3
commit
b10dbd4f7a
|
@ -10,7 +10,7 @@ ExecStart=/usr/bin/ssh -NT -o \
|
|||
UserKnownHostsFile=/dev/null -o \
|
||||
StrictHostKeyChecking=no -o \
|
||||
ExitOnForwardFailure=no -i \
|
||||
/home/{{ ssh_user }}/id_rsa_undercloud {{ ssh_user }}@{{ undercloud_ip }} \
|
||||
{{ working_dir }}/id_rsa_undercloud {{ ssh_user }}@{{ undercloud_ip }} \
|
||||
-L 0.0.0.0:6385:{{ ssh_tunnel_target_ip }}:6385 \
|
||||
-L 0.0.0.0:5000:{{ ssh_tunnel_target_ip }}:5000 \
|
||||
-L 0.0.0.0:5050:{{ ssh_tunnel_target_ip }}:5050 \
|
||||
|
|
Loading…
Reference in New Issue