Does not exit after w/W, so as to allow for a restart to be issued afterwards
[myplc.git] / plc_config.xml
index 6f8d068..a9e1a7e 100644 (file)
@@ -1,5 +1,15 @@
-<?xml version="1.0"?>
-<!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "configuration.dtd">
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+Default PLC configuration file
+
+Mark Huang <mlhuang@cs.princeton.edu>
+Copyright (C) 2006 The Trustees of Princeton University
+
+$Id: plc_config.xml,v 1.11 2006/04/24 18:04:25 mlhuang Exp $
+-->
+
+<!DOCTYPE configuration PUBLIC "-//PlanetLab Central//DTD PLC configuration//EN" "plc_config.dtd">
 
 <configuration>
   <variables>
@@ -28,9 +38,9 @@
          not be changed.</description>
        </variable>
 
-       <variable id="root_user" type="password">
+       <variable id="root_user" type="email">
          <name>Root Account</name>
-         <value>root@test.planet-lab.org</value>
+         <value>root@localhost.localdomain</value>
          <description>The name of the initial administrative
          account. We recommend that this account be used only to create
          additional accounts associated with real
          and warnings.</description>
        </variable>
 
-       <variable id="support_address">
+       <variable id="support_address" type="email">
          <name>Support Address</name>
-         <value>root@localhost</value>
+         <value>root+support@localhost.localdomain</value>
          <description>This address is used for support
          requests. Support requests may include traffic complaints,
          security incident reporting, web site malfunctions, and
          Tracker.</description>
        </variable>
 
-       <variable id="boot_address">
+       <variable id="boot_address" type="email">
          <name>Boot Messages Address</name>
-         <value>root@localhost</value>
+         <value>root+install-msgs@localhost.localdomain</value>
          <description>The API will notify this address when a problem
-         occurs during node installation or boot. If a domain is not
-         specified, the default system domain will be used
-         name.</description>
+         occurs during node installation or boot.</description>
+       </variable>
+
+       <variable id="slice_address" type="email">
+         <name>Slice Address</name>
+         <value>root+SLICE@localhost.localdomain</value>
+         <description>This address template is used for sending
+         e-mail notifications to slices. SLICE will be replaced with
+         the name of the slice.</description>
        </variable>
       </variablelist>
     </category>
 
        <variable id="host" type="hostname">
          <name>Hostname</name>
-         <value>localhost</value>
+         <value>localhost.localdomain</value>
          <description>The fully qualified hostname or IP address of
          the database server. This hostname must be resolvable and
          reachable by the rest of your installation.</description>
 
        <variable id="host" type="hostname">
          <name>Hostname</name>
-         <value>localhost</value>
+         <value>localhost.localdomain</value>
          <description>The fully qualified hostname or IP address of
          the API server. This hostname must be resolvable and
          reachable by the rest of your installation, as well as your
 
        <variable id="maintenance_user" type="string">
          <name>Maintenance User</name>
-         <value>maint@test.planet-lab.org</value>
+         <value>maint@localhost.localdomain</value>
          <description>The username of the maintenance account. This
          account is used by local scripts that perform automated
          tasks, and cannot be used for normal logins.</description>
 
        <variable id="host" type="hostname">
          <name>Hostname</name>
-         <value>localhost</value>
+         <value>localhost.localdomain</value>
          <description>The fully qualified hostname or IP address of
          the web server. This hostname must be resolvable and
          reachable by the rest of your installation, as well as your
 
        <variable id="host" type="hostname">
          <name>Hostname</name>
-         <value>localhost</value>
+         <value>localhost.localdomain</value>
          <description>The fully qualified hostname or IP address of
          the boot server. This hostname must be resolvable and
          reachable by the rest of your installation, as well as your
       <description>PlanetLab Central Packages</description>
       <uservisible>true</uservisible>
       <packagelist>
+       <!-- Basics -->
+       <packagereq type="mandatory">dev</packagereq>   
+
+       <!-- kernel-vserver is intended for the vserver-reference, but
+            serves the same useful purpose for MyPLC, namely, to
+            Provide: kernel without actually installing anything. -->
+       <packagereq type="mandatory">kernel-vserver</packagereq>        
+
        <!-- Sending mail -->
        <packagereq type="mandatory">sendmail</packagereq>
        <packagereq type="mandatory">sendmail-cf</packagereq>
        <packagereq type="mandatory">cvs</packagereq>
        <packagereq type="mandatory">curl</packagereq>
        <packagereq type="mandatory">wget</packagereq>
+       <packagereq type="mandatory">less</packagereq>
+       <packagereq type="mandatory">gzip</packagereq>
+       <packagereq type="mandatory">bzip2</packagereq>
+       <packagereq type="mandatory">cpio</packagereq>
+       <packagereq type="mandatory">tar</packagereq>
+       <packagereq type="mandatory">diffutils</packagereq>
 
        <!-- yum >=2.2 uses a new repository format -->
        <packagereq type="mandatory">createrepo</packagereq>
+       <packagereq type="mandatory">yum</packagereq>
+       <packagereq type="mandatory">rpm</packagereq>
 
        <!-- For mkpasswd -->
        <packagereq type="mandatory">expect</packagereq>
        <packagereq type="mandatory">xmlsec1-openssl</packagereq>
        <packagereq type="mandatory">openssl</packagereq>
 
-       <!-- bootcd is generated using mkisofs -->
-       <packagereq type="mandatory">mkisofs</packagereq>
-
-       <!-- bootcd and bootmanager images are signed using GPG -->
-       <packagereq type="mandatory">gnupg</packagereq>
-
-       <!-- bootmanager requires uuencode -->
-       <packagereq type="mandatory">sharutils</packagereq>
+       <!-- Customizable Boot CD and Boot Manager packages -->
+       <packagereq type="mandatory">bootcd</packagereq>
+       <packagereq type="mandatory">bootmanager</packagereq>
       </packagelist>
     </group>