mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
M #: Fix FC clean script
This commit is contained in:
parent
466624ae64
commit
ac52475d07
@ -65,7 +65,7 @@ fi
|
||||
|
||||
# Check $VM_NAME have the right format
|
||||
regex='^one-[0-9]+$'
|
||||
if ! [[ "$VM_NAME" ~= $regex ]]; then
|
||||
if ! [[ "$VM_NAME" =~ $regex ]]; then
|
||||
exit -1
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user