Skip to content
Snippets Groups Projects
Commit c6eae2b1 authored by NGUYEN Do Duc Anh's avatar NGUYEN Do Duc Anh
Browse files

add script set default ip for vc_server + fix bug call initiate for vc_node

parent eab1142a
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
sudo nmcli con mod INTERFACE_NAME ipv4.method manual
sudo nmcli con mod INTERFACE_NAME ipv4.addresses 192.168.1.10/24
sudo nmcli con mod INTERFACE_NAME ipv4.gateway 192.168.1.5
\ No newline at end of file
......@@ -233,7 +233,7 @@ def proceed_simple_VC():
# Start a new Python process to run another script based on Node decision
subprocess.run("/home/node/Desktop/gns3_unikernel_testbed/ubuntu_base /./initiate", shell=True, check=True)
subprocess.run("sudo /home/node/Desktop/gns3_unikernel_testbed/ubuntu_base/./initiate", shell=True, check=True)
print("A bridge br0 created")
if node.state == State.DECIDED_IN_VC:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment