From 8ecd24f223cd43a723720ef11bd79c4d00c4b666 Mon Sep 17 00:00:00 2001 From: cryx Date: Fri, 15 Jan 2010 12:59:44 +0000 Subject: Teach ezjail-admin not to attach a zfs backed imagejail when doing archive, reported by Nathan Tice. --- ezjail-admin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ezjail-admin') diff --git a/ezjail-admin b/ezjail-admin index 5438a56..585823a 100755 --- a/ezjail-admin +++ b/ezjail-admin @@ -1025,7 +1025,7 @@ archive) fi # 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 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." -- cgit v1.2.3