summaryrefslogtreecommitdiff
path: root/release/tools/ec2.conf
diff options
context:
space:
mode:
Diffstat (limited to 'release/tools/ec2.conf')
-rw-r--r--release/tools/ec2.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index c0164fc8c3f1..3be4a5015dbd 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -96,7 +96,7 @@ vm_extra_pre_umount() {
# Use the NTP service provided by Amazon
sed -i '' -e 's/^pool/#pool/' \
- -e 's/^#server.*/server 169.254.169.123 iburst/' \
+ -e '1,/^#server/s/^#server.*/server 169.254.169.123 iburst/' \
${DESTDIR}/etc/ntp.conf
# The first time the AMI boots, the installed "first boot" scripts