Skip to content

Instantly share code, notes, and snippets.

@wbotelhos
Created September 1, 2017 20:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wbotelhos/0c70bc430b15138762e88aca222f5bdf to your computer and use it in GitHub Desktop.
Save wbotelhos/0c70bc430b15138762e88aca222f5bdf to your computer and use it in GitHub Desktop.
Codeship fix NTP
#!/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