Skip to content

Commit

Permalink
Merge pull request #11 from somasm-dev/master
Browse files Browse the repository at this point in the history
Set uid/gid to 0 so that it works well in Junos.
  • Loading branch information
ydnath authored Jan 11, 2023
2 parents f18725e + 1d405bf commit dd621a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jet/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def create_contents_iso(input, output):
:param output: path to output file
:type output: str
"""
subprocess.check_output("mkisofs --rock -sysid JUNOS -o %s %s" % (output, input), shell=True)
subprocess.check_output("mkisofs --rock -sysid JUNOS -uid 0 -gid 0 -o %s %s" % (output, input), shell=True)


def create_tgz(package, path):
Expand Down

0 comments on commit dd621a3

Please sign in to comment.