Fix argparse issue for RHEL 6.5.
Since RHEL 6.5 uses Python 2.6, which lacks argparse, they need to be installed to ensure that os-apply-config and os-refresh-config work properly. Change-Id: I80dcce56d00fc6f1240a5fcccd425cc2b4db29d5
This commit is contained in:
parent
701bf0e912
commit
d088fde2ea
|
@ -18,6 +18,7 @@ else
|
|||
/opt/stack/venvs/os-apply-config/bin/pip install -U 'setuptools>=1.0'
|
||||
# bug #1293812 : Avoid easy_install triggering on pbr.
|
||||
/opt/stack/venvs/os-apply-config/bin/pip install -U 'pbr>=0.6,<1.0'
|
||||
/opt/stack/venvs/os-apply-config/bin/pip install -U 'argparse'
|
||||
/opt/stack/venvs/os-apply-config/bin/pip install --pre -U os-apply-config
|
||||
fi
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ else
|
|||
/opt/stack/venvs/os-refresh-config/bin/pip install -U 'setuptools>=1.0'
|
||||
# bug #1293812 : Avoid easy_install triggering on pbr.
|
||||
/opt/stack/venvs/os-refresh-config/bin/pip install -U 'pbr>=0.5.21,<1.0'
|
||||
/opt/stack/venvs/os-refresh-config/bin/pip install -U 'argparse'
|
||||
/opt/stack/venvs/os-refresh-config/bin/pip install --pre -U os-refresh-config
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue