diff options
-rw-r--r-- | recipes-containers/podman/podman_git.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb index 55bfede9..441f1fc8 100644 --- a/recipes-containers/podman/podman_git.bb +++ b/recipes-containers/podman/podman_git.bb | |||
@@ -118,6 +118,11 @@ do_install() { | |||
118 | if ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'true', 'false', d)}; then | 118 | if ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'true', 'false', d)}; then |
119 | install -d "${D}${sysconfdir}/sysctl.d" | 119 | install -d "${D}${sysconfdir}/sysctl.d" |
120 | install -m 0644 "${UNPACKDIR}/50-podman-rootless.conf" "${D}${sysconfdir}/sysctl.d" | 120 | install -m 0644 "${UNPACKDIR}/50-podman-rootless.conf" "${D}${sysconfdir}/sysctl.d" |
121 | install -d "${D}${sysconfdir}/containers" | ||
122 | cat <<-EOF >> "${D}${sysconfdir}/containers/containers.conf" | ||
123 | [NETWORK] | ||
124 | default_rootless_network_cmd="slirp4netns" | ||
125 | EOF | ||
121 | fi | 126 | fi |
122 | } | 127 | } |
123 | 128 | ||