Skip to content
Commit ea57ce75 authored by Bogdan Dobrelya's avatar Bogdan Dobrelya
Browse files

Fix resolv.conf search/nameserver



* Ensure additional nameserver/search, if defined as vars.
* Don't backup changed dhclient hooks as they are going to be
  executed by dhclient as well, which is not what we want.
* For debian OS family only:
- Rename nodnsupdate hook the resolvconf hook to be sourced always
before it.
- Ensure dhclient restarted via network restart to apply the
nodnsupdate hook.
* For rhel OS family, the fix TBD, it doesn't work the same way.

Signed-off-by: default avatarBogdan Dobrelya <bdobrelia@mirantis.com>
parent 439a2e26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment