X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai-revm;h=d8833ab4b01e2e920f6f31bc2793a64c56f0b763;hb=bf19e9969f50a637c8fabf724eb9e292da472e01;hp=6271a36bfa4980f3be53fa0ca4dd1efe977d4141;hpb=c4337bdfa287cb3160b294d58c64b51f870117ea;p=automated-distro-installer diff --git a/fai-revm b/fai-revm index 6271a36..d8833ab 100755 --- a/fai-revm +++ b/fai-revm @@ -14,13 +14,8 @@ # 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 -# Note, sometimes shutting down the existing demohost vm -# fails. Just run again if that happens. -# Deploy fai configuration to faiserver, -# then start a virtual machine to test the config. cleanup() { :; } set -eE -o pipefail @@ -29,8 +24,43 @@ script_dir=$(dirname $(readlink -f "$BASH_SOURCE")) e() { echo "$*"; "$@"; } -# I had this set false as default before, can't remember why. oh well. + +usage() { + cat <