Fix for sed in write_bifrost_clouds_yaml function
Fixed sed replacement line. Change-Id: I2e26a08ea37e5f558af533b38d096f011ed2a5b8
This commit is contained in:
parent
470a36a7b5
commit
29c6f2ef88
@ -627,7 +627,7 @@ function write_bifrost_clouds_yaml {
|
|||||||
if [[ ! -f ~/.config/openstack/clouds.yaml ]]; then
|
if [[ ! -f ~/.config/openstack/clouds.yaml ]]; then
|
||||||
mkdir -p ~/.config/openstack
|
mkdir -p ~/.config/openstack
|
||||||
scp stack@$SEED_IP:/home/stack/.config/openstack/clouds.yaml ~/.config/openstack/clouds.yaml
|
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
|
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."
|
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
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user