Install and configure CNI plugins

firebuild uses CNI plugins for VM networking. Installing the plugins is very straightforward. Create /opt/cni/bin/ directory and download the plugins:

mkdir -p /opt/cni/bin
curl -O -L
tar -C /opt/cni/bin -xzf cni-plugins-linux-amd64-v0.9.1.tgz

Firecracker requires the tc-redirect-tap CNI plugin. This plugin requires separate installation and does not offer binary distributions, it needs to be built from sources.

mkdir -p $GOPATH/src/
cd $GOPATH/src/
git clone .
make install