feat: add KVM/libvirt support for staging VM
- Load kvm-intel and kvm kernel modules - Enable libvirtd service - Add ai-worker to libvirtd group Requires Intel VT-x to be enabled in BIOS. After reboot: verify /dev/kvm exists, then deploy staging VM.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
group = "ai-worker";
|
||||
home = "/home/ai-worker";
|
||||
createHome = true;
|
||||
extraGroups = [ "docker" ];
|
||||
extraGroups = [ "docker" "libvirtd" ];
|
||||
shell = pkgs.bashInteractive;
|
||||
openssh.authorizedKeys.keys = [
|
||||
keys.users.ai-worker.main
|
||||
|
||||
Reference in New Issue
Block a user