Skip to content

Commit

Permalink
debug: display context after rendering builder tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
eb-eqm committed May 31, 2024
1 parent 5d9c18d commit 54e4911
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packetnetworking/distros/distro_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ def run(self, rootfs_path):
Run processes the rendered tasks and writes them to the filesystem.
"""
log.debug("Running {}.run() with context: {}".format(self.__class__.__name__, self.context()))
log.debug("Rendering tasks for {}".format(self.__class__.__name__))
rendered_tasks = self.render()
log.debug("New context: {}".format(self.context()))
if not rendered_tasks:
return {}
for relpath, content in rendered_tasks.items():
Expand Down

0 comments on commit 54e4911

Please sign in to comment.