Change Dump file storage location
Changed the dump storage location from /tmp/dumps to
/var/lib/phosphor-debug-collector/dumps
Change-Id: I792f7661d377cb8fc5d77441a61b640fd5c2daf4
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/module/obmc/wsgi/apps/rest_dbus.py b/module/obmc/wsgi/apps/rest_dbus.py
index 5719236..6560367 100644
--- a/module/obmc/wsgi/apps/rest_dbus.py
+++ b/module/obmc/wsgi/apps/rest_dbus.py
@@ -747,8 +747,7 @@
verbs = 'GET'
rules = ['/download/dump/<dumpid>']
content_type = 'application/octet-stream'
- ''' TODO openbmc/issues #1795, Change dump path'''
- dump_loc = '/tmp/dumps'
+ dump_loc = '/var/lib/phosphor-debug-collector/dumps'
suppress_json_resp = True
def __init__(self, app, bus):