amazon-image: enable configure-from-userdata and the corresponding VM test

This commit is contained in:
Dan Peebles
2015-12-30 04:58:29 +00:00
parent 878544e4f6
commit cd7612b841
3 changed files with 2 additions and 3 deletions

View File

@@ -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 = {

View File

@@ -44,7 +44,6 @@ let
nixos-rebuild switch
'';
in {
imports = [ "${modulesPath}/virtualisation/amazon-image.nix" ];
boot.postBootCommands = ''
${bootScript} &
'';