b15973407a
According to https://docs.openstack.org/charm-guide/latest/project/charm-delivery.html#tracks-for-the-openstack-charms-project octopus is the supported release for OpenStack victoria, so victoria must be included in the UCA codename map. Otherwise the charm cannot determine correctly what action should be taken after upgrading the `source` to victoria. Closes-Bug: 2071875 Change-Id: Ia756c1df0f9d4b98bbb89586eda0534bcc28b041
14 lines
321 B
Bash
Executable File
14 lines
321 B
Bash
Executable File
#!/bin/bash
|
|
charm=$(grep "charm_build_name" osci.yaml | awk '{print $2}')
|
|
echo "renaming ${charm}_*.charm to ${charm}.charm"
|
|
echo -n "pwd: "
|
|
pwd
|
|
ls -al
|
|
echo "Removing bad downloaded charm maybe?"
|
|
if [[ -e "${charm}.charm" ]];
|
|
then
|
|
rm "${charm}.charm"
|
|
fi
|
|
echo "Renaming charm here."
|
|
mv ${charm}_*.charm ${charm}.charm
|