Skip to content

Commit

Permalink
test: print out file contents directly during builder.run()
Browse files Browse the repository at this point in the history
  • Loading branch information
eb-eqm committed May 31, 2024
1 parent 6cef1f1 commit dd199d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packetnetworking/distros/distro_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ def run(self, rootfs_path):
os.makedirs(dirname, exist_ok=True)

log.debug("Writing content to '{}'".format(abspath))
log.debug(content)
with open(abspath, file_mode) as f:
f.write(content)

Expand Down

0 comments on commit dd199d8

Please sign in to comment.