IPA-register use Terminal 8 for better logging

This commit is contained in:
2026-04-30 12:51:59 +02:00
parent 0b1ade5771
commit 2032bde99d
+2 -2
View File
@@ -67,7 +67,7 @@ ExecStart=/bin/sh ${SCRIPTPATH}/${SCRIPTNAME} firstrun_run
#ExecStart=-/sbin/agetty --noclear -n -l "/bin/sh ${SCRIPTPATH}/${SCRIPTNAME} firstrun_run" %I 38400
# user interaction in tty8
StandardInput=tty
TTYPath=/dev/tty2
TTYPath=/dev/tty8
TTYReset=yes
TTYVHangup=yes
@@ -142,7 +142,7 @@ install_sw()
ipa_register_host()
{
#Integrate this PC into Domain
chvt 2
chvt 8
#Check if IPA is already Configured
echo "Checking for existing IPA- Setup."
if ( grep -q "${FQDN}" /etc/ipa/default.conf ); then