Skip to content

Commit c9ac84d

Browse files
authored
Merge pull request #43 from slagle/add-cronie
Add packages to bootc image
2 parents ee8b08f + 416acc8 commit c9ac84d

File tree

1 file changed

+35
-28
lines changed

1 file changed

+35
-28
lines changed

bootc/Containerfile.centos9

Lines changed: 35 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,45 @@ RUN rm -rf /etc/yum.repos.d/*.repo
44
COPY output/yum.repos.d /etc/yum.repos.d
55

66
ARG PACKAGES="\
7-
bind-utils \
8-
buildah \
9-
cephadm \
10-
chrony \
11-
cloud-init \
12-
crudini \
13-
crypto-policies-scripts \
14-
device-mapper-multipath \
15-
driverctl \
16-
grubby \
17-
iproute-tc \
18-
iptables-services \
19-
iscsi-initiator-utils \
20-
jq \
21-
lvm2 \
22-
nftables \
23-
numactl \
24-
openssh-server \
25-
openstack-selinux \
26-
openvswitch \
27-
os-net-config \
28-
podman \
29-
python3-libselinux \
30-
python3-pyyaml \
31-
rsync \
32-
tmpwatch \
33-
tuned-profiles-cpu-partitioning \
34-
sysstat"
7+
bind-utils \
8+
buildah \
9+
cephadm \
10+
chrony \
11+
cloud-init \
12+
cronie \
13+
crudini \
14+
crypto-policies-scripts \
15+
device-mapper-multipath \
16+
driverctl \
17+
grubby \
18+
iproute-tc \
19+
iptables-services \
20+
iscsi-initiator-utils \
21+
jq \
22+
lvm2 \
23+
nftables \
24+
numactl \
25+
openssh-server \
26+
openstack-network-scripts \
27+
openstack-selinux \
28+
openvswitch \
29+
os-net-config \
30+
podman \
31+
python3-libselinux \
32+
python3-pyyaml \
33+
rsync \
34+
tmpwatch \
35+
tuned-profiles-cpu-partitioning \
36+
sysstat"
3537
ARG ENABLE_UNITS="openvswitch"
3638

3739
RUN dnf -y install $PACKAGES && dnf clean all && systemctl enable $ENABLE_UNITS
3840

41+
# Workaround openstack-network-scripts failing to run update-alternatives
42+
# See https://issues.redhat.com/browse/OSPRH-13141
43+
RUN ln -s /etc/sysconfig/network-scripts/ifup /usr/sbin/ifup
44+
RUN ln -s /etc/sysconfig/network-scripts/ifdown /usr/sbin/ifdown
45+
3946
# Drop Ansible fact into place
4047
COPY ansible-facts/bootc.fact /usr/etc/ansible/facts.d/bootc.fact
4148
RUN chmod +x /usr/etc/ansible/facts.d/bootc.fact

0 commit comments

Comments
 (0)