Remove option ec2.metadata
This commit is contained in:
parent
433a13d12a
commit
96b325b0b7
@ -148,5 +148,6 @@ in zipModules ([]
|
||||
++ obsolete' [ "services" "samba" "defaultShare" ]
|
||||
++ obsolete' [ "services" "syslog-ng" "serviceName" ]
|
||||
++ obsolete' [ "services" "syslog-ng" "listenToJournal" ]
|
||||
++ obsolete' [ "ec2" "metadata" ]
|
||||
|
||||
)
|
||||
|
@ -45,7 +45,6 @@ let
|
||||
'';
|
||||
in {
|
||||
imports = [ "${modulesPath}/virtualisation/amazon-image.nix" ];
|
||||
ec2.metadata = true;
|
||||
boot.postBootCommands = ''
|
||||
${bootScript} &
|
||||
'';
|
||||
|
@ -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" =
|
||||
|
Loading…
Reference in New Issue
Block a user