Skip to content

Commit 274a840

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

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

training/nvidia-bootc/Containerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,16 @@ 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+
# Install rhc connect for insights telemetry gathering
142+
&& . /etc/os-release && if [ "${ID}" == "rhel" ]; then \
143+
dnf install -y rhc rhc-worker-playbook; \
144+
fi \
141145
&& dnf clean all \
142146
&& ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants \
143147
&& mv /etc/selinux.tmp /etc/selinux \
144148
&& ln -s /usr/lib/systemd/system/nvidia-toolkit-firstboot.service /usr/lib/systemd/system/basic.target.wants/nvidia-toolkit-firstboot.service \
145149
&& echo "blacklist nouveau" > /etc/modprobe.d/blacklist_nouveau.conf
146150

147-
148151
ARG SSHPUBKEY
149152

150153
# The --build-arg "SSHPUBKEY=$(cat ~/.ssh/id_rsa.pub)" option inserts your

0 commit comments

Comments
 (0)