1
0

Accepting request 949998 from home:vulyanov:branches:Virtualization

- Install network stuff in %{_datadir}

OBS-URL: https://build.opensuse.org/request/show/949998
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-handler-container?expand=0&rev=20
This commit is contained in:
Vasily Ulyanov 2022-01-30 15:13:23 +00:00 committed by Git OBS Bridge
parent 0a03bf1eee
commit e645354729

View File

@ -35,8 +35,8 @@ RUN zypper -n install \
util-linux-systemd && \
zypper clean -a
RUN ln -s ../nsswitch.conf /etc/ && \
ln -s ../../ipv4-nat.nft /etc/nftables/ && \
ln -s ../../ipv6-nat.nft /etc/nftables/
RUN ln -s /usr/share/kube-virt/virt-handler/nsswitch.conf /etc/ && \
ln -s /usr/share/kube-virt/virt-handler/ipv4-nat.nft /etc/nftables/ && \
ln -s /usr/share/kube-virt/virt-handler/ipv6-nat.nft /etc/nftables/
ENTRYPOINT [ "/usr/bin/virt-handler" ]