vagrant upload
Upload files and directories from the host to the guest machine. More information: https://developer.hashicorp.com/vagrant/docs/cli/upload.
- Upload file or directory from the host to the guest machine:
vagrant upload
- Compress the file or directory before uploading to guest machine:
vagrant upload --compress
- Specify which type of compression to use. Default type is
zip:
vagrant upload --compression-type
- Create a temporary location on the guest machine and upload files to that location:
vagrant upload --temporary
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
