Enhance Add bootstrap installer (#16)

Added bootstrap installer to help simplify the install
Checks for root
Checks what OS (in a way that can be expanded)
If > Debian 8
- Install Git
- Fetch the rest of the installer
- Start the Install passing though command line options
This commit is contained in:
Mafoo
2016-06-08 14:04:57 +01:00
committed by FusionPBX
parent 75cd7ebaac
commit bb2079323d
3 changed files with 50 additions and 6 deletions

3
debian/install.sh vendored
View File

@@ -33,6 +33,9 @@ if [ $HELP = true ]; then
exit;
fi
# removes the cd img from the /etc/apt/sources.list file (not needed after base install)
sed -i '/cdrom:/d' /etc/apt/sources.list
#Update Debian
echo "Update Debian"
apt-get upgrade && apt-get update -y --force-yes