RHEL 7.2 KickStart %pre tty3?

Posted on

I have run into a problem when using a kickstart script on a 7.2 installation. During the %pre portion of the kickstart I do the following:

chvt 3
exec < /dev/tty3 > /dev/tty3 2>/dev/tty3

Pretty standard; works for everything less than 7.2. In order to facilitate debugging I have function defined as follows which allows me to pause the kickstart process if I need to;

# Pause function handle pausing if ${DEBUG} = true
function pause()
{
  local continue=
  while [ "${continue}" != "yes" ]; do
    read -p "Paused; Continue? " continue
    echo ""
  done
}

While I examine the TTY it always shows TTY3 (as expected) none of the output from the script is returned to the desired TTY. Anyone have any tips regarding my issue?

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.