X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=faiserver-setup;h=0bf61caf12940d5f559a53de2155bc55b61d2ed5;hb=06d7ec6b13af05465b2d88998be2bfbe7c3c43d6;hp=f1ab4bad195b033a2ba084916208dbd57b7300df;hpb=a027429011d313e0d9156fef9451f5a55a588163;p=automated-distro-installer diff --git a/faiserver-setup b/faiserver-setup index f1ab4ba..0bf61ca 100755 --- a/faiserver-setup +++ b/faiserver-setup @@ -15,8 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -set -eE -o pipefail -trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR +x="$(readlink -f "$BASH_SOURCE")"; source "${x%/*}/bash-trace" [[ $EUID == 0 ]] || exec sudo "${BASH_SOURCE}" "$@" @@ -148,6 +147,8 @@ fi # tried out a stretch base, doesn't work yet. # $sed -f - /etc/fai/nfsroot.conf <