search for: dns_host1

Displaying 2 results from an estimated 2 matches for "dns_host1".

2011 Jul 18
0
[PATCH node] fix ipv6 support in dns/ntp callbacks
...36 insertions(+), 6 deletions(-) diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py index d55ea36..753c80d 100755 --- a/scripts/ovirt-config-setup.py +++ b/scripts/ovirt-config-setup.py @@ -231,7 +231,8 @@ class NodeConfigScreen(): warn = 0 if not self.dns_host1.value() is None and not self.dns_host1.value() == "": if not is_valid_ipv4(self.dns_host1.value()): - warn = 1 + if not is_valid_ipv6(self.dns_host1.value()): + warn = 1 if warn == 1: self....
2011 Aug 03
0
[PATCH] update valid_hostname regex checks
...os.system("hostname " + self.net_hostname.value()) - ovirt_store_config("/etc/sysconfig/network") + ovirt_store_config("/etc/sysconfig/network") dns_servers = "" ntp_servers = "" if not self.dns_host1.value() == "": diff --git a/scripts/ovirtfunctions.py b/scripts/ovirtfunctions.py index ae454e5..2d6fac4 100644 --- a/scripts/ovirtfunctions.py +++ b/scripts/ovirtfunctions.py @@ -781,11 +781,15 @@ def is_valid_ipv6(ip_address): return False def is_valid_hostname(hostname): -...