added qa env to namecheck
This commit is contained in:
parent
c0d6e2724f
commit
0720cf9fb6
2
addhost
2
addhost
|
@ -41,7 +41,7 @@ if test -z "$cmd_hostname"; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! $naming_override ]]; then
|
if [[ ! $naming_override ]]; then
|
||||||
if [[ ! "$cmd_hostname" =~ ^([a-z]+)-(sthb|dco|tug|sto1|sto3)-(prod|dev|stage|test)-([1-9][0-9]*).sunet.se$ ]]; then
|
if [[ ! "$cmd_hostname" =~ ^([a-z]+)-(sthb|dco|tug|sto1|sto3)-(prod|dev|stage|test|qa)-([1-9][0-9]*).sunet.se$ ]]; then
|
||||||
echo "$cmd_hostname is not following the naming standard: function-location-environment-number.sunet.se"
|
echo "$cmd_hostname is not following the naming standard: function-location-environment-number.sunet.se"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue