Skip to content
Snippets Groups Projects
Commit 516dfdb7 authored by Cloud User's avatar Cloud User
Browse files

Removing sleep, as it's not required anymore

parent cc67fc63
No related branches found
No related tags found
3 merge requests!23Feat resolve uid gid,!3Adding following agents,!4Test infra 1
......@@ -41,7 +41,6 @@ def slurm_account_create(ch, method, properties, body):
user_gid = str(msg['gid'])
try:
subprocess.call(["sudo", "groupadd", "-r", "-g", user_gid, username])
time.sleep(10)
subprocess.call(["sudo", "useradd", "-u", user_uid, "-g", user_gid, "-m", username])
except:
print("Failed to create user")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment