From 1d405bfbbdc9ae7c123e2de592acee300b8e1db1 Mon Sep 17 00:00:00 2001 From: Somasundaram Meenakshisundaram Date: Tue, 10 Jan 2023 21:31:16 +0530 Subject: [PATCH] Set uid/gid to 0 so that it works well in Junos. --- jet/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jet/utils.py b/jet/utils.py index 50a7eec..61cb9b1 100644 --- a/jet/utils.py +++ b/jet/utils.py @@ -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):