Update vmcreate.sh

This commit is contained in:
2025-10-28 10:23:01 +00:00
parent 0234ad8d95
commit c13c0f21e1

View File

@@ -125,8 +125,9 @@ while getopts "a:f:hk:u:p:d:n:t:" opt; do
done done
if [ $harule ]; then if [ $harule ]; then
echo "CURRENT AFFINITY RULES:" hostcheck "$harule"
echo if [ $? -ne 0 ]; then echo "HArule should contain only letters, numbers and dashes. Aborting."; exit 1; fi
fi
if [[ $node -lt 1 || $node -gt 4 ]]; then if [[ $node -lt 1 || $node -gt 4 ]]; then
echo "Node number is not in [1..4]. Please specify correct node number. Aborting" echo "Node number is not in [1..4]. Please specify correct node number. Aborting"