Wiki
If you use doas run:
doas cp /usr/bin/doas /usr/bin/sudo
To install vm-mgr & VM packages run:
curl -s https://raw.githubusercontent.com/j0shua-daniel/vm-mgr/refs/heads/main/setup | bash
Distros supported by the installer:
- Debian/Debian based.
- Arch/Arch based.
- OpenSUSE.
- RHEL/Fedora/RHEL based.
- Alpine.
- Void.
Nixos(comming soon!)Gentoo(comming soon!)Solus(comming soon!)Slackware(comming soon!)- Clear Linux.
- Fedora Silverblue (inside fedora toolbox).
If your distro is not supported by the installer please refer to the wiki.
Usage: Link to heading
Run vm-mgr
inside your terminal.
1) Start a VM
2) Create a VM
3) Delete a VM
4) Help
5) Quit
Option:
Type 2 to start creating your first vm-mgr vm!
All VM disks are stored in ~/.config/vm-mgr/
Install VM packages: Link to heading
Alpine:
doas apk add libvirt-daemon qemu-img qemu-system-x86_64 qemu-modules openrc bash
doas rc-update add libvirtd
doas service libvirtd start
doas modprobe tun
su
echo "tun" >> /etc/modules-load.d/tun.conf
cat /etc/modules | grep tun || echo tun >> /etc/modules
exit
doas addgroup $USER libvirt
doas rc-update add libvirt-guests
doas service libvirt-guests start
NixOS(NOT TESTED):
ADD USER TO “libvirtd” group in /etc/nixos/configuration.nix
#in /etc/nixos/configuration.nix
virtualisation.libvirtd = {
enable = true;
qemu = {
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
}).fd];
};
};
};
Gentoo(NOT TESTED):
Please look at the wiki
sudo emerge --ask app-emulation/qemu
Slackware(NOT TESTESD):
Freebsd:
NOT SUPPORTED
NetBSD:
NOT SUPPORTED