Update from upstream #11

Closed
soksanichenko wants to merge 158 commits from a8_updated into a8
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 895b3982d7 - Show all commits

View File

@ -24,6 +24,7 @@ import time
import tempfile
import shutil
import json
import socket
import kobo.log
import kobo.tback
@ -98,6 +99,8 @@ def get_compose_info(
authentication = get_authentication(conf)
if cts_keytab:
environ_copy = dict(os.environ)
if "$HOSTNAME" in cts_keytab:
cts_keytab = cts_keytab.replace("$HOSTNAME", socket.gethostname())
os.environ["KRB5_CLIENT_KTNAME"] = cts_keytab
try: