Skip to content

Commit

Permalink
doc: add user addition to lxd group to intallation process
Browse files Browse the repository at this point in the history
  • Loading branch information
hamistao committed Apr 29, 2024
1 parent 55f94f9 commit e1497cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/tutorial/first_steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ If you prefer a different installation method, or use a Linux distribution that

sudo snap refresh lxd

1. Enter the following command to add the current user to the `lxd` group (the group was automatically created during the previous step):

getent group lxd | grep -qwF "$USER" || sudo usermod -aG lxd "$USER"

This is needed to be granted permission to interact with LXD.

1. Enter the following command to initialize LXD:

lxd init --minimal
Expand Down

0 comments on commit e1497cc

Please sign in to comment.