Skip to content

Commit eb818df

Browse files
authored
add JID and JNAME vars for poststart script (#78)
could fix #66 the lazy way
1 parent f8456d1 commit eb818df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iocage_lib/ioc_start.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -873,7 +873,7 @@ def __start_jail__(self):
873873
# Running exec_poststart now
874874
poststart_success, poststart_error = \
875875
iocage_lib.ioc_common.runscript(
876-
exec_poststart
876+
f"export JID=ioc-{self.uuid} JNAME={self.uuid};"+exec_poststart
877877
)
878878

879879
if poststart_error:

0 commit comments

Comments
 (0)