Skip to content

Commit f4a6348

Browse files
committed
Adding rhc connect for telemetry
Signed-off-by: Igal Tsoiref <[email protected]>
1 parent 67e8135 commit f4a6348

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

training/nvidia-bootc/Containerfile

+5
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,17 @@ RUN mv /etc/selinux /etc/selinux.tmp \
138138
dnf module enable -y nvidia-driver:${DRIVER_BRANCH} && \
139139
dnf install -y nvidia-fabric-manager-${DRIVER_VERSION} libnvidia-nscq-${DRIVER_BRANCH}-${DRIVER_VERSION} ; \
140140
fi \
141+
&& . /etc/os-release && if [ "${ID}" == "rhel" ]; then \
142+
dnf install -y rhc rhc-worker-playbook; \
143+
fi \
141144
&& dnf clean all \
142145
&& ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants \
143146
&& mv /etc/selinux.tmp /etc/selinux \
144147
&& ln -s /usr/lib/systemd/system/nvidia-toolkit-firstboot.service /usr/lib/systemd/system/basic.target.wants/nvidia-toolkit-firstboot.service \
145148
&& echo "blacklist nouveau" > /etc/modprobe.d/blacklist_nouveau.conf
146149

150+
# Install rhc connect for insights telemetry gathering
151+
RUN
147152

148153
ARG SSHPUBKEY
149154

0 commit comments

Comments
 (0)