Prevent conflicts between openrc files
When a system scoped openrc file is available, it is currently necessary to clear your environment between using the two differently scoped files. These changes tidy up the environment so the files can be used interchangeably. Change-Id: I2d45dd3d58bfc1ad1cb365d2cd4b866d5d25f9e6
This commit is contained in:
parent
8f528cc774
commit
3c232635fc
templates
@ -1,6 +1,11 @@
|
||||
# {{ ansible_managed }}
|
||||
export LC_ALL={{ openrc_locale }}
|
||||
|
||||
# Unset conflicting envs
|
||||
unset OS_PROJECT_NAME
|
||||
unset OS_TENANT_NAME
|
||||
unset OS_PROJECT_DOMAIN_NAME
|
||||
|
||||
# COMMON CINDER ENVS
|
||||
export CINDER_ENDPOINT_TYPE={{ openrc_cinder_endpoint_type }}
|
||||
|
||||
|
@ -1,6 +1,9 @@
|
||||
# {{ ansible_managed }}
|
||||
export LC_ALL={{ openrc_locale }}
|
||||
|
||||
# Unset conflicting envs
|
||||
unset OS_SYSTEM_SCOPE
|
||||
|
||||
# COMMON CINDER ENVS
|
||||
export CINDER_ENDPOINT_TYPE={{ openrc_cinder_endpoint_type }}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user