From 87b27c1c78df1afa2d8d94e0456845078773dde4 Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Mon, 7 Apr 2008 20:36:29 +0000 Subject: [PATCH] Added code to generate the plc_config.py file for inside of myplc environment. I hope this would be useful for addon scripts such as monitor or others. --- guest.init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guest.init b/guest.init index e95c34e..309523e 100755 --- a/guest.init +++ b/guest.init @@ -77,6 +77,9 @@ reload () if [ -n "$force" -o /etc/planetlab/plc_config.xml -nt /etc/planetlab/plc_config ] ; then plc-config --shell >/etc/planetlab/plc_config fi + if [ -n "$force" -o /etc/planetlab/plc_config.xml -nt /etc/planetlab/plc_config.py ] ; then + plc-config --python >/etc/planetlab/plc_config.py + fi if [ -n "$force" -o /etc/planetlab/plc_config.xml -nt /etc/planetlab/php/plc_config.php ] ; then mkdir -p /etc/planetlab/php plc-config --php >/etc/planetlab/php/plc_config.php -- 2.43.0