X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsite_avenger%2Frevamp_cakelampvm.sh;h=b71d8835fc59d35daa3de0b53a646573cd673ffe;hb=6bda4d6860a516f5d24d2d3ec45be18628602e57;hp=8dd187f9acdb9b65a3e47e51290c06e1a34d3cb4;hpb=9ec7a5da5c1dfc0ca264e2e166f2c19bcf4a51b2;p=feisty_meow.git diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index 8dd187f9..b71d8835 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -9,6 +9,11 @@ if [[ $EUID != 0 ]]; then exit 1 fi +if [[ ! $(hostname) == *cakelampvm* ]]; then + echo "This script is only designed to be run on the cakelampvm host." + exit 1 +fi + ############## export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory.