forked from 3wordchant/capsul-flask
capacity limiter and general cleanup
This commit is contained in:
@ -10,7 +10,7 @@ three_dots() {
|
||||
|
||||
vmname="$1"
|
||||
|
||||
if echo "$vmname" | grep -vqE '^capsul-[a-z0-9]{10}$'; then
|
||||
if echo "$vmname" | grep -vqE '^(cvm|capsul)-[a-z0-9]{10}$'; then
|
||||
echo "vmname $vmname must match "'"^capsul-[a-z0-9]{10}$"'
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user