aboutsummaryrefslogtreecommitdiff
path: root/podman.spec.rpkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-02-23 11:58:58 -0500
committerGitHub <noreply@github.com>2022-02-23 11:58:58 -0500
commit113f855802176a4ffbe167304ab83942116a65f1 (patch)
treeed9cd62f91eee1f2a1bb04ab0086f0a55444217d /podman.spec.rpkg
parentd3699bbce63f283a609053d4aca23e4abe7dae4d (diff)
parenteab5a4cfb7b3bbb63cd2a1d9a5a69e9bc32d4cef (diff)
downloadpodman-113f855802176a4ffbe167304ab83942116a65f1.tar.gz
podman-113f855802176a4ffbe167304ab83942116a65f1.tar.bz2
podman-113f855802176a4ffbe167304ab83942116a65f1.zip
Merge pull request #13323 from Luap99/iptables-module
Load ip_tables modules at boot
Diffstat (limited to 'podman.spec.rpkg')
-rw-r--r--podman.spec.rpkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/podman.spec.rpkg b/podman.spec.rpkg
index d02b7ea99..f810d0307 100644
--- a/podman.spec.rpkg
+++ b/podman.spec.rpkg
@@ -206,6 +206,9 @@ PODMAN_VERSION=%{version} %{__make} DESTDIR=%{buildroot} PREFIX=%{_prefix} ETCDI
install.docker \
install.docker-docs \
install.remote \
+%if 0%{?fedora} >= 36
+ install.modules-load
+%endif
install -d -p %{buildroot}/%{_datadir}/%{name}/test/system
cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/
@@ -242,6 +245,9 @@ done
%{_userunitdir}/%{name}.socket
%{_userunitdir}/%{name}-restart.service
%{_usr}/lib/tmpfiles.d/%{name}.conf
+%if 0%{?fedora} >= 36
+ %{_usr}/lib/modules-load.d/%{name}-iptables.conf
+%endif
%files docker
%{_bindir}/docker