From b3a37e1107e9444789e32efa7641ed6321df32b6 Mon Sep 17 00:00:00 2001 From: Faiyaz Ahmed Date: Thu, 24 Apr 2008 20:39:29 +0000 Subject: [PATCH] Use hostname instead of planetlab.org if config file can't be found. --- pl_mom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pl_mom.py b/pl_mom.py index f058eb4..bcb77c4 100644 --- a/pl_mom.py +++ b/pl_mom.py @@ -23,8 +23,8 @@ except: print "Warning: Configuration file /etc/planetlab/plc_config.py not found" PLC_NAME = "PlanetLab" PLC_SLICE_PREFIX = "pl" - PLC_MAIL_SUPPORT_ADDRESS = "support@planet-lab.org" - PLC_MAIL_SLICE_ADDRESS = "SLICE@slices.planet-lab.org" + PLC_MAIL_SUPPORT_ADDRESS = "root@" + socket.gethostname() + PLC_MAIL_SLICE_ADDRESS = "SLICE@" + socket.gethostname() def format_bytes(bytes, si = True): """ -- 2.43.0