]> git.ipfire.org Git - thirdparty/systemd.git/commit
portablectl: add --now and --enable to attach/detach
authorLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 23 Jan 2020 16:50:15 +0000 (16:50 +0000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 7 Feb 2020 16:09:05 +0000 (17:09 +0100)
commite2c1ddcc492f7d94fd0bdaec719916c62787be44
tree5691c9b7454a665a524dbcb64e9298a168b5b9aa
parentc3b41d8811317aa47cc6090809df1740838960d0
portablectl: add --now and --enable to attach/detach

Add shortcuts to enable and start, or disable and stop, portable
services with a single portablectl command.
Allow to pass a filter on detach, as it's necessary to call
GetImageMetadata to get the unit names associated with an image.

Fixes #10232
man/portablectl.xml
shell-completion/bash/portablectl
src/portable/portablectl.c