Commit 0f6fe445 authored by Romain Courteaud's avatar Romain Courteaud

Provide default parameters also when slapconsole is used

parent 8b7ec35e
......@@ -76,9 +76,12 @@ if is_slave not in [True, False]:\n
empty_parameter = """<?xml version="1.0" encoding="utf-8"?>\n
<instance>\n
</instance>"""\n
empty_parameter2 = """<?xml version=\'1.0\' encoding=\'utf-8\'?>\n
<instance/>"""\n
\n
\n
# XXX Hardcode default parameter\n
if instance_xml == empty_parameter:\n
if (instance_xml == empty_parameter) or (instance_xml.startswith(empty_parameter2)):\n
if software_release_url_string == "http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/erp5-frontend:/software/erp5/software.cfg": \n
instance_xml = """<?xml version="1.0" encoding="utf-8"?>\n
<instance>\n
......
767
\ No newline at end of file
768
\ No newline at end of file
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