curl: (6) Couldn't resolve host 'www.opscode.com'

1.4k Views Asked by At

I've something wrong after do the knife solo prepare. I dont know why this happen.

$ knife solo prepare root@url  -c solo.rb -i /../path/certificate.pem
Bootstrapping Chef...
Enter the password for root@url:
curl: (6) Couldn't resolve host 'www.opscode.com'
bash: install.sh: No such file or directory
Generating node config './nodes/url.json'...

i'm manualy create .pem by following this step. http://panoptic.com/wiki/aolserver/How_to_generate_self-signed_SSL_certificates

what is wrong with curl?

cmiiw

1

There are 1 best solutions below

2
On

Curl is unable to reach DNS server to convert human readable domain name to IP. Check your /etc/resolv.conf entries in case of linux. You should be able to reach atleast one server in that file.