X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-redep;h=68d51d5f135459c51206973692c6b42911d89701;hb=177bb603a1bb8f72a13e798b83c7b9da15594747;hp=97ccfaeb3dccf6956fcc788ad23fe3da56ef8375;hpb=2eebb95531424e04797094d622eebdd7ece5b38b;p=automated-distro-installer diff --git a/fai-redep b/fai-redep index 97ccfae..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 <