e() { echo "$@"; "$@"; }
-# When stretch becomes stable, change this to stretch.
-# I\'ve tested this with stretch, it works, but notably,
# the automatic basefile getting will be for stretch
# instead of jessie, so if you install jessie, you need
# to setup the basefile and it\'s corresponding class.
if armhf; then
cd /srv/fai
rm -rf nfsroot
- tar Jxf /a/bin/fai-basefiles/base.tar.xz
+ tar Jxf /a/bin/fai-basefiles/basefiles/STRETCH64.tar.xz
# background: Can't build the nfsroot on my arm system now. First,
# fai-make-nfsroot won't work out of the box. One idea to make it work
# is by installing qemu-user-static, then copying qemu-x86_64-static
# seem contradictory, but it works.
fai-setup -evag
-else
- e fai-setup -e -vf
+else # not armhf
+ # note, this copies the -B arg to
+ # /srv/fai/nfsroot/var/tmp/base.tar.xz
+ e fai-setup -evf -B /a/bin/fai-basefiles/basefiles/STRETCH64.tar.xz
# make the faiserver also the apt proxy server
apt-get -y install apt-cacher-ng
fi