Changeset 166


Ignore:
Timestamp:
Oct 9, 2007, 11:15:11 PM (17 years ago)
Author:
ecprice
Message:

Machine name cannot be changed while the machine is running without
confusing the database. So, forbid it.

Help text for the machine change "owner" field.

Location:
trunk/web/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/templates/info.tmpl

    r161 r166  
    5757<p>Change settings:
    5858#if $on
    59 (To edit ram and disk size, turn off the machine first.)
     59(To edit ram, disk size, or machine name, turn off the machine first.)
    6060#end if
    6161</p>
     
    6363  <input type="hidden" name="machine_id" value="$machine.machine_id"/>
    6464  <table>
    65     <tr><td>Owner:</td><td><input type="text" name="owner", value="$machine.owner"/></td>
    66         <td>NOTE: The Owner must the name of a locker that you administer</td></tr>
     65    <tr><td>Owner$owner_help:</td><td><input type="text" name="owner", value="$machine.owner"/></td></tr>
    6766    <tr><td>Contact email:</td><td><input type="text" name="contact" value="$machine.contact"/></td></tr>
    68     <tr><td>Machine Name:</td><td><input type="text" name="name" value="$machine.name"/></td></tr>
    6967#if $machine.nics
    70     <tr><td>Hostname:</td><td><input type="text" name="hostname" value="$machine.nics[0].hostname"/>.servers.csail.mit.edu</td>
    71         <td>NOTE: The hostname must being with "Owner_".</td></tr>
     68    <tr><td>Hostname:</td><td><input type="text" name="hostname" value="$machine.nics[0].hostname"/>.servers.csail.mit.edu</td></tr>
    7269#end if
    7370#if not $on
     71    <tr><td>Machine Name:</td><td><input type="text" name="name" value="$machine.name"/></td></tr>
    7472    <tr><td>Ram:</td><td><input type="text" size=3 name="memory" value="$machine.memory"/>MB (max $max_mem)</td></tr>
    7573    <tr><td>Disk:</td><td><input type="text" size=3 name="disk" value="${machine.disks[0].size/1024.}"/>GB (max $max_disk)</td><td>WARNING: Modifying disk size may corrupt your data.</td></tr>
  • trunk/web/templates/main.py

    r165 r166  
    677677ParaVM machines use Xen's emulation of virtualization features.  You
    678678want an HVM virtualized machine.""",
    679                    cpu_weight="""Don't ask us!  We're as mystified as you are.""")
     679                   cpu_weight="""Don't ask us!  We're as mystified as you are.""",
     680                   owner="""The Owner must be the name of a locker that you are an AFS
     681administrator of.  In particular, you or an AFS group you are a member
     682of must have AFS rlidwka bits on the locker.  You can check see who
     683administers the LOCKER locker using the command 'fs la /mit/LOCKER' on
     684Athena.)""")
    680685   
    681686    d = dict(user=user,
     
    758763             max_mem=max_mem,
    759764             max_disk=max_disk,
     765             owner_help=helppopup("owner"),
    760766             fields = fields)
    761767    return Template(file='info.tmpl',
Note: See TracChangeset for help on using the changeset viewer.