diff --git a/addhost b/addhost index a2c89fe..a848968 100755 --- a/addhost +++ b/addhost @@ -41,7 +41,7 @@ if test -z "$cmd_hostname"; then fi if [[ ! $naming_override ]]; then - if [[ ! "$cmd_hostname" =~ ^([a-z]+)-(sthb|dco|tug)-(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)-([1-9][0-9]*).sunet.se$ ]]; then echo "$cmd_hostname is not following the naming standard: function-location-environment-number.sunet.se" exit 1 fi