File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -707,7 +707,7 @@ def start_nodes_docker(self):
707707 - /bin/bash
708708 - -c
709709 - |
710- {} && ifconfig && echo '{} host.docker.internal' >> /etc/hosts && python3.11 /nebula/nebula/node.py {}
710+ {} && ifconfig && echo '{} host.docker.internal' >> /etc/hosts && python /nebula/nebula/node.py {}
711711 networks:
712712 nebula-net-scenario:
713713 ipv4_address: {}
@@ -735,7 +735,7 @@ def start_nodes_docker(self):
735735 - /bin/bash
736736 - -c
737737 - |
738- {} && ifconfig && echo '{} host.docker.internal' >> /etc/hosts && python3.11 /nebula/nebula/node.py {}
738+ {} && ifconfig && echo '{} host.docker.internal' >> /etc/hosts && python /nebula/nebula/node.py {}
739739 deploy:
740740 resources:
741741 reservations:
@@ -958,7 +958,7 @@ def start_nodes_process(self):
958958 commands += "sleep 2\n "
959959 commands += f'echo "Running node { node ["device_args" ]["idx" ]} ..."\n '
960960 commands += f"OUT_FILE={ self .root_path } /app/logs/{ self .scenario_name } /participant_{ node ['device_args' ]['idx' ]} .out\n "
961- commands += f"python3.11 { self .root_path } /nebula/node.py { self .root_path } /app/config/{ self .scenario_name } /participant_{ node ['device_args' ]['idx' ]} .json > $OUT_FILE 2>&1 &\n "
961+ commands += f"python { self .root_path } /nebula/node.py { self .root_path } /app/config/{ self .scenario_name } /participant_{ node ['device_args' ]['idx' ]} .json > $OUT_FILE 2>&1 &\n "
962962 commands += "echo $! >> $PID_FILE\n \n "
963963
964964 commands += 'echo "All nodes started. PIDs stored in $PID_FILE"\n '
You can’t perform that action at this time.
0 commit comments