From a300acfcf0a4cd05219012748e89331e360016ae Mon Sep 17 00:00:00 2001 From: Ilya Chesnokov Date: Mon, 14 Jan 2019 14:10:51 +0300 Subject: [PATCH] Make sure that ips array contains unique values Fixes #10591 --- plugins/hosts/linux/cap/nfs.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/hosts/linux/cap/nfs.rb b/plugins/hosts/linux/cap/nfs.rb index 630dc0f4e..406241e7f 100644 --- a/plugins/hosts/linux/cap/nfs.rb +++ b/plugins/hosts/linux/cap/nfs.rb @@ -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,