Commit 36580b4 1 parent e63b9c1 commit 36580b4 Copy full SHA for 36580b4
File tree 1 file changed +3
-3
lines changed
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):
707
707
- /bin/bash
708
708
- -c
709
709
- |
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 {}
711
711
networks:
712
712
nebula-net-scenario:
713
713
ipv4_address: {}
@@ -735,7 +735,7 @@ def start_nodes_docker(self):
735
735
- /bin/bash
736
736
- -c
737
737
- |
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 {}
739
739
deploy:
740
740
resources:
741
741
reservations:
@@ -958,7 +958,7 @@ def start_nodes_process(self):
958
958
commands += "sleep 2\n "
959
959
commands += f'echo "Running node { node ["device_args" ]["idx" ]} ..."\n '
960
960
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 "
962
962
commands += "echo $! >> $PID_FILE\n \n "
963
963
964
964
commands += 'echo "All nodes started. PIDs stored in $PID_FILE"\n '
You can’t perform that action at this time.
0 commit comments