No longer force user_ at start of machine name on machine creation.
[invirt/packages/invirt-web.git] / templates / main.py
index e5dae26..36ea239 100755 (executable)
@@ -353,7 +353,7 @@ def create(user, fields):
     name = fields.getfirst('name')
     if not validMachineName(name):
         raise InvalidInput('name', name)
-    name = user.username + '_' + name.lower()
+    name = name.lower()
 
     if Machine.get_by(name=name):
         raise InvalidInput('name', name,