Multiple updates. Converted many of the Yaml files from "dos" format to
"unix" format. Finalized the creation of the final installer file set
that can be copied to a USB Flash drive or other removable media.
Updated the config file with comments to make it more user friendly.
Deleted ansible files that were no longer needed. This update continues
to address the requirements laid out by Jira VOL-6.

Change-Id: I7434d2ec01768121e8d2ec50bb633c515281b37a
diff --git a/install/installVoltha.sh b/install/installVoltha.sh
new file mode 100755
index 0000000..f5ae9ff
--- /dev/null
+++ b/install/installVoltha.sh
@@ -0,0 +1,46 @@
+#!/bin/bash
+
+baseImage="Ubuntu1604LTS"
+iVmName="vInstaller"
+iVmNetwork="default"
+shutdownTimeout=5
+ipTimeout=10
+installerArchive="installer.tar.bz2"
+installerPart="installer.part"
+
+lBlue='\033[1;34m'
+green='\033[0;32m'
+orange='\033[0;33m'
+NC='\033[0m'
+red='\033[0;31m'
+yellow='\033[1;33m'
+dGrey='\033[1;30m'
+lGrey='\033[1;37m'
+lCyan='\033[1;36m'
+
+wd=`pwd`
+
+# Check if the tar file is available.
+echo -e "${lBlue}Checking for the installer archive ${lCyan}$installerArchive${NC}"
+
+if [ ! -f $installerArchive ]; then
+	# The installer file ins't there, check for parts to re-assemble
+	echo -e "${lBlue}Checking for the installer archive parts ${lCyan}$installerPart*${NC}"
+	fList=`ls ${installerPart}*`
+	if [ -z "$fList" ]; then
+		echo -e "${red} Could not find installer archive or installer archive parts, ABORTING.${NC}"
+		exit
+	else
+		# All is well, concatenate the files together to create the installer archive
+		echo -e "${lBlue}Creating the installer archive ${lCyan}$installerArchive${NC}"
+		cat $fList > installer.tar.bz2
+		rm -fr $fList
+	fi
+fi
+
+# Extract the installer files and bootstrap the installer
+echo -e "${lBlue}Extracting the content of the installer archive ${lCyan}$installerArchive${NC}"
+tar xjf $installerArchive
+echo -e "${lBlue}Starting the installer{NC}"
+chmod u+x BootstrapInstaller.sh
+./BootstrapInstaller.sh