Created
September 1, 2017 20:40
-
-
Save wbotelhos/0c70bc430b15138762e88aca222f5bdf to your computer and use it in GitHub Desktop.
Codeship fix NTP
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 | |
apt-get -f -qq -y install ntp | |
sed -i -E 's|ubuntu.pool.ntp.org|amazon.pool.ntp.org iburst|' '/etc/ntp.conf' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment