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
wip/yesman
Daniel Peebles 7 years ago committed by GitHub
parent 9a4cd40337
commit 5fd528d043
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      nixos/modules/virtualisation/amazon-image.nix

@ -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" ];
};
}

Loading…
Cancel
Save