mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-18 17:20:19 +00:00
Merge pull request #1164 from immarvin/onsles12otherpkgs
fix issue#1162@github, correct a code logic error
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user