#!/bin/bash # Exit immediately if anything goes wrong, instead of making things worse. set -e source $REPO_ROOT/bootstrap/shared/shared_functions.sh # Set this to max value to ensure leftover mon VMs are destroyed export CLUSTER_NODE_COUNT_OVERRIDE=6 cd $REPO_ROOT/bootstrap/vagrant_scripts && vagrant destroy -f (CommandList children: [ (C {(set)} {(-e)}) (C {(.)} {($ VSub_Name "$REPO_ROOT") (/bootstrap/shared/shared_functions.sh)}) (C {(export)} {(Lit_VarLike "CLUSTER_NODE_COUNT_OVERRIDE=") (6)}) (AndOr children: [ (C {(cd)} {($ VSub_Name "$REPO_ROOT") (/bootstrap/vagrant_scripts)}) (C {(vagrant)} {(destroy)} {(-f)}) ] op_id: Op_DAmp ) ] )