add support for sles 12 prompt detection