From 28b8f76408f9ed19f9a94353ef00fb0ac4a23e2c Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Fri, 3 May 2024 11:26:43 -0400 Subject: [PATCH] make sure nfs-common is installed and make sure nfs is mounted --- 0_nfs.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/0_nfs.sh b/0_nfs.sh index 9eb8ec4..5ceb031 100644 --- a/0_nfs.sh +++ b/0_nfs.sh @@ -1,5 +1,8 @@ #!/bin/bash # +apt update -y +apt -y install nfs-common + function create_dir() { echo "creating directory: $1" mkdir -p $1 @@ -19,3 +22,5 @@ function install_nfs_mnt() { } grep '/var/lib/docker/volumes' >/dev/null || install_nfs_mnt + +mount -a