Skip to content

Instantly share code, notes, and snippets.

View ternel's full-sized avatar

Benjamin Clay ternel

View GitHub Profile
@ternel
ternel / b2dntp
Created October 2, 2017 09:01 — forked from mmcc/b2dntp
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