Skip to content

Commit

Permalink
Adding /dev/tty pipes
Browse files Browse the repository at this point in the history
  • Loading branch information
wtripp180901 committed Aug 17, 2023
1 parent ef184aa commit a9ea92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/k8s-slurmd-create
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ echo "Powering up hosts: $hosts" >> /var/log/slurm/power_save.log
for host in $hosts
do
echo "Creating $host" >> /var/log/slurm/power_save.log
sed s/SLURMD_NODENAME/$host/ /etc/slurm/slurmd-pod-template.yml | kubectl create -f - || echo "kubectl error" >> /var/log/slurm/power_save.log
sed s/SLURMD_NODENAME/$host/ /etc/slurm/slurmd-pod-template.yml | tee /dev/tty | kubectl create -f - | tee /dev/tty
echo "done" >> /var/log/slurm/power_save.log
done

0 comments on commit a9ea92b

Please sign in to comment.