Disable nfs insecure locks
This commit is contained in:
parent
e5b04a2d1f
commit
4d0e030130
|
@ -352,6 +352,15 @@ function upgrade_installation {
|
||||||
echo ''
|
echo ''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function disable_nfs_insecure_locks {
|
||||||
|
apt-get -yq install nfs-kernel-server
|
||||||
|
if grep 'insecure_locks' /etc/exports; then
|
||||||
|
sed -i 's|,insecure_locks||g' /etc/exports
|
||||||
|
sed -i 's|insecure_locks,||g' /etc/exports
|
||||||
|
exportfs -a
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function setup_firewall {
|
function setup_firewall {
|
||||||
function_check create_completion_file
|
function_check create_completion_file
|
||||||
create_completion_file
|
create_completion_file
|
||||||
|
@ -379,6 +388,9 @@ function setup_utils {
|
||||||
function_check remove_bluetooth
|
function_check remove_bluetooth
|
||||||
remove_bluetooth
|
remove_bluetooth
|
||||||
|
|
||||||
|
function_check disable_nfs_insecure_locks
|
||||||
|
disable_nfs_insecure_locks
|
||||||
|
|
||||||
function_check turn_off_rsys_logging
|
function_check turn_off_rsys_logging
|
||||||
turn_off_rsys_logging
|
turn_off_rsys_logging
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue