From 5b882fc24d92ea29867dba93fe18e1d691332912 Mon Sep 17 00:00:00 2001 From: immarvin Date: Thu, 8 Dec 2016 22:21:12 -0500 Subject: [PATCH] fix issue [fvt]sles12.2 mysqlsetup -i could not work #2297 --- xCAT-client/bin/mysqlsetup | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/xCAT-client/bin/mysqlsetup b/xCAT-client/bin/mysqlsetup index e242ed930..b8936aa30 100755 --- a/xCAT-client/bin/mysqlsetup +++ b/xCAT-client/bin/mysqlsetup @@ -165,12 +165,8 @@ if ($::linuxos == "sles12") { close($relfile); chomp(@lines); - # if == 12.1 - if (grep /VERSION_ID="12.1"/, @lines) { - - #$::linuxos == "sles12.1"; - $sp1flag = 1; - } + # for sles12.x + $sp1flag = 1; } # set flag