1 # RootResources/pl_conf
3 PL_CONF_VINIT = """#!/bin/sh
5 # crond needs syslogd running
6 /sbin/chkconfig syslog on
8 # use crond to check for updates
9 /sbin/chkconfig crond on
11 cat <<EOF >/etc/cron.daily/yum-upgrade
14 rm -f /var/lib/rpm/__db*
17 chmod a+x /etc/cron.daily/yum-upgrade
19 PACKAGE=sidewinder-PlanetLab-SCS
20 rm -f /var/lib/rpm/__db*
21 yum -y install $PACKAGE
25 pl_conf = RootSlice(nm_vserver_flags = "static",
27 nm_initscript = PL_CONF_VINIT)