LoginSignup
2
3

More than 5 years have passed since last update.

Vagrant起動時に「Waiting for Chef Zero to start」が出続ける。

Last updated at Posted at 2015-08-07

問題

Vagrantfileに「config.provision :chef_client」の記述があると、自動的にChef Zeroを使おうとして、失敗しているらしい。

$ vagrant up
...
Starting Chef Zero at http://xxx.xxx.xxx
Waiting for Chef Zero to start
Waiting for Chef Zero to start
Waiting for Chef Zero to start
Waiting for Chef Zero to start
Waiting for Chef Zero to start
Waiting for Chef Zero to start
Waiting for Chef Zero to start
Waiting for Chef Zero to start
Waiting for Chef Zero to start
Waiting for Chef Zero to start

解決方法

Chef Zeroを使わないようにVagrantfileに設定を追加する

# Vagrantfile:
...
    config.chef_zero.enabled = false # <= 追加

    config.vm.provision :chef_client do |chef|
      chef.chef_server_url     = "https://xxx.xxx.xxx"
      ...
    end
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3