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