Make sure that ips array contains unique values

Fixes #10591
This commit is contained in:
Ilya Chesnokov 2019-01-14 14:10:51 +03:00
parent 7927c39da9
commit a300acfcf0
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ module VagrantPlugins
nfs_opts_setup(folders)
folders = folder_dupe_check(folders)
ips = ips.uniq
output = Vagrant::Util::TemplateRenderer.render('nfs/exports_linux',
uuid: id,
ips: ips,