mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
amazon-image: enable configure-from-userdata and the corresponding VM test
This commit is contained in:
parent
878544e4f6
commit
cd7612b841
3 changed files with 2 additions and 3 deletions
|
@ -11,7 +11,7 @@ with lib;
|
|||
let cfg = config.ec2; in
|
||||
|
||||
{
|
||||
imports = [ ../profiles/headless.nix ./ec2-data.nix ./amazon-grow-partition.nix ];
|
||||
imports = [ ../profiles/headless.nix ./ec2-data.nix ./amazon-grow-partition.nix ./amazon-init.nix ];
|
||||
|
||||
config = {
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ let
|
|||
nixos-rebuild switch
|
||||
'';
|
||||
in {
|
||||
imports = [ "${modulesPath}/virtualisation/amazon-image.nix" ];
|
||||
boot.postBootCommands = ''
|
||||
${bootScript} &
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue