Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit a1f8a9d

Browse files
authored
fix Adding mount with similar machine name causes error #66 (#67)
1 parent 4add41b commit a1f8a9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-machine-nfs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ configureNFS()
333333

334334
#-- Update the /etc/exports file and restart nfsd
335335

336-
local exports_begin="# docker-machine-nfs-begin $prop_machine_name"
337-
local exports_end="# docker-machine-nfs-end $prop_machine_name"
336+
local exports_begin="# docker-machine-nfs-begin $prop_machine_name #"
337+
local exports_end="# docker-machine-nfs-end $prop_machine_name #"
338338

339339
# Remove old docker-machine-nfs exports
340340
local exports=$(cat /etc/exports | \

0 commit comments

Comments
 (0)