Skip to content

Instantly share code, notes, and snippets.

@mmcc
Created September 11, 2014 16:49
Show Gist options
  • Save mmcc/bfd052a12fdd82f76161 to your computer and use it in GitHub Desktop.
Save mmcc/bfd052a12fdd82f76161 to your computer and use it in GitHub Desktop.
boot2docker NTP update
#!/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
@mmcc
Copy link
Author

mmcc commented Sep 11, 2014

Found this in issue #290 on boot2docker, but fixes my ntp issues right up (via @docwhat)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment