diff --git a/iocage_lib/ioc_create.py b/iocage_lib/ioc_create.py index f4b6d548..7bd6e100 100644 --- a/iocage_lib/ioc_create.py +++ b/iocage_lib/ioc_create.py @@ -715,7 +715,10 @@ def _create_jail(self, jail_uuid, location): if is_template: # We have to set readonly back, since we're done with our tasks Dataset( - os.path.join(self.iocroot, 'templates', jail_uuid) + os.path.join( + self.zpool.name, self.zpool.prefix, 'iocage', + 'templates', jail_uuid + ) ).set_property('readonly', 'on') return jail_uuid