)]}'
{"elements/ntp/os-apply-config/etc/ntp.conf":[{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"b51cea0209087e31de63588fd3ec67dd7c7e0fee","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"{{#ntp.servers}}"},{"line_number":22,"context_line":"server {{server}}"},{"line_number":23,"context_line":"{{#fudge}}fudge {{server}} {{fudge}}{{/fudge}}"},{"line_number":24,"context_line":"{{/ntp.servers}}"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_1c7c2feb","side":"PARENT","line":23,"updated":"2015-01-12 18:30:00.000000000","message":"I don\u0027t think we should remove this.  See my comment on https://review.openstack.org/#/c/145737/","commit_id":"4f52bce01cb8b397cf85fe729782d0057a6c5725"},{"author":{"_account_id":10373,"name":"Nicholas Randon","email":"nicholas.randon@hp.com","username":"randonn"},"change_message_id":"a5e158d7fee78a6a99573f92be80c88ac58cad1d","unresolved":false,"context_lines":[{"line_number":20,"context_line":""},{"line_number":21,"context_line":"{{#ntp.servers}}"},{"line_number":22,"context_line":"server {{server}}"},{"line_number":23,"context_line":"{{#fudge}}fudge {{server}} {{fudge}}{{/fudge}}"},{"line_number":24,"context_line":"{{/ntp.servers}}"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_358e477a","side":"PARENT","line":23,"in_reply_to":"3a961159_1c7c2feb","updated":"2015-01-13 10:58:36.000000000","message":"Fudge only makes sense with hardware clocks, whereas this section is intended to provide external NTP sources. I did add a fudge value to the hardware clock stanza in my change.\n\nI do need to add a bit of Mustache to cope with the case where ntp.servers looks like [{\"server\": \u0027\u0027}]. This will address your comment on https://review.openstack.org/#/c/145737/ .","commit_id":"4f52bce01cb8b397cf85fe729782d0057a6c5725"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"10d0b7f9afa38ecc45d15565fb5b3e3de78b75a8","unresolved":false,"context_lines":[{"line_number":18,"context_line":"restrict 127.0.0.1"},{"line_number":19,"context_line":"restrict ::1"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"# Remote NTP server(s) to synchronizing with."},{"line_number":22,"context_line":"{{#ntp.servers}}"},{"line_number":23,"context_line":"server {{server}}"},{"line_number":24,"context_line":"{{/ntp.servers}}"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_f3517fda","line":21,"updated":"2015-01-09 18:14:09.000000000","message":"*synchronize","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":10373,"name":"Nicholas Randon","email":"nicholas.randon@hp.com","username":"randonn"},"change_message_id":"a5e158d7fee78a6a99573f92be80c88ac58cad1d","unresolved":false,"context_lines":[{"line_number":18,"context_line":"restrict 127.0.0.1"},{"line_number":19,"context_line":"restrict ::1"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"# Remote NTP server(s) to synchronizing with."},{"line_number":22,"context_line":"{{#ntp.servers}}"},{"line_number":23,"context_line":"server {{server}}"},{"line_number":24,"context_line":"{{/ntp.servers}}"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_9ac80a23","line":21,"in_reply_to":"3a961159_f3517fda","updated":"2015-01-13 10:58:36.000000000","message":"Done","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"b51cea0209087e31de63588fd3ec67dd7c7e0fee","unresolved":false,"context_lines":[{"line_number":24,"context_line":"{{/ntp.servers}}"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"# The pseudo IP used in case of network problems or if the remote NTP server"},{"line_number":27,"context_line":"# goes down. NTP will synchronize against itself until the it can start"},{"line_number":28,"context_line":"# synchronizing with the remote server again."},{"line_number":29,"context_line":"server 127.127.1.0 # local clock address"},{"line_number":30,"context_line":"fudge  127.127.1.0 stratum 10"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_1242a83d","line":27,"updated":"2015-01-12 18:30:00.000000000","message":"s/until the it/until it/","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":10373,"name":"Nicholas Randon","email":"nicholas.randon@hp.com","username":"randonn"},"change_message_id":"a5e158d7fee78a6a99573f92be80c88ac58cad1d","unresolved":false,"context_lines":[{"line_number":24,"context_line":"{{/ntp.servers}}"},{"line_number":25,"context_line":""},{"line_number":26,"context_line":"# The pseudo IP used in case of network problems or if the remote NTP server"},{"line_number":27,"context_line":"# goes down. NTP will synchronize against itself until the it can start"},{"line_number":28,"context_line":"# synchronizing with the remote server again."},{"line_number":29,"context_line":"server 127.127.1.0 # local clock address"},{"line_number":30,"context_line":"fudge  127.127.1.0 stratum 10"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_3ae396a5","line":27,"in_reply_to":"3a961159_1242a83d","updated":"2015-01-13 10:58:36.000000000","message":"Done","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"b51cea0209087e31de63588fd3ec67dd7c7e0fee","unresolved":false,"context_lines":[{"line_number":26,"context_line":"# The pseudo IP used in case of network problems or if the remote NTP server"},{"line_number":27,"context_line":"# goes down. NTP will synchronize against itself until the it can start"},{"line_number":28,"context_line":"# synchronizing with the remote server again."},{"line_number":29,"context_line":"server 127.127.1.0 # local clock address"},{"line_number":30,"context_line":"fudge  127.127.1.0 stratum 10"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_bc74fbfe","line":29,"updated":"2015-01-12 18:30:00.000000000","message":"Does this need to be in a {{^ntp.servers}} block so it doesn\u0027t get included once we have the configured server from o-c-c?","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":10373,"name":"Nicholas Randon","email":"nicholas.randon@hp.com","username":"randonn"},"change_message_id":"a5e158d7fee78a6a99573f92be80c88ac58cad1d","unresolved":false,"context_lines":[{"line_number":26,"context_line":"# The pseudo IP used in case of network problems or if the remote NTP server"},{"line_number":27,"context_line":"# goes down. NTP will synchronize against itself until the it can start"},{"line_number":28,"context_line":"# synchronizing with the remote server again."},{"line_number":29,"context_line":"server 127.127.1.0 # local clock address"},{"line_number":30,"context_line":"fudge  127.127.1.0 stratum 10"}],"source_content_type":"text/plain","patch_set":2,"id":"3a961159_7ab43ed4","line":29,"in_reply_to":"3a961159_bc74fbfe","updated":"2015-01-13 10:58:36.000000000","message":"No, as it\u0027s a fall-back to the hardware clock sync. If the remote server goes offline or otherwise becomes unavailable, this will sync from the local clock plus the drift. This is a typical way to config ntp, not something I invented.","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"935408b705024c1a737f9c99b8b4a446ab8eee83","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# The pseudo IP used in case of network problems or if the remote NTP server"},{"line_number":29,"context_line":"# goes down. NTP will synchronize against itself until it can start"},{"line_number":30,"context_line":"# synchronizing with the remote server again."},{"line_number":31,"context_line":"server 127.127.1.0 # local clock address"},{"line_number":32,"context_line":"fudge  127.127.1.0 stratum 10"}],"source_content_type":"text/plain","patch_set":4,"id":"3a961159_556005cf","line":30,"updated":"2015-01-14 11:38:27.000000000","message":"I\u0027d be happier using more exact language:\n\n    # Specify the internal hardware clock as a reference clock.\n    # Set a high stratum so this is only used if all external clocks fail.\n    # This will mitigate skew until external clocks return to service.","commit_id":"06d217d8e53084407340029a4ce7366eb0aa43f7"},{"author":{"_account_id":10373,"name":"Nicholas Randon","email":"nicholas.randon@hp.com","username":"randonn"},"change_message_id":"45a8c71a7ef1400c42d8d45d831cbbe34b176124","unresolved":false,"context_lines":[{"line_number":27,"context_line":""},{"line_number":28,"context_line":"# The pseudo IP used in case of network problems or if the remote NTP server"},{"line_number":29,"context_line":"# goes down. NTP will synchronize against itself until it can start"},{"line_number":30,"context_line":"# synchronizing with the remote server again."},{"line_number":31,"context_line":"server 127.127.1.0 # local clock address"},{"line_number":32,"context_line":"fudge  127.127.1.0 stratum 10"}],"source_content_type":"text/plain","patch_set":4,"id":"3a961159_bf64a349","line":30,"in_reply_to":"3a961159_556005cf","updated":"2015-01-14 14:22:52.000000000","message":"Done","commit_id":"06d217d8e53084407340029a4ce7366eb0aa43f7"}],"elements/ntp/os-refresh-config/configure.d/50-ntp":[{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"b51cea0209087e31de63588fd3ec67dd7c7e0fee","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"set -eu"},{"line_number":3,"context_line":"set -o pipefail"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# NTP server to sync with."},{"line_number":6,"context_line":"NTP_SERVER\u003d\"$(os-apply-config --key \u0027ntp.servers.0.server\u0027 --type raw --key-default \u0027\u0027)\""},{"line_number":7,"context_line":"SERVICE_NAME\u003d\"$(service --status-all 2\u003e/dev/null | awk \u0027/ ntp| ntpd/ {print $NF}\u0027)\""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"3a961159_b75fb40e","line":4,"updated":"2015-01-12 18:30:00.000000000","message":"Should we move this file even earlier in configure.d?  It sounds like something we want to be doing pretty early in the process, so something like 10 might be appropriate.  I don\u0027t have a strong preference one way or another, but that just occurred to me as I was reading the commit message.","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":10373,"name":"Nicholas Randon","email":"nicholas.randon@hp.com","username":"randonn"},"change_message_id":"a5e158d7fee78a6a99573f92be80c88ac58cad1d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"set -eu"},{"line_number":3,"context_line":"set -o pipefail"},{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# NTP server to sync with."},{"line_number":6,"context_line":"NTP_SERVER\u003d\"$(os-apply-config --key \u0027ntp.servers.0.server\u0027 --type raw --key-default \u0027\u0027)\""},{"line_number":7,"context_line":"SERVICE_NAME\u003d\"$(service --status-all 2\u003e/dev/null | awk \u0027/ ntp| ntpd/ {print $NF}\u0027)\""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"3a961159_7a299ef1","line":4,"in_reply_to":"3a961159_b75fb40e","updated":"2015-01-13 10:58:36.000000000","message":"I would like to but we must have neutron configured by this point. If I move it any earlier it could fail and the system would then fail.","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"b51cea0209087e31de63588fd3ec67dd7c7e0fee","unresolved":false,"context_lines":[{"line_number":4,"context_line":""},{"line_number":5,"context_line":"# NTP server to sync with."},{"line_number":6,"context_line":"NTP_SERVER\u003d\"$(os-apply-config --key \u0027ntp.servers.0.server\u0027 --type raw --key-default \u0027\u0027)\""},{"line_number":7,"context_line":"SERVICE_NAME\u003d\"$(service --status-all 2\u003e/dev/null | awk \u0027/ ntp| ntpd/ {print $NF}\u0027)\""},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"if [ -n \"${NTP_SERVER}\" ]; then"},{"line_number":10,"context_line":"    ntpdate -q \"${NTP_SERVER}\" ||"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"3a961159_fc9203fb","line":7,"updated":"2015-01-12 18:30:00.000000000","message":"I\u0027d rather use svc-map to do things like this: https://github.com/openstack/diskimage-builder/tree/master/elements/svc-map\n\nAlso, this doesn\u0027t appear  to work on Fedora:\n\n[root@test system]# service --status-all 2\u003e/dev/null | awk \u0027/ ntp| ntpd/ {print $NF}\u0027\n[root@test system]# systemctl status ntpd\nntpd.service - Network Time Service\n   Loaded: loaded (/usr/lib/systemd/system/ntpd.service; disabled)\n   Active: active (running) since Mon 2015-01-12 18:23:43 UTC; 16s ago\n\nIt looks like the systemd \"service\" wrapper doesn\u0027t work the same way as the actual Ubuntu one.","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":9453,"name":"James Polley","email":"jp@jamezpolley.com","username":"tchaypo"},"change_message_id":"10d0b7f9afa38ecc45d15565fb5b3e3de78b75a8","unresolved":false,"context_lines":[{"line_number":14,"context_line":"    service \"${SERVICE_NAME}\" status \u0026\u0026 service \"${SERVICE_NAME}\" stop"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    # Set the clock to the time of that of the server forcefully."},{"line_number":17,"context_line":"    # Note: This will not sanaty check the ntp server like ntpd."},{"line_number":18,"context_line":"    ntpdate -b \"${NTP_SERVER}\""},{"line_number":19,"context_line":"    hwclock --systohc # Re-align the H/W clock. (incase of power loss)"},{"line_number":20,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"3a961159_d344831b","line":17,"updated":"2015-01-09 18:14:09.000000000","message":"*sanity","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":10373,"name":"Nicholas Randon","email":"nicholas.randon@hp.com","username":"randonn"},"change_message_id":"a5e158d7fee78a6a99573f92be80c88ac58cad1d","unresolved":false,"context_lines":[{"line_number":14,"context_line":"    service \"${SERVICE_NAME}\" status \u0026\u0026 service \"${SERVICE_NAME}\" stop"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    # Set the clock to the time of that of the server forcefully."},{"line_number":17,"context_line":"    # Note: This will not sanaty check the ntp server like ntpd."},{"line_number":18,"context_line":"    ntpdate -b \"${NTP_SERVER}\""},{"line_number":19,"context_line":"    hwclock --systohc # Re-align the H/W clock. (incase of power loss)"},{"line_number":20,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"3a961159_d5e8a3b5","line":17,"in_reply_to":"3a961159_d344831b","updated":"2015-01-13 10:58:36.000000000","message":"Done","commit_id":"2d8fbb9fbb16186a9f2fbcaa4967cf7d6ba74cbd"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"e728ef97ef6b5b9fe95071a6fa66f5e665fa2cae","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    # Check ntpd is running, if it is stop the service."},{"line_number":14,"context_line":"    service \"${SERVICE_NAME}\" status \u0026\u0026 service \"${SERVICE_NAME}\" stop"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    # Set the clock to the time of that of the server forcefully."},{"line_number":17,"context_line":"    # Note: This will not sanity check the ntp server like ntpd."},{"line_number":18,"context_line":"    ntpdate -b \"${NTP_SERVER}\""},{"line_number":19,"context_line":"    hwclock --systohc # Re-align the H/W clock. (incase of power loss)"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"3a961159_5f449fb7","line":16,"updated":"2015-01-14 14:21:03.000000000","message":"It wasn\u0027t clear which way around this went - could we say \"Set the NTP clock to the value of the system clock\"?","commit_id":"06d217d8e53084407340029a4ce7366eb0aa43f7"},{"author":{"_account_id":10373,"name":"Nicholas Randon","email":"nicholas.randon@hp.com","username":"randonn"},"change_message_id":"45a8c71a7ef1400c42d8d45d831cbbe34b176124","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    # Check ntpd is running, if it is stop the service."},{"line_number":14,"context_line":"    service \"${SERVICE_NAME}\" status \u0026\u0026 service \"${SERVICE_NAME}\" stop"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    # Set the clock to the time of that of the server forcefully."},{"line_number":17,"context_line":"    # Note: This will not sanity check the ntp server like ntpd."},{"line_number":18,"context_line":"    ntpdate -b \"${NTP_SERVER}\""},{"line_number":19,"context_line":"    hwclock --systohc # Re-align the H/W clock. (incase of power loss)"}],"source_content_type":"application/x-shellscript","patch_set":4,"id":"3a961159_5f49ffb6","line":16,"in_reply_to":"3a961159_5f449fb7","updated":"2015-01-14 14:22:52.000000000","message":"Done","commit_id":"06d217d8e53084407340029a4ce7366eb0aa43f7"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"8f56598664d0a19e4e195b670f2da29e85970b7b","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    # Check ntpd is running, if it is stop the service."},{"line_number":14,"context_line":"    service \"${SERVICE_NAME}\" status \u0026\u0026 service \"${SERVICE_NAME}\" stop"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    # Set the NTP clock to the value of the system clock."},{"line_number":17,"context_line":"    # Note: This will not sanity check the ntp server like ntpd."},{"line_number":18,"context_line":"    ntpdate -b \"${NTP_SERVER}\""},{"line_number":19,"context_line":"    hwclock --systohc # Re-align the H/W clock. (incase of power loss)"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"3a961159_86187b77","line":16,"updated":"2015-01-14 17:13:58.000000000","message":"I\u0027m confused - aren\u0027t we forcibly setting the system clock to the NTP server clock here?  It seems like this comment change inverted the meaning.\n\nAlso, in looking this up I see a deprecation notice in the man page for ntpdate, which makes me think we should use the new method to do this.  See the note under the description in https://www.freebsd.org/cgi/man.cgi?query\u003dntpdate\u0026sektion\u003d8 (I see the same thing in the fedora man page, so it\u0027s not just freebsd).","commit_id":"fe26c6a7519b7a25465f8f2e8b321fe2a7ab06b5"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"e4cfb8ebd983fc25ad306cf7957edfcc1f4b96c7","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    # Check ntpd is running, if it is stop the service."},{"line_number":14,"context_line":"    service \"${SERVICE_NAME}\" status \u0026\u0026 service \"${SERVICE_NAME}\" stop"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    # Set the NTP clock to the value of the system clock."},{"line_number":17,"context_line":"    # Note: This will not sanity check the ntp server like ntpd."},{"line_number":18,"context_line":"    ntpdate -b \"${NTP_SERVER}\""},{"line_number":19,"context_line":"    hwclock --systohc # Re-align the H/W clock. (incase of power loss)"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"3a961159_c611a3b0","line":16,"in_reply_to":"3a961159_86187b77","updated":"2015-01-14 17:22:41.000000000","message":"1) Quite possibly! The old comment was unclear enough to be read either way and maybe I misunderstood the ntpdate manpage.\n\n2) Seems fair. I think you want -gq? I don\u0027t see an option to set rather than adjust though :(","commit_id":"fe26c6a7519b7a25465f8f2e8b321fe2a7ab06b5"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"eabf61ac03ffbb28efcf8b8717ba85c3d93712f9","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    # Check ntpd is running, if it is stop the service."},{"line_number":14,"context_line":"    service \"${SERVICE_NAME}\" status \u0026\u0026 service \"${SERVICE_NAME}\" stop"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    # Set the NTP clock to the value of the system clock."},{"line_number":17,"context_line":"    # Note: This will not sanity check the ntp server like ntpd."},{"line_number":18,"context_line":"    ntpdate -b \"${NTP_SERVER}\""},{"line_number":19,"context_line":"    hwclock --systohc # Re-align the H/W clock. (incase of power loss)"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"3a961159_b95d98ee","line":16,"in_reply_to":"3a961159_c611a3b0","updated":"2015-01-14 17:38:51.000000000","message":"Yeah, I think -gq should do it for this one.  I\u0027m not sure if there\u0027s a replacement for ntpdate -q above though.  Wondering if we can just remove that and let this fail if the server is unavailable though.","commit_id":"fe26c6a7519b7a25465f8f2e8b321fe2a7ab06b5"},{"author":{"_account_id":10373,"name":"Nicholas Randon","email":"nicholas.randon@hp.com","username":"randonn"},"change_message_id":"2e57208ccbcc88f7222fad659e65cbbad7c6ad69","unresolved":false,"context_lines":[{"line_number":13,"context_line":"    # Check ntpd is running, if it is stop the service."},{"line_number":14,"context_line":"    service \"${SERVICE_NAME}\" status \u0026\u0026 service \"${SERVICE_NAME}\" stop"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"    # Set the NTP clock to the value of the system clock."},{"line_number":17,"context_line":"    # Note: This will not sanity check the ntp server like ntpd."},{"line_number":18,"context_line":"    ntpdate -b \"${NTP_SERVER}\""},{"line_number":19,"context_line":"    hwclock --systohc # Re-align the H/W clock. (incase of power loss)"}],"source_content_type":"application/x-shellscript","patch_set":5,"id":"3a961159_79d6d0f3","line":16,"in_reply_to":"3a961159_c611a3b0","updated":"2015-01-14 17:43:37.000000000","message":"comment an easy fix SYSTEM --\u003e NTP swap\n\nI cannot get ntpd to do the same thing as ntpdate -b dose in this instance that why i had to use it.","commit_id":"fe26c6a7519b7a25465f8f2e8b321fe2a7ab06b5"}]}
