From f45302e7bcd88431f0461a5b680e5f7163f7086b Mon Sep 17 00:00:00 2001 From: yorffuoj <47420551+yorffuoj@users.noreply.github.com> Date: Mon, 29 Apr 2024 18:48:33 +0200 Subject: [PATCH] Update doc when incus-admin group is not present --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 52dd0b4..9b27307 100644 --- a/README.md +++ b/README.md @@ -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 . 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.