diff --git a/xCAT-server/share/xcat/install/scripts/post.rhels8 b/xCAT-server/share/xcat/install/scripts/post.rhels8 index 5d06b9df0..d875efbaa 100644 --- a/xCAT-server/share/xcat/install/scripts/post.rhels8 +++ b/xCAT-server/share/xcat/install/scripts/post.rhels8 @@ -15,6 +15,6 @@ do msgutil_r "$MASTER_IP" "info" "set NIC $nicname to be activated on system boot" "/var/log/xcat/xcat.log" ;; esac - sed -i 's/ONBOOT=no/ONBOOT=yes/' "$i" + sed -i 's/ONBOOT=no/ONBOOT=yes/' "$i" fi done