Skip to content

Commit a8bded3

Browse files
committed
Add libvirt packages to bootc image build
We may want these installed in a different specific libvirt/compute image, but for now they are added to the base bootc image build since libvirt is a default service. Signed-off-by: James Slagle <[email protected]>
1 parent c9ac84d commit a8bded3

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

bootc/Containerfile.centos9

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,23 @@ ARG PACKAGES="\
3636
sysstat"
3737
ARG ENABLE_UNITS="openvswitch"
3838

39-
RUN dnf -y install $PACKAGES && dnf clean all && systemctl enable $ENABLE_UNITS
39+
ARG LIBVIRT_PACKAGES="\
40+
libvirt \
41+
libvirt-admin \
42+
libvirt-client \
43+
libvirt-daemon \
44+
qemu-kvm \
45+
qemu-img \
46+
libguestfs \
47+
libseccomp \
48+
swtpm \
49+
swtpm-tools \
50+
edk2-ovmf \
51+
ceph-common \
52+
cyrus-sasl-scram \
53+
"
54+
55+
RUN dnf -y install $PACKAGES $LIBVIRT_PACKAGES && dnf clean all && systemctl enable $ENABLE_UNITS
4056

4157
# Workaround openstack-network-scripts failing to run update-alternatives
4258
# See https://issues.redhat.com/browse/OSPRH-13141

0 commit comments

Comments
 (0)