fix syntax
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
dca0819fac
commit
545c9d61aa
2 changed files with 2 additions and 2 deletions
|
|
@ -76,4 +76,4 @@ function stop_vm {
|
||||||
|
|
||||||
qemu_stop_vm "${FLAGS_vm_name}"
|
qemu_stop_vm "${FLAGS_vm_name}"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ function create_subnet {
|
||||||
add_in_db "subnet" "${subnet_name}" "${vpc_name}" "${vxlan_id}" "${local_ip}" "${gateway_ip}" "${subnet}"
|
add_in_db "subnet" "${subnet_name}" "${vpc_name}" "${vxlan_id}" "${local_ip}" "${gateway_ip}" "${subnet}"
|
||||||
|
|
||||||
print_in_color "${COLOR_GREEN}" " - create veth"
|
print_in_color "${COLOR_GREEN}" " - create veth"
|
||||||
ip link add "vs-${subnet_id}-e" type veth peer name "vs-${subnet_id}-int" netns "${vpc_name}"
|
ip link add "vs-${subnet_id}-e" type veth peer name "vs-${subnet_id}-i" netns "${vpc_name}"
|
||||||
|
|
||||||
print_in_color "${COLOR_GREEN}" " - add bridges"
|
print_in_color "${COLOR_GREEN}" " - add bridges"
|
||||||
brctl addbr "br-${subnet_id}"
|
brctl addbr "br-${subnet_id}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue