fix scripts
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
CTHOSTNAME=$1
|
||||
CTPASS=$2
|
||||
USER=$3
|
||||
|
||||
echo Creating $CTHOSTNAME ...
|
||||
|
||||
@@ -17,6 +18,11 @@ if [[ -z "$CTPASS" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "$USER" ]]; then
|
||||
echo "USER not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -z "$LASTID" ]]; then
|
||||
LASTID=99
|
||||
fi
|
||||
|
Reference in New Issue
Block a user