From 1edb5add5c4ae9bb64cafdef1335016b05b79349 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 22 Jun 2010 19:28:08 +0000 Subject: [PATCH] -Warn if the boot timer cannot be disabled, but do the rest anyway git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/xcat/plugins/ipmi.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/ipmi.pm b/xCAT-server/lib/xcat/plugins/ipmi.pm index b1cc2ceed..5cc23ba2d 100644 --- a/xCAT-server/lib/xcat/plugins/ipmi.pm +++ b/xCAT-server/lib/xcat/plugins/ipmi.pm @@ -891,10 +891,13 @@ sub setboot_timerdisabled { if ($rsp->{code}) { if ($codes{$rsp->{code}}) { sendmsg([1,$codes{$rsp->{code}}],$sessdata->{node}); + return; + } elsif ($rsp->{code} == 0x80) { + sendmsg("Unable to disable countdown timer, boot device may revert in 60 seconds",$sessdata->{node}); } else { sendmsg([1,sprintf("Unknown ipmi error %02xh",$rsp->{code})],$sessdata->{node}); + return; } - return; } my $error; @ARGV=@{$sessdata->{extraargs}};