aws-samples / aws-eda-slurm-cluster

AWS Slurm Cluster for EDA Workloads
MIT No Attribution
24 stars 7 forks source link

Fix create_user_groups.py when /usr/sbin not in path #163

Closed cartalla closed 9 months ago

cartalla commented 10 months ago

If /usr/sbin isn't in the path then the useradd and groupadd commands fail. Add the path to the commands. Add /usr/sbin to the path inside the onnode* scripts.

Resolves #161

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.