From 307f9c6ecbed238f82965adfc0600672ed9bfe83 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Oct 05 2016 19:12:40 +0000 Subject: Update quickrun to use root-mounted instance Signed-off-by: Patrick Uiterwijk Reviewed-by: Howard Johnson --- diff --git a/quickrun.py b/quickrun.py index c509a3f..5d73081 100755 --- a/quickrun.py +++ b/quickrun.py @@ -76,7 +76,11 @@ def config(workdir): conf_template = f.read() t = Template(conf_template) text = t.substitute({'debugging': 'True', - 'instance': 'idp', + 'root_instance': True, + 'needs_mount': '# ', + 'instance': 'root', + 'instanceurl': '', + 'script_alias': '/', 'staticdir': os.getcwd(), 'datadir': workdir, 'cachedir': cachedir, @@ -99,7 +103,7 @@ def init(workdir): # Initialize SAML2, since this is quite tricky to get right cert = Certificate(os.path.join(workdir, 'saml2')) cert.generate('certificate', 'ipsilon-quickrun') - url = 'http://localhost:8080/idp' + url = 'http://localhost:8080/' validity = 365 * 5 meta = IdpMetadataGenerator(url, cert, timedelta(validity))