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".
This commit is contained in:
Xiaobin Qu
2018-09-16 00:14:14 -07:00
parent b974042d95
commit 3eeb4327ff

View File

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