» Custom Provider
Warning: Advanced Topic! This topic is related todeveloping Vagrant plugins. If you are not interested in this oryou are just starting with Vagrant, it is safe to skip this page.
If you are developing a custom Vagrant provider,you will need to do a tiny bit more work in order for it to work well withVagrant Share.
For now, this is only one step:
public_address
provider capability - You must implement this capabilityto return a string that is an address that can be used to access theguest from Vagrant. This does not need to be a globally routable address,it only needs to be accessible from the machine running Vagrant. If youcannot detect an address, returnnil
.
当前内容版权归 vagrantup.com 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 vagrantup.com .