You are viewing a plain text version of this content. The canonical link for it is here.
Posted to tashi-commits@incubator.apache.org by rg...@apache.org on 2010/08/19 18:24:49 UTC
svn commit: r987260 - /incubator/tashi/trunk/src/zoni/extra/util.py
Author: rgass
Date: Thu Aug 19 18:24:48 2010
New Revision: 987260
URL: http://svn.apache.org/viewvc?rev=987260&view=rev
Log:
capturing new config options from the config file
Modified:
incubator/tashi/trunk/src/zoni/extra/util.py
Modified: incubator/tashi/trunk/src/zoni/extra/util.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/zoni/extra/util.py?rev=987260&r1=987259&r2=987260&view=diff
==============================================================================
--- incubator/tashi/trunk/src/zoni/extra/util.py (original)
+++ incubator/tashi/trunk/src/zoni/extra/util.py Thu Aug 19 18:24:48 2010
@@ -53,6 +53,11 @@ def loadConfigFile(parser):
# Image store
config['imageServerIP'] = parser.get("imageStore", "IMAGE_SERVER_IP").split()[0]
+ config['fsImagesBaseDir'] = parser.get("imageStore", "FS_IMAGES_BASE_DIR").split()[0]
+
+ # WWW
+ config['wwwDocumentRoot'] = parser.get("www", "WWW_DOCUMENT_ROOT").split()[0]
+ config['registrationBaseDir'] = parser.get("www", "REGISTRATION_BASE_DIR").split()[0]
# SNMP
config['snmpCommunity'] = parser.get("snmp", "SNMP_COMMUNITY").split()[0]