Server IP : 192.168.23.10  /  Your IP : 3.137.151.130
Web Server : Apache
System : Linux echo.premieradvertising.com 5.14.0-362.8.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 7 14:54:22 EST 2023 x86_64
User : rrrallyteam ( 1049)
PHP Version : 8.1.32
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /usr/share/zsh/site-functions/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/zsh/site-functions/_sd_machines
#autoload
# SPDX-License-Identifier: LGPL-2.1-or-later

(( $+functions[__sd_machines_get_machines] )) ||
    __sd_machines_get_machines () {

    { machinectl list --full --max-addresses=0 --no-legend --no-pager 2>/dev/null; echo ".host"; } | \
	{ while read a b; do echo "$a"; done; } | \
        sort -u
    }

local -a _machines
_machines=("${(fo)$(__sd_machines_get_machines)}")
typeset -U _machines
if [[ -n "$_machines" ]]; then
    _describe 'machines' _machines
else
    _message 'no machines'
fi