Date: Wed, 17 Aug 2022 09:17:31 +0100 From: Norman Gray <gray@nxg.name> To: doug@safeport.com Cc: freebsd-questions@FreeBSD.org Subject: Re: iocage template question. Message-ID: <37B45433-1B7B-4F04-B172-F9F80C46E5FF@nxg.name> In-Reply-To: <80fe8cc8-2813-6478-b556-2224633f0ba@safeport.com> References: <80fe8cc8-2813-6478-b556-2224633f0ba@safeport.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug, hello. On 17 Aug 2022, at 1:12, doug wrote: > I have several jails a few of which come from a template. Is there a > way of telling which jails are based on a given template? There may be a clever way within iocage itself, but if you do % zfs get -o name,value -r origin tank/iocage (where tank/iocage is the root dataset that iocage is using), then you'll see the 'origin' of each filesystem used by iocage There, you might see tank/iocage/jsils/JAIL1/root tank/iocage/templates/TEMPLATE1/root@JAIL1 tank/iocage/templates/TEMPLATE1/root tank/iocage/releases/13.1-RELEASE/root@TEMPLATE1 ...showing that JAIL1's /root is a clone of TEMPLATE1 at the snapshot @JAIL, and that that that template is a clone of the release at the snapshot @TEMPLATE1. So that, slightly indirectly, indicates the sequence of iocage jail creation. Best wishes, Norman -- Norman Gray : https://nxg.me.uk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37B45433-1B7B-4F04-B172-F9F80C46E5FF>