VOL-331 VOL-327 Fixes to the installer to address the two Jiras listed
in addition to some typos and the early installation of Python to ensure
that ansible can run.

Change-Id: Ie97c93dc8ea9caaf9ad20c6eed5bdb1078799fbd
diff --git a/install/BootstrapInstaller.sh b/install/BootstrapInstaller.sh
index 5aba0cc..0532613 100644
--- a/install/BootstrapInstaller.sh
+++ b/install/BootstrapInstaller.sh
@@ -28,6 +28,19 @@
 echo -e "${lBlue}Defining the  ${lCyan}$iVmName${lBlue} virtual machine${NC}"
 cat vmTemplate.xml | sed -e "s/{{ VMName }}/$iVmName/g" | sed -e "s/{{ VMNetwork }}/$iVmNetwork/g" > tmp.xml
 
+# Check that the default storage pool exists and create it if it doesn't
+poolCheck=`virsh pool-list --all | grep default`
+if [ -z "$poolCheck" ]; then
+	virsh pool-define-as --name default --type dir --target /var/lib/libvirt/images/
+	virsh pool-autostart default
+	virsh pool-start default
+else
+	poolCheck=`virsh pool-list | grep default`
+	if [ -z "$poolCheck" ]; then
+		virsh pool-start default
+	fi
+fi
+
 # Copy the vm image to the default storage pool
 echo -e "${lBlue}Creating the storage for the ${lCyan}$iVmName${lBlue} virtual machine${NC}"
 # Copy the vm image to the installer directory