Commit 5af7eb2c authored by Yusei Tahara's avatar Yusei Tahara

Add a script to generate computer_definition.cfg for non-ipv6 slapproxy enironment.

parent 573a7f2f
import sys
a = """
[partition_{i}]
address = 127.0.0.1/255.255.255.255 ::1/ffff:ffff:ffff:ffff::
network_interface = lo
user = slapuser{i}
pathname = slappart{i}"""
print """[computer]
address = ::1/ffff:ffff:ffff:ffff::"""
for i in range(int(sys.argv[1])):
print a.format(i=i)
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