Commit 39b6d46a authored by Rafael Monnerat's avatar Rafael Monnerat

[slapos-cli] Fix Append (use tuple)

parent 9fa16200
......@@ -247,7 +247,7 @@ def slapconfig(conf):
('create_tap', conf.create_tap)
]
if conf.ipv6_interface:
to_replace.append([('ipv6_interface', conf.ipv6_interface)])
to_replace.append(('ipv6_interface', conf.ipv6_interface))
for key, value in to_replace:
cfg = re.sub('%s\s+=.*' % key, '%s = %s' % (key, value), cfg)
......
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