From 82078204d357b278d0d12175f2b45b6b6ef8fc96 Mon Sep 17 00:00:00 2001 From: bybai Date: Mon, 29 Apr 2019 05:41:00 -0400 Subject: [PATCH] ./xCAT/postscripts/nicutils.sh --- xCAT/postscripts/nicutils.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT/postscripts/nicutils.sh b/xCAT/postscripts/nicutils.sh index 5bcb6d18c..8b0eeba75 100755 --- a/xCAT/postscripts/nicutils.sh +++ b/xCAT/postscripts/nicutils.sh @@ -1587,6 +1587,10 @@ function decode_arguments { # ############################################################################## function check_NetworkManager_or_network_service() { + #In RH7.6 postscripts stage, network service is active, but xCAT uses NetworkManager to configure IP, + #after that, xCAT disable NetworkManager, when CN is booted, CN use network service. + #In RH8, there is only NetworkManager + #So check network service should before check NetworkManager. checkservicestatus network > /dev/null 2>/dev/null || checkservicestatus wicked > /dev/null 2>/dev/null if [ $? -eq 0 ]; then stopservice NetworkManager | log_lines info