examples: extract common features for running QEMU VMs
Needed by commit: "examples: add deploy-krops.sh"
This commit is contained in:
parent
cb3d5446c8
commit
ccba86a0f0
3 changed files with 62 additions and 41 deletions
7
examples/qemu-vm/vm-config.nix
Normal file
7
examples/qemu-vm/vm-config.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
virtualisation.graphics = false;
|
||||
services.mingetty.autologinUser = "root";
|
||||
users.users.root = {
|
||||
openssh.authorizedKeys.keyFiles = [ ./id-vm.pub ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue