Skip to content

Commit

Permalink
update ioc_debug.py - fix jails and templates paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Defenso-QTH committed Sep 21, 2024
1 parent 261a8cc commit d93c9b3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions iocage_lib/ioc_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,14 @@ def run_debug(self):
self.run_host_debug()

jails = Dataset(
os.path.join(self.zpool.name, self.zpool.prefix, 'jails')
os.path.join(
self.zpool.name, self.zpool.prefix, 'iocage', 'jails'
)
).get_dependents()
templates = Dataset(
os.path.join(self.zpool.name, self.zpool.prefix, 'templates')
os.path.join(
self.zpool.name, self.zpool.prefix, 'iocage', 'templates'
)
).get_dependents()

for jail in jails:
Expand Down

0 comments on commit d93c9b3

Please sign in to comment.