Displaying 1 result from an estimated 1 matches for "48d0e39".
Did you mean:
480,39
2010 Feb 11
3
[PATCH node] remove ipv4 validation for ntp and rely on actual ntp verification
...brctl delbr $i
done
- service network start
+ service network start 2> /dev/null
+ if [ $NTPSERVERS ]; then
+ log "Testing NTP Configuration"
+ test_ntp_configuration
+ fi
fi
diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index 6435387..48d0e39 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -729,6 +729,22 @@ is_valid_ipv4 () {
return $result
}
+test_ntp_configuration () {
+ # stop ntpd service for testing
+ service ntpd stop > /dev/null 2>&1
+ SERVERS=$(echo $NTPSERVERS | awk 'BEGIN{FS...