2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00

fix issue#1162@github, correct a code logic error

This commit is contained in:
immarvin
2016-05-20 02:23:38 -04:00
parent f8cea1db80
commit f77b374358

View File

@@ -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