Layout troubleshoot steps

This commit is contained in:
erdgeist 2014-06-09 23:55:13 +02:00
parent ee32fbf4d8
commit da50e7e2c8

View File

@ -1626,6 +1626,16 @@ config)
;;
######################## ezjail-admin TROUBLESHOOT ########################
troubleshoot)
# TOOD:
# Start with some simple tests, check for basejail
# Check if we are ourself jailed
# Check if all IPv4 addresses are either configured already or in
# interface config line
# Check for duplicate non unique IPv4 addresses
# Check if all necessary file systems for zfs jails are mounted
# For zfs jails check, if zpool is full
shift
[ $# -gt 0 ] || && cd ${ezjail_jailcfgs} && set - `ls -A`