From adcf40d5f8ec0509fe9230e04bf0bd3f269a3f53 Mon Sep 17 00:00:00 2001 From: Attila Fazekas Date: Thu, 5 Nov 2015 09:47:38 +0100 Subject: [PATCH] Ensure python is installed devstack can call python before parsing the package requirements, so the python installation needs to be done eralier. Closes-Bug: #1488625 Change-Id: I85cca899aeedd741cf7dc695435d61390e260f22 --- stack.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stack.sh b/stack.sh index 825ed968f3..afb695836b 100755 --- a/stack.sh +++ b/stack.sh @@ -335,6 +335,10 @@ if [ -z "`grep ^127.0.0.1 /etc/hosts | grep $LOCAL_HOSTNAME`" ]; then sudo sed -i "s/\(^127.0.0.1.*\)/\1 $LOCAL_HOSTNAME/" /etc/hosts fi +# Ensure python is installed +# -------------------------- +is_package_installed python || install_package python + # Configure Logging # -----------------