diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-12-13 10:53:42 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2021-12-13 10:56:26 +0100 |
commit | 9719f4b294b4d295ed62848c3a82a5271eb86139 (patch) | |
tree | bce39c6ef28735827150dd366d323dfb0c3586d7 /mknet | |
parent | 1607ceaf5c6d2e5f9b8656dedd53049c66eaa079 (diff) | |
download | mknet-9719f4b294b4d295ed62848c3a82a5271eb86139.tar.gz mknet-9719f4b294b4d295ed62848c3a82a5271eb86139.zip |
Change env name + fix python casting
Diffstat (limited to 'mknet')
-rwxr-xr-x | mknet | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |