distro: fix configure_serial_console for rhel7.