This commit is contained in:
Chris McClimans 2011-10-14 14:56:36 +13:00 committed by Mitchell Hashimoto
parent d4ff392be4
commit ec68c0a655
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ module Vagrant
@env.ui.info I18n.t("vagrant.actions.vm.share_folders.mounting")
@env["vm"].ssh.execute do |ssh|
shared_folders.each do |name, data|
# short guestpaths first, so we don't step on ourselves
shared_folders.sort_by {|name, data| data[:guestpath].length}.each do |name, data|
if data[:guestpath]
# Guest path specified, so mount the folder to specified point
@env.ui.info(I18n.t("vagrant.actions.vm.share_folders.mounting_entry",