Update package name in devstack for ubuntu/jammy

For python3, `python-nose` has been changed to `python3-nose` in Ubuntu
Jammy Jellyfish. This change is to update the package name to avoid an
error on exit.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I4c21b6527f37918397f7fb425075eb6c07534237
This commit is contained in:
Yasufumi Ogawa 2022-11-09 05:23:25 +00:00
parent 55745a750c
commit c820d6f365
1 changed files with 6 additions and 2 deletions

View File

@ -128,11 +128,15 @@ function install_mistral {
# installing python-nose.
if is_fedora; then
if python3_enabled; then
if python3_enabled; then
real_install_package python3-nose
else
else
real_install_package python2-nose
fi
elif is_ubuntu; then
if python3_enabled; then
real_install_package python3-nose
fi
else
real_install_package python-nose
fi