r/vmhost: Create directory for console logs

Need a directory where _libvirt_ can write logs from VM serial console
output.
frigate-exporter
Dustin 2024-10-13 18:30:04 -05:00
parent 75a146e19e
commit 1e6ab546bc
1 changed files with 10 additions and 0 deletions

View File

@ -36,6 +36,16 @@
- qemu
- storage
- name: ensure libvirt console log directory exists
file:
path: /var/log/libvirt/console
owner: root
group: root
mode: u=rwx,go=
state: directory
tags:
- log-dir
- name: ensure libvirtd starts at boot
service:
name: libvirtd