vagrantup.com nói đầu vào vagrant box add hashicorp/precise32
,
Nhưng khi tôi vào nó, thiết bị đầu cuối thông điệp đầu ra lỗi:lệnh 'hộp lang thang thêm' thất bại
This command was not invoked properly. The help for this command is
available below.
Usage: vagrant box add <name> <url> [--provider provider] [-h]
Sau đó, tôi nhập vagrant box add hashicorp/precise32 \ http://files.vagrantup.com/hashicorp/precise32.box
,
Nhưng khi tải về thất bại, với thông báo lỗi sau.
Download failed. Will try another box URL if there is one.
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't open file /Users/XXXX/ http:/files.vagrantup.com/precise32.box
Làm cách nào để cài đặt hộp âm đạo?
tạo ảnh vui nhộn cảm ơn, đã cho tôi gặp khó khăn trong một thời gian. Cuối cùng tôi cập nhật phiên bản của tôi về lang thang mà cố định nó http://www.vagrantup.com/downloads.html –
Tôi chỉ cần thử này và có một 404 cho URL của bạn. 'http: // files.vagrantup.com/exact32.box' làm việc cho tôi, mặc dù. – Kietz
@Kietz Tôi đã cập nhật câu trả lời bằng URL hoạt động –