diff options
-rw-r--r-- | src/sbin/GenerateHostInfo | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sbin/GenerateHostInfo b/src/sbin/GenerateHostInfo index 96d44a974..6afc84e5c 100644 --- a/src/sbin/GenerateHostInfo +++ b/src/sbin/GenerateHostInfo @@ -45,8 +45,7 @@ def pretty_print(element, level=0): if __name__ == '__main__': c = ConfigParser() c.read(['/sandbox/hagedorn/bcfg2.conf']) - #hostinfopath = "%s/hostinfo.xml" % c.get('server', 'metadata') - hostinfopath = "/sandbox/hagedorn/hostinfo.xml" + hostinfopath = "%s/hostinfo.xml" % c.get('server', 'metadata') metadatapath = "%s/metadata.xml" % c.get('server', 'metadata') configpath = "%s/report-configuration.xml" % c.get('server', 'metadata') domainlist = c.get('statistics', 'domainlist').replace("\'","").split(",") |