Skip to content

Commit

Permalink
fixes 'unsupported version' error; resolves ehough#76
Browse files Browse the repository at this point in the history
  • Loading branch information
mheers committed Apr 3, 2023
1 parent 80dc785 commit ae65d15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#
# ehough/docker-nfs-server: A lightweight, robust, flexible, and containerized NFS server.
#
# https://github.com/obeone/docker-nfs-server
# https://github.com/obeone/docker-nfs-server/pkgs/container/docker-nfs-server
# https://github.com/mheers/docker-nfs-server
# https://github.com/mheers/docker-nfs-server/pkgs/container/docker-nfs-server
#
# Almost all the work is from @ehough, I just created workflow to keep the
# docker image up-to-date and build for multiple architectures
Expand Down Expand Up @@ -534,7 +534,7 @@ boot_helper_mount() {
boot_helper_get_version_flags() {

local -r requested_version="${state[$STATE_NFS_VERSION]}"
local flags=('--nfs-version' "$requested_version" '--no-nfs-version' 2)
local flags=('--nfs-version' "$requested_version")

if ! is_nfs3_enabled; then
flags+=('--no-nfs-version' 3)
Expand Down

0 comments on commit ae65d15

Please sign in to comment.