Skip to content

Commit

Permalink
Convert kargs and ib documentation to Warewulf4
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Middelkoop <[email protected]>
  • Loading branch information
MiddelkoopT committed Oct 21, 2024
1 parent cef317c commit e0ae216
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
5 changes: 2 additions & 3 deletions docs/recipes/install/common/add_ww4_hosts_finalize.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
\begin{lstlisting}[language=bash,keywords={},upquote=true,basicstyle=\footnotesize\ttfamily]
# Optionally define IPoIB network settings (required if planning to mount Lustre/BeeGFS over IB)
[sms](*\#*) for ((i=0; i<$num_computes; i++)) ; do
wwsh -y node set ${c_name[$i]} -D ib0 --ipaddr=${c_ipoib[$i]} --netmask=${ipoib_netmask}
done
[sms](*\#*) wwsh -y provision set "${compute_regex}" --fileadd=ifcfg-ib0.ww
wwctl node set --yes ${c_name[$i]} --netdev=ib0 --ipaddr=${c_ipoib[$i]} --netmask=${ipoib_netmask}
done
\end{lstlisting}
% ohpc_indent 0
% ohpc_command fi
Expand Down
12 changes: 12 additions & 0 deletions docs/recipes/install/common/warewulf4_kargs_post.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
\noindent If any components have added to the boot time kernel command line arguments for the compute nodes,
the following command is required to store the configuration in Warewulf:
% begin_ohpc_run
% ohpc_validation_newline
% ohpc_validation_comment Optionally, add arguments to bootstrap kernel
% ohpc_command if [[ ${enable_kargs} -eq 1 ]]; then
\begin{lstlisting}[language=bash,keywords={},upquote=true,basicstyle=\footnotesize\ttfamily]
# Set optional compute node kernel command line arguments.
[sms](*\#*) wwctl node set --yes --kernelargs="${kargs}" "${compute_regex}"
\end{lstlisting}
% ohpc_command fi
% end_ohpc_run
3 changes: 1 addition & 2 deletions docs/recipes/install/rocky9/x86_64/warewulf4/slurm/steps.tex
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ \subsubsection{Import files} \label{sec:file_import}

\subsubsection{Optional kernel arguments} \label{sec:optional_kargs}
\input{common/charliecloud_centos_warewulf_post}
\input{common/conman_post}
\input{common/kargs_post}
\input{common/warewulf4_kargs_post}

%\vspace*{-0.4cm}
\subsection{Boot compute nodes} \label{sec:boot_computes}
Expand Down

0 comments on commit e0ae216

Please sign in to comment.