vmcore: start nfs-server if 'systemctl start nfs' does not work
This commit is contained in:
parent
681a42452f
commit
463f1dd097
|
@ -2,6 +2,9 @@
|
|||
yum install nfs-utils rpcbind -y
|
||||
systemctl start rpcbind && systemctl enable rpcbind
|
||||
systemctl start nfs && systemctl enable nfs
|
||||
if [ $? -ne 0 ];then
|
||||
systemctl start nfs-server && systemctl enable nfs-server
|
||||
fi
|
||||
|
||||
internal_net_seg=`echo ${SERVER_IP} | awk -F"." '{print $1"."$2"."$3}'`
|
||||
file_path=${APP_HOME}/vmcore/vmcore-nfs
|
||||
|
|
Loading…
Reference in New Issue