» Upload
Command: vagrant upload source [destination] [name|id]
This command uploads files and directories from the host to the guestmachine.
» Options
destination
- Path on the guest machine to upload file or directory.source
- Path to file or diretory on host to upload to guest machine.—compress
- Compress the file or directory before uploading to guest machine.—compression-type type
- Type of compression to use when compressingfile or directory for upload. Defaults tozip
for Windows guests andtgz
for non-Windows guests. Valid values:tgz
,zip
.—temporary
- Create a temporary location on the guest machine and uploadfiles to that location.
当前内容版权归 vagrantup.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 vagrantup.com .