aboutsummaryrefslogtreecommitdiff
path: root/provision/desktop-full
diff options
context:
space:
mode:
Diffstat (limited to 'provision/desktop-full')
-rwxr-xr-xprovision/desktop-full12
1 files changed, 10 insertions, 2 deletions
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