相关疑难解决方法(0)

在Vagrantfile中需要一个Vagrant插件?

假设执行a Vagrantfile需要安装特定的Vagrant插件.所以,基本上你需要做的是

$ vagrant plugin install foobar-plugin
$ vagrant up
Run Code Online (Sandbox Code Playgroud)

如果跳过第一步,则vagrant up失败.

Vagrant中是否有一个选项可以让它自动安装插件?换句话说:Vagrantfile在创建和启动计算机之前,是否可以在哪个插件中指定自动安装?

vagrant

74
推荐指数
6
解决办法
2万
查看次数

Vagrant:*未知的配置部分'disksize'

在我的机器上配置Vagrant环境期间,我收到了以下消息:

Vagrant:*未知的配置部分'disksize'.

插件安装完成后显示.

这是vagrantfile:

# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
  # The most common configuration options are documented and commented below.
  # For a complete reference, please see the online documentation at
  # https://docs.vagrantup.com.
  # Every …
Run Code Online (Sandbox Code Playgroud)

virtualbox vagrant

2
推荐指数
1
解决办法
4994
查看次数

标签 统计

vagrant ×2

virtualbox ×1