Update doc when incus-admin group is not present

This commit is contained in:
yorffuoj 2024-04-29 18:48:33 +02:00 committed by GitHub
parent 36542bd79a
commit e0ce755cde
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,7 +118,7 @@ Incus can be installed on Debian 13 or Ubuntu 24.04 with the following command:
apt install incus
```
If you have an older distribution, you need to add the Zabbly repositry to your package manager.
If you have an older distribution, you need to add the Zabbly repository to your package manager.
To do so please follow the installation guide that you can find on <https://github.com/zabbly/incus>.
You then need to add yourself in the incus-admin group, to run incus without sudo every time:
@ -127,6 +127,19 @@ You then need to add yourself in the incus-admin group, to run incus without sud
sudo usermod -a -G incus-admin $(whoami)
```
Now the group incus-admin should be present when you type the command:
```bash
groups
```
If not you need to create the group first:
```bash
newgrp incus-admin
sudo usermod -a -G incus-admin $(whoami)
```
Then you shall initialize Incus which will ask you a bunch of question. Usually
answering the default (just pressing enter) to all questions is fine.