def release_snapshots(self): # Returns all jail snapshots on each RELEASE dataset releases_dataset = Dataset( os.path.join(iocage_activated_dataset(), 'releases')) if releases_dataset.exists: for snap in list_snapshots( resource=releases_dataset.name, recursive=True, ): yield self.resource(snap)
def __init__(self): super().__init__(iocage_activated_dataset())
def iocage_path(self): if self.cache: return iocage_cache.iocage_activated_dataset or '' else: return iocage_activated_dataset() or ''
def iocage_path(self): return iocage_activated_dataset() or ''