summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-12-09 11:38:05 +0100
committerLennart Poettering <lennart@poettering.net>2024-12-20 18:04:01 +0100
commit1c0ade2e1f76b50431f941980b76e8ec5cdf3b12 (patch)
tree80712c9107ab7c761a4d82c74c84b309ef4ab045 /man
parentpo: Translated using Weblate (Finnish) (diff)
downloadsystemd-1c0ade2e1f76b50431f941980b76e8ec5cdf3b12.tar.xz
systemd-1c0ade2e1f76b50431f941980b76e8ec5cdf3b12.zip
discover-image: introduce per-user image directories
We nowadays support unprivileged invocation of systemd-nspawn + systemd-vmspawn, but there was no support for discovering suitable disk images (i.e. no per-user counterpart of /var/lib/machines). Add this now, and hook it up everywhere. Instead of hardcoding machined's, importd's, portabled's, sysupdated's image discovery to RUNTIME_SCOPE_SYSTEM I introduced a field that make the scope variable, even if this field is always initialized to RUNTIME_SCOPE_SYSTEM for now. I think these four services should eventually be updated to support a per-user concept too, this is preparation for that, even though it doesn't outright add support for this. This is for the largest part not user visible, except for in nspawn, vmspawn and the dissect tool. For the latter I added a pair of --user/--system switches to select the discovery scope.
Diffstat (limited to 'man')
-rw-r--r--man/systemd-dissect.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/systemd-dissect.xml b/man/systemd-dissect.xml
index b65a2c39f1..191ae3394b 100644
--- a/man/systemd-dissect.xml
+++ b/man/systemd-dissect.xml
@@ -503,6 +503,17 @@
<xi:include href="version-info.xml" xpointer="v254"/></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--system</option></term>
+ <term><option>--user</option></term>
+
+ <listitem><para>When used together with <option>--discover</option> controls whether to search for
+ images installed system-wide or in the user's directories in <varname>$HOME</varname>. If neither
+ switch is specified, will search within both scopes.</para>
+
+ <xi:include href="version-info.xml" xpointer="v258"/></listitem>
+ </varlistentry>
+
<xi:include href="standard-options.xml" xpointer="image-policy-open" />
<xi:include href="standard-options.xml" xpointer="no-pager" />
<xi:include href="standard-options.xml" xpointer="no-legend" />