Commit d10324f2 authored by Marco Mariani's avatar Marco Mariani Committed by Cédric de Saint Martin

fixed call to initializeConnection

parent 981318e8
......@@ -89,8 +89,9 @@ def init(conf, logger):
aliases to common software releases"""
# XXX check certificate and key existence
slap = slapos.slap.slap()
slap.initializeConnection(conf.master_url, conf.master_rest_url,
key_file=conf.key_file, cert_file=conf.cert_file)
slap.initializeConnection(conf.master_url,
key_file=conf.key_file, cert_file=conf.cert_file,
slapgrid_rest_uri=conf.master_rest_url)
local = globals().copy()
local['slap'] = slap
# Create global shortcut functions to request instance and software
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment