diff --git a/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh b/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh index bd97b19a..0393e124 100644 --- a/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/rhvh4/profiles/default/scripts/pre.sh @@ -39,7 +39,7 @@ done /usr/sbin/sshd -f /etc/ssh/sshd_config.anaconda if [ -f "/run/install/cmdline.d/01-autocons.conf" ]; then consoledev=$(cat /run/install/cmdline.d/01-autocons.conf | sed -e 's!console=!/dev/!' -e 's/,.*//') - tmux a <> $consoledev >&0 2>&1 & + TMUX= tmux a <> $consoledev >&0 2>&1 & fi cryptboot=$(grep ^encryptboot: /etc/confluent.deploycfg | awk '{print $2}') LUKSPARTY='' diff --git a/confluent_osdeploy/utils/clortho.c b/confluent_osdeploy/utils/clortho.c index fcbdbf26..94918189 100644 --- a/confluent_osdeploy/utils/clortho.c +++ b/confluent_osdeploy/utils/clortho.c @@ -54,6 +54,7 @@ int main(int argc, char* argv[]) { memset(&timeout, 0, sizeof(struct timeval)); timeout.tv_sec = 10; net4bind.sin_port = htons(302); + net4bind.sin_family = AF_INET; net6bind.sin6_port = htons(302); net6bind.sin6_family = AF_INET6; hints.ai_socktype = SOCK_STREAM;