tests: add VM tests

This commit is contained in:
steveej 2018-10-28 11:25:39 +01:00
parent e22b8af561
commit 0b7f8b703b
3 changed files with 38 additions and 0 deletions

7
tests/test-vm.nix Normal file
View file

@ -0,0 +1,7 @@
{ lib, config, pkgs, fetchgit, ... }:
{
boot.consoleLogLevel=6;
users.users.root.initialPassword = "root";
systemd.services."serial-getty@ttyS0".enable = true;
networking.firewall.enable = false;
}