修改简化安装需要关闭交换内存以及模板的问题

This commit is contained in:
liang_-123 2021-02-04 17:04:47 +08:00
parent b53952aa62
commit d86deb6098
3 changed files with 1 additions and 17 deletions

View File

@ -35,11 +35,4 @@ function fn_selinux()
return 0
}
function fn_swapoff()
{
# 关闭交换内存
swapoff -a
return 0
}
COMMON_SH="common.sh"
COMMON_SH="common.sh"

View File

@ -188,14 +188,6 @@ function fn_post_check()
else
echo "Set selinux success."
fi
fn_swapoff
if [ $? -ne 0 ]
then
echo "Swapoff failed."
return 1
else
echo "Swapoff success."
fi
return 0
}

View File

@ -9,7 +9,6 @@
<PARAM name="gaussdbToolPath" value="@{install_location}/cluster/tool"/>
<PARAM name="corePath" value="@{install_location}/cluster/corefile"/>
<PARAM name="backIp1s" value="@{host_ip}"/>
<PARAM name="clusterType" value="single-inst"/>
</CLUSTER>
<DEVICELIST>
<DEVICE sn="@{host_name}">