プロが教える店舗&オフィスのセキュリティ対策術

ローカル環境を作るために、ドットインストールさんを参考に「Virtualbox5.0.2」と「vagrant1.7.4」を入れ、vagrant up しましたが、うまくいきません。
下記に、プロンプトの内容を記載します。

--
C:\localdev>vagrant>mycentos>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'chef/centos-6.5' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
The box 'chef/centos-6.5' could not be found or could not be accessed in the remote catalog; If this is a private box on HashiCorp's Atlas, please verify you're logged in via 'vagrant login'. Also, please double-check the name. The expanded URL and error message are shown below:

URL: ["https://atlas.hashicorp.com/chef/centos-6.5"]
Error: The requested URL returned error: 404 Not Found
--

セキュリティソフトが影響しているのかと思い、機能を無効にしたり、アンインストールしましたが、
状況がまったく変わりません。
上記内容を見て、アドバイスいただける方よろしくお願いいたします。


ちなみに、別のPCではVirtualBox4.3.28+Vagrant1.7.2ではマウントエラーなどがありましたが、概ねドットインストールさんの手順で問題なく稼働しております。

A 回答 (1件)

私も同じ箇所で躓き、解決しましたので解答させていただきます。


https://atlas.hashicorp.comを開いて見てみたら、chefというディレクトリはbentoという名前に変更したようです。
bentoには、centos6.5は存在せず代わりにcentos6.7があったので、そちらをインストールすることにしました。
vagrantfileの中のconfig.vm.box = "chef/centos-6.5"の部分を、config.vm.box = "bento/centos-6.7"に変更して、
vagrant upしてみてください。
    • good
    • 4
この回答へのお礼

アドバイスありがとうございます。

おかげさまで無事にローカル環境を作ることが出来ました。

お礼日時:2015/09/01 08:21

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!