# Mark Huang <mlhuang@cs.princeton.edu>
# Copyright (C) 2006 The Trustees of Princeton University
#
-# $Id: network,v 1.3 2006/05/16 17:09:34 mlhuang Exp $
+# $Id: network 129 2007-03-20 12:04:03Z thierry $
#
# Source function library and configuration
. /etc/plc.d/functions
. /etc/planetlab/plc_config
+# Be verbose
+set -x
+
case "$1" in
start)
MESSAGE=$"Generating network files"
# Minimal /etc/hosts
echo "127.0.0.1 localhost.localdomain localhost" >/etc/hosts
(
- for server in API BOOT WWW ; do
+ for server in DB API BOOT WWW ; do
hostname=PLC_${server}_HOST
ip=PLC_${server}_IP
if [ -n "${!ip}" ] ; then