X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fbasefiles%2Fmk-basefile;h=3f539d8b782e44d0f1e489621a92c004652cea8d;hb=b4ba8c86e19533882a261c89de4d49fb5da6ccd2;hp=591a87836cce9293b5fd47ec9cd38c94efe2e2ed;hpb=c4337bdfa287cb3160b294d58c64b51f870117ea;p=automated-distro-installer diff --git a/fai/config/basefiles/mk-basefile b/fai/config/basefiles/mk-basefile index 591a878..3f539d8 100755 --- a/fai/config/basefiles/mk-basefile +++ b/fai/config/basefiles/mk-basefile @@ -20,8 +20,8 @@ # Define your local mirros here # For the first stage, set the CentOS/SLC mirror in /etc/rinse/rinse.conf -MIRROR_DEBIAN=http://httpredir.debian.org/debian/ -MIRROR_DEBIAN=http://localmirror/debian/ +MIRROR_DEBIAN=http://http.us.debian.org/debian +#MIRROR_DEBIAN=http://localmirror/debian/ MIRROR_UBUNTU=http://mirror.netcologne.de/ubuntu/ MIRROR_CENTOS=http://mirror.netcologne.de/ #MIRROR_CENTOS=http://localmirror @@ -188,6 +188,16 @@ jessie() { tarit } +stretch() { + + local arch=$1 + + check + debootstrap --arch $arch --exclude=${EXCLUDE_JESSIE} --include=${INCLUDE_DEBIAN} stretch $xtmp ${MIRROR_DEBIAN} + cleanup-deb + tarit +} + trusty() { local arch=$1 @@ -275,6 +285,7 @@ case "$target" in WHEEZY64) wheezy amd64 ;; JESSIE32) jessie i386 ;; JESSIE64) jessie amd64 ;; + STRETCH64) stretch amd64 ;; *) unknown ;; esac