📝 cannot use symlink and subdir

This commit is contained in:
DrMaxNix 2023-10-07 20:37:37 +02:00
parent 22bc29fc73
commit 35c05ef742

View File

@ -11,8 +11,13 @@ Clone git repository:
# cd libvirt-firewall
```
Install as libvirt daemon hook:
Install as libvirt daemon hook (`libvirt < 6.5.0`):
```console
# mkdir /etc/libvirt/hooks
# ln -s /opt/libvirt-firewall/libvirt-firewall /etc/libvirt/hooks/daemon.d/libvirt-firewall
# cp libvirt-firewall /etc/libvirt/hooks/daemon
```
Install as libvirt daemon hook (`libvirt >= 6.5.0`, untested):
```console
# mkdir /etc/libvirt/hooks/daemon.d
# cp libvirt-firewall /etc/libvirt/hooks/daemon.d/libvirt-firewall
```