r/vmhost: Create directory for console logs
Need a directory where _libvirt_ can write logs from VM serial console output.frigate-exporter
parent
75a146e19e
commit
1e6ab546bc
|
@ -36,6 +36,16 @@
|
||||||
- qemu
|
- qemu
|
||||||
- storage
|
- 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
|
- name: ensure libvirtd starts at boot
|
||||||
service:
|
service:
|
||||||
name: libvirtd
|
name: libvirtd
|
||||||
|
|
Loading…
Reference in New Issue