Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CentOS 5 box has wrong DNS conf #36

Closed
ttres opened this issue Dec 3, 2017 · 4 comments
Closed

CentOS 5 box has wrong DNS conf #36

ttres opened this issue Dec 3, 2017 · 4 comments
Assignees
Labels

Comments

@ttres
Copy link
Contributor

ttres commented Dec 3, 2017

The centos-5 Vagrant box is failing to install the puppet-agent package because the resolution of names is misconfigured.
The /etc/resolv.conf file has the address 192.168.122.1 as nameserver, when it should be 10.0.2.3, for internal Vagrant network.

@gutocarvalho
Copy link
Contributor

I don't think it's a box issue because the dhcp client should configure this file properly.

Anyways, I'll take a look ;)

@gutocarvalho
Copy link
Contributor

  1. Using the box directly everything works fine
  2. The problem happens when we are provisioning the box via puppet-toolkit

I confirm the issue, still checking...

@ttres
Copy link
Contributor Author

ttres commented Jan 26, 2018

Ok, this is the cause, and this is the solution: uninstall kudzu package from the box.

Installed Packages
Name       : kudzu
Arch       : x86_64
Version    : 1.2.57.1.26
Release    : 7.el5.centos
Size       : 455 k
Repo       : installed
Summary    : The CentOS Linux hardware probing tool.
URL        : http://fedora.redhat.com/projects/additional-projects/kudzu/
License    : GPL
Description: Kudzu is a hardware probing tool run at system boot time to determine
           : what hardware has been added or removed from the system.

The same problem is happening with the official Puppet CentOS 5 (puppetlabs/centos-5.11-64-puppet, suggested by @mciurcio ) box:

# yum info kudzu
Installed Packages
Name       : kudzu
Arch       : x86_64
Version    : 1.2.57.1.26
Release    : 7.el5.centos
Size       : 455 k
Repo       : installed
Summary    : The CentOS Linux hardware probing tool.
URL        : http://fedora.redhat.com/projects/additional-projects/kudzu/
License    : GPL
Description: Kudzu is a hardware probing tool run at system boot time to determine
           : what hardware has been added or removed from the system.

@gutocarvalho looks like the box works for you because you're the packager, so the network config inside the box is yours, but will not work for anyone else. ;-)

@ttres
Copy link
Contributor Author

ttres commented Jan 29, 2018

Version 1.0.1 of box gutocarvalho/oracle5x64nocm fixes this.
Closing.

@ttres ttres closed this as completed Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants