Skip to content

Commit 64c9dac

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

training/nvidia-bootc/Containerfile

+4
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ RUN mv /etc/selinux /etc/selinux.tmp \
144144
&& ln -s /usr/lib/systemd/system/nvidia-toolkit-firstboot.service /usr/lib/systemd/system/basic.target.wants/nvidia-toolkit-firstboot.service \
145145
&& echo "blacklist nouveau" > /etc/modprobe.d/blacklist_nouveau.conf
146146

147+
# Install rhc connect for insights telemetry gathering
148+
RUN . /etc/os-release && if [ "${ID}" == "rhel" ]; then \
149+
dnf install -y rhc rhc-worker-playbook -y && dnf clean all; \
150+
fi
147151

148152
ARG SSHPUBKEY
149153

0 commit comments

Comments
 (0)