X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-redep;h=68d51d5f135459c51206973692c6b42911d89701;hb=442bbc2cfd5c4f81f7de11a0b5b8145204cdea32;hp=ca8fb6096bff0dd8bc4c7d8102dda78ba348ee07;hpb=3f252d6d03ae2a7c85e852d5ebe24ac59a4dcd25;p=automated-distro-installer diff --git a/fai-redep b/fai-redep index ca8fb60..68d51d5 100755 --- a/fai-redep +++ b/fai-redep @@ -14,15 +14,21 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -set -x - -# Deploy fai configuration to faiserver, -# then start a virtual machine to test the config. - set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR -cd $(dirname $(readlink -f "$BASH_SOURCE")) +x="$(readlink -f "$BASH_SOURCE")"; cd ${x%/*} + +usage() { + cat <