Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit e9d9c04

Browse files
committed
Update the script for nfs setup
Signed-off-by: Zhizhen Tang <zhizhen.tang@intel.com>
1 parent 78c94b8 commit e9d9c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/nfs_setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ try_command lsb_release -si > /dev/null
4343
LINUX_DISTRO=`lsb_release -si`
4444

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

0 commit comments

Comments
 (0)