Merge "Fix dhclient enter hook path on RHEL-based amps"
This commit is contained in:
commit
5f38432c2f
|
@ -11,8 +11,8 @@ make_resolv_conf() { : ; }" > /etc/dhcp/dhclient-enter-hooks.d/noresolvconf
|
|||
else
|
||||
# RHEL/CentOS/Fedora
|
||||
echo "#!/bin/sh
|
||||
make_resolv_conf() { : ; }" > /etc/dhclient-enter-hooks
|
||||
chmod +x /etc/dhclient-enter-hooks
|
||||
make_resolv_conf() { : ; }" > /etc/dhcp/dhclient-enter-hooks
|
||||
chmod +x /etc/dhcp/dhclient-enter-hooks
|
||||
fi
|
||||
|
||||
if [ -e /etc/nsswitch.conf ]; then
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed an issue where /etc/resolv.conf on RHEl-based amphorae was being
|
||||
populated with DNS servers.
|
Loading…
Reference in New Issue