X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-redep;h=0c234597b34e5515de5113fc0aac9c1e5fe63551;hb=a43d3eec943c5f0491b300214a3c744d31a6e542;hp=8ff1df2c9b2f284b0c9e9900acf4c8e38835be5c;hpb=f57ad4edaeb132a77cecc6a1ee627dfd54c4b677;p=automated-distro-installer diff --git a/fai-redep b/fai-redep index 8ff1df2..0c23459 100755 --- a/fai-redep +++ b/fai-redep @@ -1,4 +1,5 @@ -#!/bin/bash -lx +#!/bin/bash -l +set -x # Deploy fai configuration to faiserver, # then start a virtual machine to test the config. @@ -6,21 +7,27 @@ set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR -ssh root@faiserver rm -rf /srv/fai/config/\* -scp -r /a/bin/fai/fai/config root@faiserver:/srv/fai -ssh root@faiserver tee -a /srv/fai/config/class/DESKTOP.var <