7 lines
244 B
Bash
Executable File
7 lines
244 B
Bash
Executable File
#: | vmd | vmctl commands and VM names |
|
|
pgrep -fq '/usr/sbin/vmd'
|
|
if [ $? = 0 ]; then
|
|
set -A complete_vmctl -- console load reload start stop reset status send receive
|
|
set -A complete_vmctl_2 -- $(vmctl status | awk '!/NAME/{print $NF}')
|
|
fi
|