简体   繁体   English

vagrant插件安装在哪里?

[英]Where are vagrant plugins installed?

I'm curious to find where exactly vagrant plugins are installed. 我很想知道安装了什么样的流浪插件。 I'm currently looking at a vagrant installation on Windows, and my example is the vagrant-timezone plugin. 我目前正在寻找Windows上的流浪汉安装,我的例子是vagrant-timezone插件。 My best guess was in the C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.8.1\\plugins, but I'm not seeing "timezone" anywhere around there? 我最好的猜测是在C:\\ HashiCorp \\ Vagrant \\ embedded \\ gems \\ gems \\ vagrant-1.8.1 \\ plugins中,但我没有在那里看到“时区”?

From some more research, it appears that information for plugins is spread across a few locations: 从更多的研究来看,插件的信息似乎分布在几个地方:

  • %USERPROFILE%\\.vagrant.d\\plugins.json
    • lists all installed plugins 列出所有已安装的插件
  • %USERPROFILE%\\.vagrant.d\\gems\\gems\\"plugin_name-version"
    • Directory (not sure what all the files do, but this looks like the bulk of it) 目录(不确定所有文件的作用,但这看起来像是大部分文件)
  • %USERPROFILE%\\.vagrant.d\\gems\\specifications\\"plugin_name-version".gemspec

For my use case, I was looking to manually extract and install a plugin, so these seemed to be all that I needed to account for. 对于我的用例,我希望手动提取并安装一个插件,所以这些似乎是我需要考虑的全部内容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM