X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-redep;h=0c234597b34e5515de5113fc0aac9c1e5fe63551;hb=a43d3eec943c5f0491b300214a3c744d31a6e542;hp=64368e420fab64767893b1970a66dae2b8995819;hpb=604a522486fe83ad027508100575776161c8bc91;p=automated-distro-installer diff --git a/fai-redep b/fai-redep index 64368e4..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,23 +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 <