machinectl: Added stop as alias for poweroff (#3406)
This commit is contained in:
committed by
Lennart Poettering
parent
45819e7cbf
commit
b2bb19bbda
@@ -41,7 +41,7 @@ _machinectl() {
|
||||
|
||||
local -A VERBS=(
|
||||
[STANDALONE]='list list-images pull-tar pull-raw import-tar import-raw export-tar export-raw list-transfers cancel-transfer'
|
||||
[MACHINES]='status show start login shell enable disable poweroff reboot terminate kill copy-to copy-from image-status show-image clone rename read-only remove set-limit'
|
||||
[MACHINES]='status show start stop login shell enable disable poweroff reboot terminate kill copy-to copy-from image-status show-image clone rename read-only remove set-limit'
|
||||
)
|
||||
|
||||
_init_completion || return
|
||||
|
||||
@@ -23,6 +23,7 @@ _available_machines() {
|
||||
"status:Show VM/container status"
|
||||
"show:Show properties of one or more VMs/containers"
|
||||
"start:Start container as a service"
|
||||
"stop:Stop container (equal to poweroff)"
|
||||
"login:Get a login prompt on a VM/container"
|
||||
"enable:Enable automatic container start at boot"
|
||||
"disable:Disable automatic container start at boot"
|
||||
|
||||
Reference in New Issue
Block a user