diff options
author | mbeierl <mark.beierl@dell.com> | 2017-05-02 10:42:56 -0400 |
---|---|---|
committer | Mark Beierl <mark.beierl@dell.com> | 2017-05-03 13:41:20 +0000 |
commit | e2109854dbb3691aafdab1572f95c5aac0b10cde (patch) | |
tree | 928211ea3ab4bb7352b50719d32d7d15b1e3aec4 | |
parent | a3c3e7ff26f4d86d0b0084647a333a0fa794ccd5 (diff) |
Fix admin.rc generation
Explicitly filters out anything that is not an environment variable.
Change-Id: I0694649623b837d2ab4b2196abf45973d0e63168
JIRA: STORPERF-124
Signed-off-by: mbeierl <mark.beierl@dell.com>
(cherry picked from commit 8f7c8dbd36e04f4976562bbe527e2b3efcfa332e)
-rwxr-xr-x | ci/generate-admin-rc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/generate-admin-rc.sh b/ci/generate-admin-rc.sh index 07a0a3e..3c0b33a 100755 --- a/ci/generate-admin-rc.sh +++ b/ci/generate-admin-rc.sh @@ -42,5 +42,5 @@ then echo export OS_PROJECT_NAME=admin >> job/openstack.rc fi -sed "s/export //" job/openstack.rc > job/admin.rc +grep "export" job/openstack.rc | sed "s/export //" > job/admin.rc echo "INSTALLER_TYPE=${INSTALLER}" >> job/admin.rc |