summaryrefslogtreecommitdiff
path: root/man/portablectl.xml
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2022-09-29 22:41:55 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2022-09-30 13:25:31 +0100
commitace212f577572bcbab5a464d13bf09418a6e7fa4 (patch)
treed5b2d5a295ce3de9405f6af4b9dd864f97e5a914 /man/portablectl.xml
parente638a062e8fbbf3a838af671693e5d0d94b575ef (diff)
downloadsystemd-ace212f577572bcbab5a464d13bf09418a6e7fa4.tar.gz
portablectl: add --force attach/detach
Allows to skip check that ensures units must not be running. I have a use case that would use reattach, except the orchestrator is using a non-standard versioning scheme, so image matching cannot work. As a workaround, need to be able to detach and then attach manually, without stopping the units to avoid extended downtimes and loss of FD store.
Diffstat (limited to 'man/portablectl.xml')
-rw-r--r--man/portablectl.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/portablectl.xml b/man/portablectl.xml
index ed2089c63a..64927a2fe6 100644
--- a/man/portablectl.xml
+++ b/man/portablectl.xml
@@ -374,6 +374,13 @@
and detaching.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--force</option></term>
+
+ <listitem><para>Skip safety checks and attach or detach images (with extensions) without first ensuring
+ that the units are not running.</para></listitem>
+ </varlistentry>
+
<xi:include href="user-system-options.xml" xpointer="host" />
<xi:include href="user-system-options.xml" xpointer="machine" />