Update vmcreate.sh
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user