diff options
-rwxr-xr-x | ezjail-admin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin index 6ba5f27..4bcc3d5 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -731,7 +731,7 @@ list) | |||
731 | [ -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && ezjail_list=`ls | xargs rcorder` | 731 | [ -d "${ezjail_prefix}/etc/ezjail/" ] && cd "${ezjail_prefix}/etc/ezjail/" && ezjail_list=`ls | xargs rcorder` |
732 | 732 | ||
733 | printf "%-3s %-4s %-15s %-30s %s\\n" STA JID IP Hostname "Root Directory" | 733 | printf "%-3s %-4s %-15s %-30s %s\\n" STA JID IP Hostname "Root Directory" |
734 | echo "--- ---- --------------- ---------------------------- -------------------------" | 734 | echo "--- ---- --------------- ------------------------------ -------------------------" |
735 | for ezjail in ${ezjail_list}; do | 735 | for ezjail in ${ezjail_list}; do |
736 | fetchjailinfo ${ezjail%.norun} | 736 | fetchjailinfo ${ezjail%.norun} |
737 | case ${ezjail_imagetype} in simple) ezjail_state="I";; bde) ezjail_state="B";; eli) ezjail_state="E";; *) ezjail_state="D";; esac | 737 | case ${ezjail_imagetype} in simple) ezjail_state="I";; bde) ezjail_state="B";; eli) ezjail_state="E";; *) ezjail_state="D";; esac |
@@ -748,7 +748,7 @@ list) | |||
748 | printf "%-3s %-4s %-15s %-30s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}" | 748 | printf "%-3s %-4s %-15s %-30s %s\\n" "${ezjail_state}" "${ezjail_id:-N/A}" "${ezjail_ip}" "${ezjail_hostname}" "${ezjail_rootdir}" |
749 | _multiline=yes | 749 | _multiline=yes |
750 | else | 750 | else |
751 | echo " ${ezjail_ip}" | 751 | echo " ... ${ezjail_ip}" |
752 | fi | 752 | fi |
753 | done | 753 | done |
754 | IFS=${TIFS} | 754 | IFS=${TIFS} |