X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/bee5d6b79f93e627eb105cd443701ac1975fd927..7056b4a677d783f326b2b9209a550d899f274644:/code/main.py diff --git a/code/main.py b/code/main.py index c419f32..98fe1a8 100755 --- a/code/main.py +++ b/code/main.py @@ -136,7 +136,7 @@ def hasVnc(status): def parseCreate(user, fields): name = fields.getfirst('name') if not validation.validMachineName(name): - raise InvalidInput('name', name, 'You must provide a machine name.') + raise InvalidInput('name', name, 'You must provide a machine name. Max 22 chars, alnum plus \'-\' and \'_\'.') name = name.lower() if Machine.get_by(name=name):