We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ed0854 commit 0abc891Copy full SHA for 0abc891
image/docker-entrypoint.sh
@@ -77,10 +77,9 @@ then
77
done
78
echo "-- slurmctld is now active ..."
79
80
- echo "---> Adding myself to node definitions ..."
81
- SLURMD_CONFIG=$(slurmd -C | head --lines 1)
82
- echo ${SLURMD_CONFIG}
83
- scontrol create ${SLURMD_CONFIG} State=FUTURE
+ echo "---> Updating node definitions ..."
+ scontrol delete node=$HOSTNAME
+ scontrol create $(slurmd -C | head -n1) State=FUTURE
84
85
echo "---> Starting the Slurm Node Daemon (slurmd) ..."
86
exec /usr/sbin/slurmd -D "${@:2}"
0 commit comments