From 5461cdc11de69832d0d5767ca01b288ef0dc1e42 Mon Sep 17 00:00:00 2001
From: Benoit Donneaux <benoit@leastauthority.com>
Date: Fri, 16 Jun 2023 08:27:31 +0000
Subject: [PATCH] Clarify the use of the dedicated pool

Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
---
 morph/grid/local/README.rst | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/morph/grid/local/README.rst b/morph/grid/local/README.rst
index adddddbc..3f8f0d05 100644
--- a/morph/grid/local/README.rst
+++ b/morph/grid/local/README.rst
@@ -21,15 +21,18 @@ Setup virtualisation on the host
     # Enable HW acceleration if (nested virtualisation is) available
     #boot.kernelModules = [ "kvm-amd" "kvm-intel" ];
 
-2. Create a dedicated pool (optional - to avoid `/var/lib/libvirt/storage`)::
+2. OPTIONAL - Create a dedicated pool only to avoid the default in ``/var/lib/libvirt/storage``)::
 
-    export POOL_NAME=morph_local
-    POOL_PATH="~/.libvirt/images"
+    export POOL_NAME=morph_local_$(id -un)
+    POOL_PATH="/path/to/your/storage"
     mkdir -p "${POOL_PATH}"
     sudo virsh pool-define-as ${POOL_NAME} --type dir --target "${POOL_PATH}"
     sudo virsh pool-autostart ${POOL_NAME}
     sudo virsh pool-start ${POOL_NAME}
 
+   REM:
+   - The files generated in the next steps in ``POOL_PATH`` will be owned by root.
+   - Do not forget the ``POOL_NAME`` variable exported above for the next steps.
 
 Use the local development environment
 `````````````````````````````````````
-- 
GitLab