Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Bootstrap fails: Exception: undefined method `empty?' for nil:NilClass (NoMethodError) #8875
I have a vagrant box running, on trying bootstrap using knife getting this error
ChefDK version: 4.3.13
macOS High Sierra v10.13.6
box - bento/centos-7.2
Vagrant host is up
@n1th1l Thanks for the info.
you can try a couple of workarounds:
a. Delete the known_hosts file from your workstation.
b. Try to bootstrap the node with option
Also, I would recommend setting hostname/IP and then bootstrap using 'hostname or ip address' for more info you can visit https://docs.chef.io/knife_bootstrap.html
In my case it working as expected with
Knife bootstrap using:
that looks like some kind of bug in the train code.