From: Daniel Hokka Zakrisson <dhokka@cs.princeton.edu>
Date: Mon, 9 Nov 2009 01:21:22 +0000 (+0000)
Subject: Move /etc/hosts to a new category.
X-Git-Tag: MyPLC-4.3-31~3
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a52e293592358bb8186ecedc04dd498de5eb3f55;p=myplc.git

Move /etc/hosts to a new category.
---

diff --git a/default_config.xml b/default_config.xml
index 48a7f03..b0e54b7 100644
--- a/default_config.xml
+++ b/default_config.xml
@@ -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