Merge pull request #10570 from briancain/show-more-info-with-file-prov

Show source and destination locations with file provisioner
This commit is contained in:
Brian Cain 2019-01-07 13:08:48 -08:00 committed by GitHub
commit a8b3d17e5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,8 @@ module VagrantPlugins
end
comm.execute(command)
@machine.ui.detail(I18n.t("vagrant.actions.vm.provision.file.locations",
src: source, dst: destination))
# now upload the file
comm.upload(source, destination)
end

View File

@ -2323,6 +2323,8 @@ en:
disabled_by_sentinel: |-
Machine already provisioned. Run `vagrant provision` or use the `--provision`
flag to force provisioning. Provisioners marked to run always will still run.
file:
locations: "%{src} => %{dst}"
resume:
resuming: Resuming suspended VM...
unpausing: |-