From 29c6f2ef887ab8205d12818de9388df7ddd66e52 Mon Sep 17 00:00:00 2001
From: Rafal Lewandowski <rafal@stackhpc.com>
Date: Tue, 4 Oct 2022 16:24:15 +0200
Subject: [PATCH] Fix for sed in write_bifrost_clouds_yaml function

Fixed sed replacement line.

Change-Id: I2e26a08ea37e5f558af533b38d096f011ed2a5b8
---
 dev/functions | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/functions b/dev/functions
index 3b9f3be2..1055481a 100644
--- a/dev/functions
+++ b/dev/functions
@@ -622,12 +622,12 @@ function overcloud_test {
 
 function write_bifrost_clouds_yaml {
     SEED_IP="192.168.33.5"
-    
+
     # Pull clouds.yaml from Bifrost container and change certificate path.
     if [[ ! -f ~/.config/openstack/clouds.yaml ]]; then
         mkdir -p ~/.config/openstack
         scp stack@$SEED_IP:/home/stack/.config/openstack/clouds.yaml ~/.config/openstack/clouds.yaml
-        sed -i 's|/home/stack/.config/openstack/bifrost.crt|~/.config/bifrost/bifrost.crt|g' ~/.config/openstack/clouds.yaml
+        sed -i 's|/home/stack/.config/openstack/bifrost.crt|~/.config/openstack/bifrost.crt|g' ~/.config/openstack/clouds.yaml
     else
         echo "Not updating clouds.yaml file because it already exists at $HOME/.config/openstack/clouds.yaml. Try removing it if authentication against Bifrost fails."
     fi
-- 
GitLab