Skip to content

Commit

Permalink
Backport of cni: add loopback to linux bridge into release/1.2.x (#13433
Browse files Browse the repository at this point in the history
)

This pull request was automerged via backport-assistant
  • Loading branch information
hc-github-team-nomad-core authored Jun 20, 2022
1 parent 73aaea1 commit 5eb2083
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/13428.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
cni: Fixed a bug where loopback address was not set for all drivers
```
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 5eb2083

Please sign in to comment.