2016-11-09 5 views
0

vagrant box add ubuntu/trusty64を実行する代わりに、.boxファイルを手動でダウンロードしたいとします(this questionなど)。Vagrant .boxファイルの追加に失敗する

私はここからファイルをダウンロードした:私はvagrant box add test123 ~/Downloads/trusty-server-cloudimg-amd64-vagrant-disk1.box次の出力結果を実行すると https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box

を:

==> box: Box file was not detected as metadata. Adding it directly... 
==> box: Adding box 'test123' (v0) for provider: 
    box: Unpacking necessary files from: file:///XYZ/trusty-server-cloudimg-amd64-vagrant-disk1.box 
An error occurred while downloading the remote file. The error 
message, if any, is reproduced below. Please fix this error and try 
again. 

(それ以上のエラーメッセージはありません)

+0

[Vagrantボックスが見つからないか、リモートカタログでアクセスできませんでした - 互換性のないカールバージョン](http://stackoverflow.com/questions/40473943/vagrant-box-could-not-be-リモートカタログにアクセスできませんでした/ 40474205#40474205) –

+0

これは同じ理由があります。別のエラーメッセージが表示されたので、もう1つの質問を見つけることができませんでした。 – marceloow

答えて

1

あなたの放浪バージョンVagrant 1.8.7の場合これを試すことができます。

sudo rm -rf /opt/vagrant/embedded/bin/curl 

これは私のために働いた。

+0

ありがとう、私に多くの時間を救った! – marceloow

関連する問題