docs: copy credentials into chroot prior to munge install to get correct file
ownership for xcat
@@ -146,17 +146,23 @@ distributions. To enable for local use, issue the following:
% begin_ohpc_run
% ohpc_validation_comment Add OpenHPC components to compute instance
\begin{lstlisting}[language=bash,literate={-}{-}1,keywords={},upquote=true]
+# copy credential files into $CHROOT to ensure consistent uid/gids for slurm/munge at
+# install. Note that these will be synchronized with future updates via the provisioning system.
+[sms](*\#*) cp /etc/passwd /etc/group $CHROOT/etc
+
# Add Slurm client support meta-package
[sms](*\#*) (*\chrootinstall*) ohpc-slurm-client
# Add Network Time Protocol (NTP) support
-[sms](*\#*) (*\chrootinstall*) ntp
+[sms](*\#*) (*\chrootinstall*) chrony
+# Identify master host as local NTP server
+[sms](*\#*) echo "server ${sms_ip}" >> $CHROOT/etc/chrony.conf
# Add kernel drivers
[sms](*\#*) (*\chrootinstall*) kernel
# Include modules user environment
-[sms](*\#*) (*\chrootinstall*) lmod-ohpc
+[sms](*\#*) (*\chrootinstall*) --enablerepo=PowerTools lmod-ohpc
\end{lstlisting}
% ohpc_comment_header Optionally add InfiniBand support services in compute node image \ref{sec:add_components}
