From 35c05ef7420cf62b151bcdfc96405c9f314e6507 Mon Sep 17 00:00:00 2001 From: DrMaxNix Date: Sat, 7 Oct 2023 20:37:37 +0200 Subject: [PATCH] :memo: cannot use symlink and subdir --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0e309a8..b7d8392 100644 --- a/README.md +++ b/README.md @@ -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 ```