core: allow '.' in domain name

This commit is contained in:
Wojtek Porczyk 2015-03-10 22:03:28 +01:00
parent 20b3fdedb8
commit 19dfe3d390

View File

@ -543,7 +543,7 @@ class QubesVm(object):
return False
if len(name) > 31:
return False
return re.match(r"^[a-zA-Z][a-zA-Z0-9_-]*$", name) is not None
return re.match(r"^[a-zA-Z][a-zA-Z0-9_.-]*$", name) is not None
def pre_rename(self, new_name):
# fire hooks