git://git.onelab.eu
/
mom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117f386
)
Use hostname instead of planetlab.org if config file can't be found.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Thu, 24 Apr 2008 20:39:29 +0000
(20:39 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Thu, 24 Apr 2008 20:39:29 +0000
(20:39 +0000)
pl_mom.py
patch
|
blob
|
history
diff --git
a/pl_mom.py
b/pl_mom.py
index
f058eb4
..
bcb77c4
100644
(file)
--- 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):
"""