From e7cbae91e270d81c7247b068debde22c22cf7649 Mon Sep 17 00:00:00 2001 From: "Karl W. Schulz" Date: Mon, 9 Jan 2017 08:44:00 -0600 Subject: [PATCH] include use of ${compute_prefix} to aarch64/sles12 recipe (#239) --- .../install/sles12sp1/aarch64/warewulf/slurm/steps.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/recipes/install/sles12sp1/aarch64/warewulf/slurm/steps.tex b/docs/recipes/install/sles12sp1/aarch64/warewulf/slurm/steps.tex index b169470eec..8db780832a 100644 --- a/docs/recipes/install/sles12sp1/aarch64/warewulf/slurm/steps.tex +++ b/docs/recipes/install/sles12sp1/aarch64/warewulf/slurm/steps.tex @@ -341,11 +341,11 @@ \subsubsection{Customize system configuration} \label{sec:master_customization} % ohpc_validation_newline % ohpc_validation_comment Update basic slurm configuration if additional computes defined % ohpc_command if [ ${num_computes} -gt 4 ];then -% ohpc_command perl -pi -e "s/^NodeName=(\S+)/NodeName=c[1-${num_computes}]/" /etc/slurm/slurm.conf -% ohpc_command perl -pi -e "s/^PartitionName=normal Nodes=(\S+)/PartitionName=normal Nodes=c[1-${num_computes}]/" /etc/slurm/slurm.conf +% ohpc_command perl -pi -e "s/^NodeName=(\S+)/NodeName=${compute_prefix}[1-${num_computes}]/" /etc/slurm/slurm.conf +% ohpc_command perl -pi -e "s/^PartitionName=normal Nodes=(\S+)/PartitionName=normal Nodes=${compute_prefix}[1-${num_computes}]/" /etc/slurm/slurm.conf -% ohpc_command perl -pi -e "s/^NodeName=(\S+)/NodeName=c[1-${num_computes}]/" $CHROOT/etc/slurm/slurm.conf -% ohpc_command perl -pi -e "s/^PartitionName=normal Nodes=(\S+)/PartitionName=normal Nodes=c[1-${num_computes}]/" $CHROOT/etc/slurm/slurm.conf +% ohpc_command perl -pi -e "s/^NodeName=(\S+)/NodeName=${compute_prefix}[1-${num_computes}]/" $CHROOT/etc/slurm/slurm.conf +% ohpc_command perl -pi -e "s/^PartitionName=normal Nodes=(\S+)/PartitionName=normal Nodes=${compute_prefix}[1-${num_computes}]/" $CHROOT/etc/slurm/slurm.conf % ohpc_command fi % end_ohpc_run