Created
September 11, 2013 04:37
-
-
Save te2u/6519394 to your computer and use it in GitHub Desktop.
ntpdateコマンドを使った時刻同期。
ローカルの仮想マシンを立ち上げた際に実行して時刻を同期する。
This file contains hidden or 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/bash | |
set -eu | |
NTP_SERVER="ntp.nict.jp" | |
sudo ntpdate -u $NTP_SERVER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment