1
0

Accepting request 1005518 from Virtualization

- Fix container build due to symlink issues with SP4/SP5 base images

OBS-URL: https://build.opensuse.org/request/show/1005518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virt-handler-container?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2022-09-23 12:15:14 +00:00 committed by Git OBS Bridge
commit 05acdfe2a0
2 changed files with 9 additions and 3 deletions

View File

@ -37,8 +37,9 @@ RUN zypper -n install \
util-linux-systemd && \
zypper clean -a
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/
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/ipv6-nat.nft /etc/nftables/
ENTRYPOINT [ "/usr/bin/virt-handler" ]

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 22 18:44:39 UTC 2022 - Caleb Crane <caleb.crane@suse.com>
- Fix container build due to symlink issues with SP4/SP5 base images
-------------------------------------------------------------------
Thu Aug 4 07:27:52 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>