devstack can call python before parsing the
package requirements, so the python installation
needs to be done eralier.
Closes-Bug: #1488625
Change-Id: I85cca899aeedd741cf7dc695435d61390e260f22
... | ... |
@@ -335,6 +335,10 @@ if [ -z "`grep ^127.0.0.1 /etc/hosts | grep $LOCAL_HOSTNAME`" ]; then |
335 | 335 |
sudo sed -i "s/\(^127.0.0.1.*\)/\1 $LOCAL_HOSTNAME/" /etc/hosts |
336 | 336 |
fi |
337 | 337 |
|
338 |
+# Ensure python is installed |
|
339 |
+# -------------------------- |
|
340 |
+is_package_installed python || install_package python |
|
341 |
+ |
|
338 | 342 |
|
339 | 343 |
# Configure Logging |
340 | 344 |
# ----------------- |