Skip to content

Commit adcf40d

Browse files
committed
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
1 parent 1987cfb commit adcf40d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

stack.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,10 @@ if [ -z "`grep ^127.0.0.1 /etc/hosts | grep $LOCAL_HOSTNAME`" ]; then
335335
sudo sed -i "s/\(^127.0.0.1.*\)/\1 $LOCAL_HOSTNAME/" /etc/hosts
336336
fi
337337

338+
# Ensure python is installed
339+
# --------------------------
340+
is_package_installed python || install_package python
341+
338342

339343
# Configure Logging
340344
# -----------------

0 commit comments

Comments
 (0)