Move /etc/hosts to a new category.
authorDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Mon, 9 Nov 2009 01:21:22 +0000 (01:21 +0000)
committerDaniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Mon, 9 Nov 2009 01:21:22 +0000 (01:21 +0000)
default_config.xml

index 48a7f03..b0e54b7 100644 (file)
@@ -124,12 +124,6 @@ $URL$
       <description>Network environment.</description>
 
       <variablelist>
-        <variable id="enabled" type="boolean">
-          <name>Enable network configuration</name>
-          <value>true</value>
-          <description>Let PLC manage /etc/hosts</description>
-        </variable>
-
        <variable id="dns1" type="ip">
          <name>Primary DNS Server</name>
          <value>127.0.0.1</value>
@@ -167,6 +161,22 @@ $URL$
       </variablelist>
     </category>
 
+    <category id="plc_hosts">
+      <name>/etc/hosts</name>
+      <description>MyPLC can setup /etc/hosts with the hostnames and
+      IP addresses specified for *_NAME and *_IP, or look up the IP
+      addresses if they are not specified in this configuration.
+      </description>
+
+      <variablelist>
+        <variable id="enabled" type="boolean">
+          <name>Enable /etc/hosts configuration</name>
+          <value>true</value>
+          <description>Let PLC manage /etc/hosts</description>
+        </variable>
+      </variablelist>
+    </category>
+
     <category id="plc_mail">
       <name>Mail</name>
       <description>Many maintenance scripts, as well as the API and