1
0

Accepting request 1005516 from home:vulyanov:branches:Virtualization

Create /etc/nftables directory if it does not exist

OBS-URL: https://build.opensuse.org/request/show/1005516
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-handler-container?expand=0&rev=26
This commit is contained in:
Vasily Ulyanov 2022-09-23 05:20:13 +00:00 committed by Git OBS Bridge
parent e49f054382
commit 00762b897e

View File

@ -37,7 +37,8 @@ RUN zypper -n install \
util-linux-systemd && \ util-linux-systemd && \
zypper clean -a zypper clean -a
RUN ln -sf /usr/share/kube-virt/virt-handler/nsswitch.conf /etc/ && \ RUN mkdir -p /etc/nftables && \
ln -sf /usr/share/kube-virt/virt-handler/nsswitch.conf /etc/ && \
ln -sf /usr/share/kube-virt/virt-handler/ipv4-nat.nft /etc/nftables/ && \ ln -sf /usr/share/kube-virt/virt-handler/ipv4-nat.nft /etc/nftables/ && \
ln -sf /usr/share/kube-virt/virt-handler/ipv6-nat.nft /etc/nftables/ ln -sf /usr/share/kube-virt/virt-handler/ipv6-nat.nft /etc/nftables/