diff --git a/scripts/openstack-server b/scripts/openstack-server index 9bcc7bc..54a387a 100755 --- a/scripts/openstack-server +++ b/scripts/openstack-server @@ -264,7 +264,7 @@ def parse_drive_fqdn(fqdn: str) -> tuple: else: customer = 'common' hostname = fqdn.split('.')[0] - number = re.sub(r'[a-z.]', '', hostname) + number = re.sub(r'[-a-z.]', '', hostname) location = 'sto4' if number == '3': location = 'sto3'