podman: install cni config

(cherry picked from commit fd59022ee9eb8d08b65df563c65e4218a68fca3c)
This commit is contained in:
zowoq
2021-06-02 10:20:10 +02:00
committed by Robert Hensing
parent 0919b5c419
commit 17ba99dd68
2 changed files with 2 additions and 0 deletions
@@ -69,6 +69,7 @@ buildGoModule rec {
installShellCompletion --zsh completions/zsh/*
MANDIR=$man/share/man make install.man-nobuild
'' + lib.optionalString stdenv.isLinux ''
install -Dm644 cni/87-podman-bridge.conflist -t $out/etc/cni/net.d
install -Dm644 contrib/tmpfile/podman.conf -t $out/lib/tmpfiles.d
install -Dm644 contrib/systemd/system/podman.{socket,service} -t $out/lib/systemd/system
'' + ''