Replace site for sirius initscript.
Faiyaz Ahmed [Thu, 3 Apr 2008 18:37:03 +0000 (18:37 +0000)]
db-config

index 74e6998..64c5e24 100755 (executable)
--- a/db-config
+++ b/db-config
@@ -537,7 +537,7 @@ def main():
             file = open(root + "/" + f, "ro")
             default_initscripts.append({"name": plc['slice_prefix'] + "_" + f,
                                         "enabled": True,
-                                        "script": file.read()})
+                                        "script": file.read().replace("XXXSITEXXX", url)})
             file.close()
 
     # Get list of existing initscripts