search for: ntp_host2

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

Did you mean: ntp_host1
2011 Jul 18
0
[PATCH node] fix ipv6 support in dns/ntp callbacks
...CTBUTTON", "blue", "white") + ButtonChoiceWindow(self.screen, "Network", "Invalid IP Address", buttons = ['Ok']) + self.ntp_host1.set("") + self.reset_screen_colors() + return + + def ntp_host2_callback(self): + warn = 0 + if not self.ntp_host2.value() is None and not self.ntp_host2.value() == "": + if not is_valid_ipv4(self.ntp_host2.value()): + if not is_valid_ipv6(self.ntp_host1.value()): + warn = 1 +...
2011 Aug 03
0
[PATCH] update valid_hostname regex checks
...0 insertions(+), 12 deletions(-) diff --git a/scripts/ovirt-config-setup.py b/scripts/ovirt-config-setup.py index 8c6c8af..a8f85cf 100755 --- a/scripts/ovirt-config-setup.py +++ b/scripts/ovirt-config-setup.py @@ -274,8 +274,8 @@ class NodeConfigScreen(): warn = 0 if not self.ntp_host2.value() is None and not self.ntp_host2.value() == "": if not is_valid_ipv4(self.ntp_host2.value()): - if not is_valid_ipv6(self.ntp_host1.value()): - if not is_valid_hostname(self.ntp_host1.value()): + if not is_vali...