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.
(それ以上のエラーメッセージはありません)
[Vagrantボックスが見つからないか、リモートカタログでアクセスできませんでした - 互換性のないカールバージョン](http://stackoverflow.com/questions/40473943/vagrant-box-could-not-be-リモートカタログにアクセスできませんでした/ 40474205#40474205) –
これは同じ理由があります。別のエラーメッセージが表示されたので、もう1つの質問を見つけることができませんでした。 – marceloow