From dcb5505ca69739267483916a9edb4d69a7bdc348 Mon Sep 17 00:00:00 2001 From: linggao Date: Fri, 19 Dec 2014 09:04:53 -0500 Subject: [PATCH] confluent support for replaycons command --- xCAT-server/bin/replaycons | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xCAT-server/bin/replaycons b/xCAT-server/bin/replaycons index 26d0213a2..0cb54bfc9 100755 --- a/xCAT-server/bin/replaycons +++ b/xCAT-server/bin/replaycons @@ -70,6 +70,11 @@ if ($hmtab) { exit(1); } my $file = "/var/log/consoles/$node"; +#use confluent if it is there +if ((-x "/opt/confluent/bin/confetty") || (-x "/usr/bin/confetty")) { + $file = "/var/log/confluent/consoles/$node"; +} +#print "file=$file\n"; #if has conserver, goto conserver the execute replaycons command my @hostinfo=xCAT::NetworkUtils->determinehostname();