Skip to content

Commit

Permalink
cni: add loopback to linux bridge (#10014)
Browse files Browse the repository at this point in the history
CNI changed how to bring up the interface in v0.2.0.
Support was moved to a new loopback plugin.

containernetworking/cni#121
  • Loading branch information
h0tw1r3 committed Jun 19, 2022
1 parent 0881131 commit 24b9238
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/allocrunner/networking_bridge_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ const nomadCNIConfigTemplate = `{
"cniVersion": "0.4.0",
"name": "nomad",
"plugins": [
{
"type": "loopback"
},
{
"type": "bridge",
"bridge": "%s",
Expand Down

0 comments on commit 24b9238

Please sign in to comment.