From 248e391ed7be7651249cde42029bdac40e2b1c94 Mon Sep 17 00:00:00 2001 From: linggao Date: Thu, 18 Dec 2014 10:28:47 -0500 Subject: [PATCH] added confluent console 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();