@@ -4,34 +4,64 @@ RUN rm -rf /etc/yum.repos.d/*.repo
44COPY output/yum.repos.d /etc/yum.repos.d
55
66ARG 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+ 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+ NetworkManager-ovs \
23+ nftables \
24+ numactl \
25+ openssh-server \
26+ openstack-selinux \
27+ openvswitch \
28+ os-net-config \
29+ podman \
30+ python3-libselinux \
31+ python3-pyyaml \
32+ rsync \
33+ sysstat \
34+ tmpwatch \
35+ tuned-profiles-cpu-partitioning"
36+
3537ARG ENABLE_UNITS="openvswitch"
3638
3739RUN dnf -y update && dnf -y install $PACKAGES && dnf clean all && systemctl enable $ENABLE_UNITS
40+
41+ # Template systemd service for services
42+ COPY embedded-services/quadlets/systemd/service-template.kube /usr/share/containers/systemd/
[email protected] 43+
44+ ## Service specific quadlets
45+ COPY embedded-services/quadlets/ovn-controller/ovn_controller.yaml /usr/share/containers/systemd/ovn_controller.yaml
46+ COPY embedded-services/quadlets/ovn-controller/ovn_controller.image /usr/share/containers/systemd/ovn_controller.image
47+ COPY embedded-services/quadlets/iscsid/iscsid.yaml /usr/share/containers/systemd/iscsid.yaml
48+ COPY embedded-services/quadlets/iscsid/iscsid.image /usr/share/containers/systemd/iscsid.image
49+ COPY embedded-services/quadlets/nova_compute/nova_compute.yaml /usr/share/containers/systemd/nova_compute.yaml
50+ COPY embedded-services/quadlets/nova_compute/nova_compute.image /usr/share/containers/systemd/nova_compute.image
51+ COPY embedded-services/quadlets/ovn_metadata_agent/ovn_metadata_agent.yaml /usr/share/containers/systemd/ovn_metadata_agent.yaml
52+ COPY embedded-services/quadlets/ovn_metadata_agent/ovn_metadata_agent.image /usr/share/containers/systemd/ovn_metadata_agent.image
53+ COPY embedded-services/quadlets/logrotate_crond/logrotate_crond.yaml /usr/share/containers/systemd/logrotate_crond.yaml
54+ COPY embedded-services/quadlets/logrotate_crond/logrotate_crond.image /usr/share/containers/systemd/logrotate_crond.image
55+ COPY embedded-services/quadlets/multipathd/multipathd.yaml /usr/share/containers/systemd/multipathd.yaml
56+ COPY embedded-services/quadlets/multipathd/multipathd.image /usr/share/containers/systemd/multipathd.image
57+ COPY embedded-services/quadlets/ceilometer_agent_compute/ceilometer_agent_compute.yaml /usr/share/containers/systemd/ceilometer_agent_compute.yaml
58+ COPY embedded-services/quadlets/ceilometer_agent_compute/ceilometer_agent_compute.image /usr/share/containers/systemd/ceilometer_agent_compute.image
59+
60+ # Pre-cache containers for each service
61+ RUN podman pull quay.io/podified-antelope-centos9/openstack-ceilometer-compute:current-podified
62+ RUN podman pull quay.io/podified-antelope-centos9/openstack-iscsid:current-podified
63+ RUN podman pull quay.io/podified-antelope-centos9/openstack-cron:current-podified
64+ RUN podman pull quay.io/podified-antelope-centos9/openstack-multipathd:current-podified
65+ RUN podman pull quay.io/podified-antelope-centos9/openstack-nova-compute:current-podified
66+ RUN podman pull quay.io/podified-antelope-centos9/openstack-ovn-controller:current-podified
67+ RUN podman pull quay.io/podified-antelope-centos9/openstack-neutron-metadata-agent-ovn:current-podified
0 commit comments