new config option SHORTNAME
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 16 Jan 2009 14:11:15 +0000 (14:11 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 16 Jan 2009 14:11:15 +0000 (14:11 +0000)
default_config.xml
plc-config-tty

index 492e609..c61eca1 100644 (file)
@@ -29,6 +29,14 @@ $Id$
          PlanetLab Support).</description>
        </variable>
 
+       <variable id="shortname" type="string">
+         <name>Shortame</name>
+         <value>Tlab</value>
+         <description>The short name of this PLC installation. It is
+         mostly used in the web interface when displaying local
+         objects.</description>
+       </variable>
+
        <variable id="slice_prefix" type="string">
          <name>Slice Prefix</name>
          <value>pl</value>
index 1e45cdc..1e07481 100755 (executable)
@@ -35,6 +35,7 @@ def init_flavour (flavour):
     else:
         service="plc"
         usual_variables=("PLC_NAME",
+                         "PLC_SHORTNAME",
                          "PLC_SLICE_PREFIX",
                          "PLC_ROOT_USER",
                          "PLC_ROOT_PASSWORD",