add "name" to /etc/cni/net.d/99-loopback.conf

For the latest cni version, name is mandatory, otherwise cni will
complain "missing network name".
pull/387/head
Xiaobin Qu 2018-09-16 00:14:14 -07:00
parent b974042d95
commit 3eeb4327ff
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ Create the `loopback` network configuration file:
cat <<EOF | sudo tee /etc/cni/net.d/99-loopback.conf cat <<EOF | sudo tee /etc/cni/net.d/99-loopback.conf
{ {
"cniVersion": "0.3.1", "cniVersion": "0.3.1",
"name": "lo",
"type": "loopback" "type": "loopback"
} }
EOF EOF