This commit is contained in:
parent
d4ff392be4
commit
ec68c0a655
|
@ -51,7 +51,8 @@ module Vagrant
|
||||||
@env.ui.info I18n.t("vagrant.actions.vm.share_folders.mounting")
|
@env.ui.info I18n.t("vagrant.actions.vm.share_folders.mounting")
|
||||||
|
|
||||||
@env["vm"].ssh.execute do |ssh|
|
@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]
|
if data[:guestpath]
|
||||||
# Guest path specified, so mount the folder to specified point
|
# Guest path specified, so mount the folder to specified point
|
||||||
@env.ui.info(I18n.t("vagrant.actions.vm.share_folders.mounting_entry",
|
@env.ui.info(I18n.t("vagrant.actions.vm.share_folders.mounting_entry",
|
||||||
|
|
Loading…
Reference in New Issue