From f77b37435885776b20afb290019fffaafb951e63 Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 20 May 2016 02:23:38 -0400 Subject: [PATCH] fix issue#1162@github, correct a code logic error --- xCAT-server/share/xcat/install/scripts/post.xcat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.xcat b/xCAT-server/share/xcat/install/scripts/post.xcat index 9c170c790..7faefb438 100755 --- a/xCAT-server/share/xcat/install/scripts/post.xcat +++ b/xCAT-server/share/xcat/install/scripts/post.xcat @@ -430,7 +430,7 @@ cd / # To skip the conflict, the network service should be stoped in the yast first stage. Then base on the service # dependency, the service start order will be 'YaST2-Second-Stage.service'->'network'->'xcatpostinit1' in serial. # Then the Yast2 will be stopped before running the zypper in otherpkgs. -if [[ $OSVER != sles11* ]]; then +if [[ $OSVER =~ sles && $OSVER != sles11* ]]; then service network stop fi