Accepting request 947434 from home:vulyanov:branches:Virtualization
- Pack nft rules and nsswitch.conf for virt-handler OBS-URL: https://build.opensuse.org/request/show/947434 OBS-URL: https://build.opensuse.org/package/show/Virtualization/kubevirt?expand=0&rev=75
This commit is contained in:
parent
16a7a4e32e
commit
52bc143035
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 19 13:30:51 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||||
|
|
||||||
|
- Pack nft rules and nsswitch.conf for virt-handler
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 12 06:29:18 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
Wed Jan 12 06:29:18 UTC 2022 - Vasily Ulyanov <vasily.ulyanov@suse.com>
|
||||||
|
|
||||||
|
@ -214,6 +214,12 @@ install -p -m 0755 cmd/virt-launcher/node-labeller/node-labeller.sh %{buildroot}
|
|||||||
# virt-launcher SELinux policy needs to land in virt-handler container
|
# virt-launcher SELinux policy needs to land in virt-handler container
|
||||||
install -p -m 0644 cmd/virt-handler/virt_launcher.cil %{buildroot}/
|
install -p -m 0644 cmd/virt-handler/virt_launcher.cil %{buildroot}/
|
||||||
|
|
||||||
|
# Install network stuff
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/nftables
|
||||||
|
install -p -m 0644 cmd/virt-handler/nsswitch.conf %{buildroot}%{_sysconfdir}/
|
||||||
|
install -p -m 0644 cmd/virt-handler/ipv4-nat.nft %{buildroot}%{_sysconfdir}/nftables/
|
||||||
|
install -p -m 0644 cmd/virt-handler/ipv6-nat.nft %{buildroot}%{_sysconfdir}/nftables/
|
||||||
|
|
||||||
# Install release manifests
|
# Install release manifests
|
||||||
mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/release
|
mkdir -p %{buildroot}%{_datadir}/kube-virt/manifests/release
|
||||||
install -m 0644 _out/manifests/release/kubevirt-operator.yaml %{buildroot}%{_datadir}/kube-virt/manifests/release/
|
install -m 0644 _out/manifests/release/kubevirt-operator.yaml %{buildroot}%{_datadir}/kube-virt/manifests/release/
|
||||||
@ -260,9 +266,12 @@ install -m 0644 %{S:3} %{buildroot}%{_prefix}/lib/obs/service
|
|||||||
%files virt-handler
|
%files virt-handler
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
%dir %{_sysconfdir}/nftables
|
||||||
%{_bindir}/virt-handler
|
%{_bindir}/virt-handler
|
||||||
%{_bindir}/virt-chroot
|
%{_bindir}/virt-chroot
|
||||||
/virt_launcher.cil
|
/virt_launcher.cil
|
||||||
|
%{_sysconfdir}/nsswitch.conf
|
||||||
|
%{_sysconfdir}/nftables
|
||||||
|
|
||||||
%files virt-launcher
|
%files virt-launcher
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user