keystone_changed: Use auth_host provided by keystone instead of private-address.
This commit is contained in:
parent
a9da60b8d1
commit
8cc67396c5
|
@ -234,7 +234,7 @@ function keystone_changed {
|
|||
[[ "$token" == "-1" ]] &&
|
||||
juju-log "keystone_changed: admin token error" && exit 1
|
||||
juju-log "keystone_changed: Acquired admin. token"
|
||||
keystone_host=$(relation-get $r_args private-address)
|
||||
keystone_host=$(relation-get $r_args auth_host)
|
||||
|
||||
if [[ -n "$r_id" ]] ; then
|
||||
unset JUJU_REMOTE_UNIT JUJU_RELATION JUJU_RELATION_ID
|
||||
|
|
Loading…
Reference in New Issue