2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-22 03:00:26 +00:00

confluent support for replaycons command

This commit is contained in:
linggao
2014-12-19 09:04:53 -05:00
parent 72f7c2a6ec
commit dcb5505ca6

View File

@@ -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();