2014-10-23 05:44:21 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2014-10-14 16:02:12 +00:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# Global variables and functions
|
|
|
|
# ------------------------------------------------------------------------------
|
2014-10-16 16:03:05 +00:00
|
|
|
|
|
|
|
. ./functions.sh
|
|
|
|
|
2014-04-24 13:42:18 +00:00
|
|
|
# The codename of the debian version to install.
|
|
|
|
# jessie = testing, wheezy = stable
|
2014-10-28 08:09:55 +00:00
|
|
|
DEBIANVERSION=${DIST}
|
2014-04-24 13:42:18 +00:00
|
|
|
|
2014-10-14 16:02:12 +00:00
|
|
|
# Location to grab debian packages
|
2014-11-10 15:46:24 +00:00
|
|
|
DEBIAN_MIRROR=http://ftp.us.debian.org/debian
|
2014-10-14 16:02:12 +00:00
|
|
|
#DEBIAN_MIRROR=http://http.debian.net/debian
|
2014-11-10 15:46:24 +00:00
|
|
|
#DEBIAN_MIRROR=http://ftp.ca.debian.org/debian
|
2014-10-14 16:02:12 +00:00
|
|
|
|
2014-11-07 04:59:59 +00:00
|
|
|
APT_GET_OPTIONS="-o Dpkg::Options::="--force-confnew" --force-yes -y"
|