我尝试运行 Vagrant 机器但遇到错误,因为我安装了 Vagrant 1.0.1。然后我卸载并安装了 Vagrant 1.2.2。但是,当我运行 vagrant up 时出现错误。
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
The box 'precise32' is still stored on disk in the Vagrant 1.0.x
format. This box must be upgraded in order to work properly with
this version of Vagrant.
我尝试了 vagrant init 但也遇到了错误。
$ vagrant init precise32 http://files.vagrantup.com/precise32.box
`Vagrantfile` already exists in this directory. Remove it before
running `vagrant init`.
如何将我的 precise32 box 升级到新版本的 Vagrant?
运行
vagrant box repackage precise32 virtualbox
我是一名优秀的程序员,十分优秀!