Modify already doesn't enforce this.
People seem to prefer this convention, and we used transactions to
create and modify machines, so we don't think there are likely to be
problems. It should result in nicer hostnames.
(tabbott ghosting as ecprice again)
svn path=/trunk/web/; revision=162
<table>
<tr>
<td>Name</td>
<table>
<tr>
<td>Name</td>
- <td>${user.username}_<input type="text" name="name" value=""/></td>
+ <td><input type="text" name="name" value=""/></td>
</tr>
<tr>
<td>Memory</td>
</tr>
<tr>
<td>Memory</td>
name = fields.getfirst('name')
if not validMachineName(name):
raise InvalidInput('name', name)
name = fields.getfirst('name')
if not validMachineName(name):
raise InvalidInput('name', name)
- name = user.username + '_' + name.lower()
if Machine.get_by(name=name):
raise InvalidInput('name', name,
if Machine.get_by(name=name):
raise InvalidInput('name', name,