Joey Boggs
2011-Jul-21 13:57 UTC
[Ovirt-devel] [PATCH] persist resolv.conf after changing dns servers
Signed-off-by: Joey Boggs <jboggs at redhat.com> --- scripts/network.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/scripts/network.py b/scripts/network.py index 8956d00..39c0b3a 100644 --- a/scripts/network.py +++ b/scripts/network.py @@ -144,6 +144,7 @@ class Network: augtool("set", "/files/etc/resolv.conf/nameserver[1]", DNS1) if not DNS2 is None: augtool("set", "/files/etc/resolv.conf/nameserver[2]", DNS2) + ovirt_store_config("/etc/resolv.conf") except: log("Failed to set DNS servers") -- 1.7.5.4