Remove option ec2.metadata

This commit is contained in:
Eelco Dolstra 2015-06-30 17:25:30 +02:00
parent 433a13d12a
commit 96b325b0b7
3 changed files with 1 additions and 11 deletions

View File

@ -148,5 +148,6 @@ in zipModules ([]
++ obsolete' [ "services" "samba" "defaultShare" ]
++ obsolete' [ "services" "syslog-ng" "serviceName" ]
++ obsolete' [ "services" "syslog-ng" "listenToJournal" ]
++ obsolete' [ "ec2" "metadata" ]
)

View File

@ -45,7 +45,6 @@ let
'';
in {
imports = [ "${modulesPath}/virtualisation/amazon-image.nix" ];
ec2.metadata = true;
boot.postBootCommands = ''
${bootScript} &
'';

View File

@ -7,16 +7,6 @@
with lib;
{
options = {
ec2.metadata = mkOption {
type = types.bool;
default = false;
description = ''
Whether to allow access to EC2 metadata.
'';
};
};
config = {
systemd.services."fetch-ec2-data" =