Skip to content

Commit

Permalink
Update the script for nfs setup
Browse files Browse the repository at this point in the history
Signed-off-by: Zhizhen Tang <[email protected]>
  • Loading branch information
TangZhiZhen committed Apr 15, 2020
1 parent 78c94b8 commit e9d9c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/nfs_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ try_command lsb_release -si > /dev/null
LINUX_DISTRO=`lsb_release -si`

if [ "$LINUX_DISTRO" == "Ubuntu" ]; then
try_command apt-get install -y nfs-kernel-server openssh-server
DEBIAN_FRONTEND=noninteractive apt-get install -y nfs-kernel-server openssh-server
try_command /etc/init.d/nfs-kernel-server restart
elif [ "$LINUX_DISTRO" == "CentOS" ]; then
try_command yum install -y rpcbind nfs-utils openssh-server
Expand Down

0 comments on commit e9d9c04

Please sign in to comment.