@冷无缺
chenyanhuadeMacBook-Pro:Homestead chenyanhua$ vagrant up
/Users/chenyanhua/Homestead/scripts/homestead.rb:108:in `read': No such file or directory @ rb_sysopen - /Users/chenyanhua/.ssh/id_rsa (Errno::ENOENT)
出现了这个错误
@冷无缺 @Summer 我已经导入这个 box 了, 你可以看看
chenyanhuadeMacBook-Pro:~ chenyanhua$ vagrant box add laravel/homestead //Users/chenyanhua/sites/virtualbox.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'laravel/homestead' (v0) for provider:
box: Unpacking necessary files from: file:////Users/chenyanhua/sites/virtualbox.box
==> box: Successfully added box 'laravel/homestead' (v0) for 'virtualbox'!
但是后面又重新下载
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'laravel/homestead' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0.4.0
==> default: Loading metadata for box 'laravel/homestead'
default: URL: https://atlas.hashicorp.com/laravel/homest...
==> default: Adding box 'laravel/homestead' (v0.5.0) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/laravel/boxes/...
default: Progress: 0% (Rate: 112k/s, Estimated time remaining: 5:25:51)^C==> default: Waiting for cleanup before exiting...
==> default: Box download was interrupted. Exiting.
这回是啥问题呢?
后面这个是附加的
chenyanhuadeMacBook-Pro:Homestead chenyanhua$ vagrant box list
laravel/homestead (virtualbox, 0)
chenyanhuadeMacBook-Pro:Homestead chenyanhua$ vagrant global-status
id name provider state directory
There are no active Vagrant environments on this computer! Or,
you haven't destroyed and recreated Vagrant environments that were
started with an older version of Vagrant.
chenyanhuadeMacBook-Pro:Homestead chenyanhua$
推荐文章: