作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
这两个 Vagrant 插件有什么区别?我正在使用 vagrant-hostmanager,它可以更新主机上的/etc/hosts 文件,以及 guest 机器上的文件,支持多机 vagrant 设置。但是当我尝试使用这个工具时 https://github.com/roots/trellis我注意到它使用 vagrant-hostsupdater。与 vagrant-hostmanager 相比,这个插件有什么好处吗?
最佳答案
Hostsupdater更新 /etc/hosts
仅主机。
Hostsmanager更新 /etc/hosts
vm 和主机。
关于vagrant - vagrant-hostsupdater 和 vagrant-hostmanager 有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32396831/
这两个 Vagrant 插件有什么区别?我正在使用 vagrant-hostmanager,它可以更新主机上的/etc/hosts 文件,以及 guest 机器上的文件,支持多机 vagrant 设置
我正在尝试在 Windows 10 上使用 hostmanager 插件编写 Vagrantfile,但遇到了问题。插件安装后收到如下警告,最后找不到“hostmanager”: λ vagrant
我是一名优秀的程序员,十分优秀!