From 9719f4b294b4d295ed62848c3a82a5271eb86139 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 13 Dec 2021 10:53:42 +0100 Subject: Change env name + fix python casting --- mknet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mknet') diff --git a/mknet b/mknet index 8eb276a..9081aeb 100755 --- a/mknet +++ b/mknet @@ -321,7 +321,7 @@ def runall(cmd): env["HOST"] = server.name env["IP"] = str(server.ip) env["ID"] = str(number) - env["SIZE"] = str(len(config['servers'])) + env["SERVER_COUNT"] = str(len(config['servers'])) name = f'testnet-{zone.name}-{server.name}' net.ns.run(name, cmd, env) number +=1 @@ -331,7 +331,7 @@ def runall(cmd): env["HOST"] = zone.name env["IP"] = str(zone.ip) env["ID"] = str(number) - env["SIZE"] = str(len(config['servers'])) + env["SERVER_COUNT"] = str(len(config['servers'])) name = f'testnet-{zone.name}-{zone.name}' net.ns.run(name, cmd, env) first = False -- cgit v1.2.3