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 1b59e76 commit 23aecdaCopy full SHA for 23aecda
image/docker-entrypoint.sh
@@ -78,8 +78,8 @@ then
78
echo "-- slurmctld is now active ..."
79
80
echo "---> Updating node definitions ..."
81
- scontrol delete node=$HOSTNAME
82
- scontrol create $(slurmd -C | head -n1) State=FUTURE
+ scontrol delete node=${POD_NAME}
+ scontrol create NodeName=${POD_NAME} $(slurmd -C | head -n1 | cut -d ' ' -f 2-) State=FUTURE
83
84
echo "---> Starting the Slurm Node Daemon (slurmd) ..."
85
exec /usr/sbin/slurmd -D "${@:2}"
0 commit comments