From afe6238f382b5ac408312eef1083188ef1b6f7b0 Mon Sep 17 00:00:00 2001 From: xuweibj Date: Sun, 16 Dec 2018 20:35:31 -0500 Subject: [PATCH] fix issue 5856, modify error msg of rspconfig for python --- xCAT-server/lib/xcat/plugins/openbmc2.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-server/lib/xcat/plugins/openbmc2.pm b/xCAT-server/lib/xcat/plugins/openbmc2.pm index c15bf7ad8..a70a2f5ee 100644 --- a/xCAT-server/lib/xcat/plugins/openbmc2.pm +++ b/xCAT-server/lib/xcat/plugins/openbmc2.pm @@ -167,8 +167,8 @@ my %rsp_set_valid_values = ( autoreboot => "0|1", bootmode => "regular|safe|setup", powersupplyredundancy => "disabled|enabled", - powerrestorepolicy => "restore|always_on|always_off", - timesyncmethod => "ntp|manual", + powerrestorepolicy => "always_off|always_on|restore", + timesyncmethod => "manual|ntp", ); my @rspconfig_get_options = (@rsp_common_options, qw/ipsrc sshcfg gard dump/); #-------------------------------------------------------