From e1bfc9cdc8939b7ad7ca399758a6d824a9bfbba3 Mon Sep 17 00:00:00 2001 From: Steven Basart Date: Wed, 21 Jun 2023 17:57:34 -0400 Subject: [PATCH] Updates cluster file so new users select the next available gid by default --- playbooks/roles/cluster-cli/files/cluster | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/cluster-cli/files/cluster b/playbooks/roles/cluster-cli/files/cluster index 6ab2a942..04cdc3e9 100755 --- a/playbooks/roles/cluster-cli/files/cluster +++ b/playbooks/roles/cluster-cli/files/cluster @@ -171,7 +171,7 @@ def list(): confirmation_prompt=True) @click.option('-n', '--name', prompt='Full Name', required=True) @click.option('-i', '--uid', default=None, help='Select the userID') -@click.option('-g', '--gid', default="9876", help='Add to this groupID') +@click.option('-g', '--gid', default=None, help='Add to this groupID') @click.option('-nossh', '--nossh', is_flag=True, default=False, help='Flag to not generate a user-specific ssh-key pair for passwordless ssh.') def add(user, password, uid, gid, name, nossh): """ add user """