amazon-image: use NTP provided by the hypervisor

See http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/set-time.html for more information.

Fixes #32187
This commit is contained in:
Daniel Peebles 2017-11-29 22:48:00 -05:00 committed by GitHub
parent 9a4cd40337
commit 5fd528d043
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -152,5 +152,8 @@ let cfg = config.ec2; in
environment.systemPackages = [ pkgs.cryptsetup ];
boot.initrd.supportedFilesystems = [ "unionfs-fuse" ];
# EC2 has its own NTP server provided by the hypervisor
networking.timeServers = [ "169.254.169.123" ];
};
}