Updating script references for openrc

Old location: /etc/nova/openrc
New location: /etc/platform/openrc

The collect script exclude folder is also updated
since /etc/nova and etc/cinder no longer exist on
baremetal.

Story: 2004764
Task: 29907
Change-Id: Iae521fb1d6d394f7ffcf474e7726963215b88bcd
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This commit is contained in:
Al Bailey 2019-04-08 08:44:56 -05:00
parent 86d844ebf2
commit ca74c5401f
5 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,3 @@
/etc/cinder/volumes
/etc/nova/instances
/etc/postgresql
/etc/alternatives
/etc/terminfo

View File

@ -11,7 +11,7 @@ if [ $UID -eq 0 ]; then
fi
# environment for system commands
source /etc/nova/openrc
source /etc/platform/openrc
declare -a CONTROLLER
declare -a COMPUTE

View File

@ -11,7 +11,7 @@ if [ $UID -eq 0 ]; then
fi
# environment for system commands
source /etc/nova/openrc
source /etc/platform/openrc
declare -a BLADES
BLADES=( $(system host-list | awk '(/compute|controller|storage/) {print $4;}') )

View File

@ -11,7 +11,7 @@ if [ $UID -eq 0 ]; then
fi
# environment for system commands
source /etc/nova/openrc
source /etc/platform/openrc
declare -a BLADES
BLADES=( $(system host-list | awk '(/compute|controller|storage/) {print $4;}') )

View File

@ -11,7 +11,7 @@ if [ $UID -eq 0 ]; then
fi
# environment for system commands
source /etc/nova/openrc
source /etc/platform/openrc
declare -a BLADES
declare -a CONTROLLER