MIRROR_DEBIAN=http://http.us.debian.org/debian
#MIRROR_DEBIAN=http://localmirror/debian/
MIRROR_UBUNTU=http://mirror.netcologne.de/ubuntu/
+MIRROR_TRISQUEL=http://mirror.fsf.org/trisquel/
MIRROR_CENTOS=http://mirror.netcologne.de/
#MIRROR_CENTOS=http://localmirror
#MIRROR_SLC=http://localmirror
EXCLUDE_SQUEEZE=isc-dhcp-client,isc-dhcp-common,info,tasksel,tasksel-data
EXCLUDE_WHEEZY=isc-dhcp-client,isc-dhcp-common,info,tasksel,tasksel-data
EXCLUDE_JESSIE=isc-dhcp-client,isc-dhcp-common,info,tasksel,tasksel-data
+EXCLUDE_BELENOS=dhcp3-client,dhcp3-common,info
EXCLUDE_TRUSTY=dhcp3-client,dhcp3-common,info
EXCLUDE_XENIAL=isc-dhcp-client,isc-dhcp-common,udhcpc,dibbler-client,dhcpcd5,info,tasksel,tasksel-data
}
+belenos() {
+ ln -sf gutsy /usr/share/debootstrap/scripts/belenos
+ local arch=$1
+
+ check
+ debootstrap --arch $arch --exclude=${EXCLUDE_BELENOS} --include=${INCLUDE_DEBIAN} belenos $xtmp ${MIRROR_TRISQUEL}
+ cleanup-deb
+ tarit
+}
+
unknown() {
echo "Unknown distribution. Aborting."
SLC7_64) slc amd64 7 ;;
TRUSTY32) trusty i386 ;;
TRUSTY64) trusty amd64 ;;
+ BELENOS64) belenos amd64 ;;
XENIAL32) xenial i386 ;;
XENIAL64) xenial amd64 ;;
SQUEEZE32) squeeze i386 ;;