2014-06-06 2 views
0

vagrant up 명령을 실행하려고 할 때 작동이 멈 춥니 다. 이 로컬 .box 파일을 로컬 드라이브에두고 주먹을 vagrant init으로 실행 한 다음 추가했습니다. 잘 갈 듯하지만, 아래 그림과 같이 내가 vagrant up를 실행하려고 할 때, 그것은 반환 추가 :Windows 7에서 Vagrant를 사용하여 실행중인 로컬 상자 VM을 가져올 수 없습니다 - 잘못된 URI 오류

C : /HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb : 176 :에 `분할 : 나쁜 URI (URI되지 않는 이유는 무엇입니까?) : 파일 : C : /Users/burea1124/Projects/theirgoods/CUserurea1124Projectstheirgoodstheirgoods_dev_vm.box (URI :: InvalidURIError) 분명히

는 내가 해결하기로되어있어 모양을 URI는 어딘가에 있지만 처음에는 왜 그렇게 보이는지 모르겠습니다. 아무도 내가 이것을 고칠 수있는 단서를 가지고 있습니까?

C : \ 사용자 \ burea1124 프로젝트 \ theirgoods> 방랑 상자가 theirgoods에게 C 추가 \ : \ 사용자 \ burea1124 \ 프로젝트 \ theirgoods \ theirgoods_dev_vm.box ==> 상자 : 상자 'theirgoods'(V0)를 추가 공급자 : 상자 : 다운로드 : file : // C : /Users/burea1124/Projects/theirgoods/theirgoods_dev_vm.box 상자 : 진행률 : 100 % (속도 : 500M/s, 예상 남은 시간 : - : - : -) ==> 상자 : 'virtualbox'에 'theirgoods'(v0) 상자가 성공적으로 추가되었습니다!

C : \ 사용자 \ burea1124 프로젝트는 \ theirgoods> 방랑 최대
버추얼 박스 '와' machine'default을 현실로 '제공 ... 가 ==> 기본값 : 상자'\ CUserurea1124Projectstheirgoodstheirgoods_dev_vm.box가 ' 을 수 없습니다 녹이다. ... 기본값 : 박스 공급자 : virtualbox 기본값 : 상자 버전 :> = 0 C : /HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb : 176 : in split': bad URI(is not URI?): file:C:/Users/burea1124/Projects/theirgoods/CUserurea1124Projectstheirgoodstheirgoods_dev_vm.box (URI::InvalidURIError) from C:/HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb:211:in ' from C : /HashiCorp/Vagrant/embedded/lib/ruby/2.0.0/uri/common.rb : 747 : parse' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/box_add.rb:458:in metadata_url?' /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/box_add.rb : 77 : block in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/box_add.rb:75:in 지도에서 ' C에서 : C에서 /HashiCorp/방랑/내장 /gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/box_add.rb:75:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in ' C : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3 /lib/vagrant/action/builder.rb:116:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in 실행중인 블록 ' C : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb : 19 : busy' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in 에서 ' 을 C : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/handle_box.rb : 79 : 에서 실행하십시오. 전화에서블록 ' C : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/handle_box.rb : 36 : synchronize' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builtin/handle_box.rb:36:in 에서' : C :/HashCorp/Vagrant/embedded/gems/gems/gagrant-1.6.3/lib/vagrant/action/warden.rb : 34 : call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:95:in finalize_action 블록 ' C :/HashiCorp/Vagrant/vagrant-1.6.3/lib/vagrant/action/warden.rb : 34 : call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in C : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/에서 ' '을 호출하십시오. builder.rb : 116 : call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in 블록 실행 중 ' C : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb : 19 : busy' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in 'C : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6의' 을 실행하십시오.3/lib/vagrant/action/builtin/call.rb : 53 : call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in C : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/plugins/providers/virtualbox/action/의 ' '을 호출하십시오. check_virtualbox.rb : 17 : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/builder.rb : 116 : 런 call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in 블록 call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/warden.rb:34:in 호 'C에서의 ' C : /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/util/busy.rb : 19 : busy' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/action/runner.rb:66:in 에서 실행' C :/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb : 196 : action_raw' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:173:in 액션 블록 ' C :/HashiCorp/Vagrant/e /bagrant/bagrant-1.6.3/lib/에있는 ' '을 호출합니다. /homeCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/에서 ' '을 호출하십시오. lock' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/machine.rb:161:in 방랑/machine.rb : 161 : action' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.6.3/lib/vagrant/batch_action.rb:82:in 블록 실행 (2 단계) '에서이

답변

2

당신이 Vagrantfile 전체 경로와 함께 상자를 참조하고, 당신은 대신 상자 이름을 사용해야 할 것 같다 :

config.vm.box = "theirgoods" 
2

이 오류를 검색했을 때 가장 큰 질문이었습니다. 제 경우의 문제는 상자를 올바르게 추가 한 것이지만 기존 Vagrantfile을 복사하고 수행하는 것을 잊었습니다 vagrant init.

이 오류가있는 다른 사용자는 vagrant init을 수행하고 있는지 확인하십시오.