Replicate netplan nameserver configuration for centos

After some reading, I decided to edit /etc/resolv.conf with the help of puppetmod: saz-resolv_conf

 class { 'resolv_conf':
      nameservers => ["$dir_ip"],
      searchpath  => ['node.consul'],

I was a bit skeptical about this at first since the file had automated items from OpenStack, however, everything is working as expected.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top