BlueBuildB
BlueBuild17mo ago
Heus

installing virt-manager in recipe.yml

I want to create a recipe.yml that installs all the dev tools like bluefin-dx, but I'm not sure how to add the user to the libvirt group. Here's the recipe:

...
- libvirt
- virt-manager
- virt-viewer
- qemu
- qemu-char-spice
- qemu-device-display-virtio-gpu
- qemu-device-display-virtio-vga
- qemu-device-usb-redirect
- qemu-img
- qemu-system-x86-core
- qemu-user-binfmt
- qemu-user-static
# SystemD
- type: systemd
system:
enabled:
- libvirtd
- virtnetworkd.socket
- ​​virtstoraged.socket
- ​​virtnodedevd.socket
disabled:
# - flatpak-system-update.timer user: enabled: # - my-custom.service disabled: # - flatpak-user-update.timer # ----------------------------------------------------------------------- - type: script 
snippets: 
  - "sudo usermod -a -G libvirt $(whoami)" # this won't work right?

ignore indentation
Was this page helpful?