Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
local -A VERBS=(
[STANDALONE]='list list-images clean pull-tar pull-raw list-transfers cancel-transfer import-fs'
- [MACHINES]='status show start stop login shell enable disable poweroff reboot terminate kill
+ [MACHINES]='status show start stop login shell enable disable poweroff reboot pause resume terminate kill
image-status show-image remove export-tar export-raw'
[MACHINES_OR_FILES]='edit cat'
[MACHINE_ONLY]='clone rename set-limit'
"disable:Disable automatic container start at boot"
"poweroff:Power off one or more VMs/containers"
"reboot:Reboot one or more VMs/containers"
+ "pause:Pause one or more machines"
+ "resume:Resume one or more previously paused machines"
"terminate:Terminate one or more VMs/containers"
"kill:Send signal to process or a VM/container"
"copy-to:Copy files from the host to a container"
start|enable|disable)
_machinectl_images ;;
- status|show|poweroff|reboot|terminate|kill)
+ status|show|poweroff|reboot|pause|resume|terminate|kill)
_sd_machines ;;
login|shell)