when packaging a vagrant box, the package.box file does not contain a synced folder /src that has a bunch of repos I downloaded to it during provisioning. What would be the best way to include the synced folder so I can distribute the vm?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I guess you are using shared folders between your host and your virtual machine. Vagrant package will never package your shared folders because they are not part of the virtual machine, they belongs to your host.
The best way to package these files, is to store them in another folder in the virtual machine like in your /home or /opt for example.