Teach ezjail-admin not to attach a zfs backed imagejail when doing archive, reported by Nathan Tice.
This commit is contained in:
parent
02b7620839
commit
8ecd24f223
@ -1025,7 +1025,7 @@ archive)
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Attach non-attached jails, if they can be attached non blocking
|
# Attach non-attached jails, if they can be attached non blocking
|
||||||
if [ "${ezjail_imagetype}" -a -z "${ezjail_attached}" ]; then
|
if [ "${ezjail_imagetype}" -a "${ezjail_imagetype}" != "zfs" -a -z "${ezjail_attached}" ]; then
|
||||||
if [ "${ezjail_attachblocking}" ]; then
|
if [ "${ezjail_attachblocking}" ]; then
|
||||||
echo "Warning: Jail ${ezjail_name} is an image jail and can not be attached automatically."
|
echo "Warning: Jail ${ezjail_name} is an image jail and can not be attached automatically."
|
||||||
echo " Use '${ezjail_admin} config -i attach ${ezjail_name}' to attach it first."
|
echo " Use '${ezjail_admin} config -i attach ${ezjail_name}' to attach it first."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user