X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;ds=sidebyside;f=faiserver-setup;h=491cfda4107b274ef69f378b1c6fbe390df8dacd;hb=5f680f6bea2faae10ca8e5ccea0d08d18ccc9aa1;hp=78786c26dd35bbbe572cb74dd95379401618b013;hpb=e499b43b888c951fd4c255b2853f0af2350400c4;p=automated-distro-installer diff --git a/faiserver-setup b/faiserver-setup index 78786c2..491cfda 100755 --- a/faiserver-setup +++ b/faiserver-setup @@ -43,8 +43,6 @@ esac 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. @@ -181,7 +179,7 @@ fi 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 @@ -231,8 +229,10 @@ EOF # 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