# Chef tutorial not working (virtualbox, vagrant, centos7.2)

**URL:** <https://discourse.chef.io/t/chef-tutorial-not-working-virtualbox-vagrant-centos7-2/10211>\
**Category:** Chef Infra (archive)\
**Created:** [January 12, 2017, 4:53pm UTC](https://discourse.chef.io/t/chef-tutorial-not-working-virtualbox-vagrant-centos7-2/10211 "2017-01-12T16:53:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![user37](https://avatars.discourse-cdn.com/v4/letter/u/e19b73/32.png) [@user37](https://discourse.chef.io/u/user37)\
**Post date:** [January 12, 2017, 4:53pm UTC](https://discourse.chef.io/t/chef-tutorial-not-working-virtualbox-vagrant-centos7-2/10211/1 "2017-01-12T16:53:56Z")

</div>

I’m working on the chef tutorial, at [https://learn.chef.io/tutorials/manage-a-node/rhel/virtualbox/bootstrap-your-node/](https://learn.chef.io/tutorials/manage-a-node/rhel/virtualbox/bootstrap-your-node/)

In “3. Confirm the result”, there’s a command  
curl 10.1.1.34  
I keep getting these errors:  
curl: (7) Failed to connect to 10.1.1.34 port 80: No route to host  
I’ve installed the tutorial on a MacBook Pro and on an Ubuntu 16.04 box and had the same problem with both.

I’m almost certain that the problem lies with the CentOS 7.2 bento box.

Does anyone have a solution?

---

<div class="post-metadata">

**Author:** ![user37](https://avatars.discourse-cdn.com/v4/letter/u/e19b73/32.png) [@user37](https://discourse.chef.io/u/user37)\
**Post date:** [January 12, 2017, 6:10pm UTC](https://discourse.chef.io/t/chef-tutorial-not-working-virtualbox-vagrant-centos7-2/10211/2 "2017-01-12T18:10:17Z")

</div>

Turns out there’s a minor bug in Vagrant 1.9.1. See [this answer on StackOverflow](http://stackoverflow.com/a/41553621/) for a solution.

---

<div class="post-metadata">

**Author:** ![svucich](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/svucich/32/1717_2.png) [@svucich](https://discourse.chef.io/u/svucich)\
**Post date:** [January 12, 2017, 10:09pm UTC](https://discourse.chef.io/t/chef-tutorial-not-working-virtualbox-vagrant-centos7-2/10211/3 "2017-01-12T22:09:11Z")

</div>

Does the CentOS vm have internet access? Can you ping the VM from your host machine/dev machine? lastly, I have had lots of “FUN” with curl behind a non-transparent proxy. Could be as simple as having to do the following on the curl command as it doesn’t seem to like the HTTP\_PROXY environment variable:

```
curl --noproxy 10.1.1.34, 10.1.1.34
```

---

<div class="post-metadata">

**Author:** ![user37](https://avatars.discourse-cdn.com/v4/letter/u/e19b73/32.png) [@user37](https://discourse.chef.io/u/user37)\
**Post date:** [January 13, 2017, 1:42pm UTC](https://discourse.chef.io/t/chef-tutorial-not-working-virtualbox-vagrant-centos7-2/10211/4 "2017-01-13T13:42:16Z")

</div>

No, like I said in my previous comment, it’s a bug in Vagrant.
