From 89fda71872bc5da1edc3e1b47e35264958fa1b73 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 10 Mar 2017 01:10:25 -0300 Subject: Provision fixes --- provision/desktop-full | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'provision/desktop-full') diff --git a/provision/desktop-full b/provision/desktop-full index 8c2d516..2973e4c 100755 --- a/provision/desktop-full +++ b/provision/desktop-full @@ -1,10 +1,18 @@ #!/bin/bash # -# Full desktop +# Full desktop provision example. # # Parameters -APT_INSTALL="LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y" +DIRNAME="`dirname $0`" +BASENAME="`basename $0`" +HOSTNAME="$1" +DOMAIN="$2" +MIRROR="$3" +APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y" + +# Provision the basic stuff +$DIRNAME/desktop-basic $HOSTNAME $DOMAIN $MIRROR # Install cinnamon $APT_INSTALL cinnamon -- cgit v1.2.3