-
-
Save ternel/704fb7f5adf2415301be3377e12e80be to your computer and use it in GitHub Desktop.
boot2docker NTP update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Fix NTP/Time | |
# https://github.com/boot2docker/boot2docker/issues/290 | |
boot2docker ssh -- sudo killall -9 ntpd | |
boot2docker ssh -- sudo ntpclient -s -h pool.ntp.org | |
boot2docker ssh -- sudo ntpd -p pool.ntp.org |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment