Skip to content

Commit

Permalink
Merge pull request #220 from gboutry/fix/groupadd-operation
Browse files Browse the repository at this point in the history
Replace groupadd with usermod in prepare script
  • Loading branch information
hemanthnakkina authored Apr 27, 2024
2 parents 05711cb + 5ea22fb commit dccd534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sunbeam-python/sunbeam/commands/prepare_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
# Add $USER to the snap_daemon group supporting interaction
# with the sunbeam clustering daemon for cluster operations.
sudo addgroup $USER snap_daemon
sudo usermod --append --groups snap_daemon $USER
# Generate keypair and set-up prompt-less access to local machine
[ -f $HOME/.ssh/id_rsa ] || ssh-keygen -b 4096 -f $HOME/.ssh/id_rsa -t rsa -N ""
Expand Down

0 comments on commit dccd534

Please sign in to comment.