From 4a4a998d4cbab60049c28a91c9e4c3416cc05ba5 Mon Sep 17 00:00:00 2001 From: catborise Date: Wed, 6 Sep 2023 14:50:59 +0300 Subject: [PATCH] add auth_unix_rw settings for debian and ubuntu --- dev/libvirt-bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/libvirt-bootstrap.sh b/dev/libvirt-bootstrap.sh index a1fc888..11a7a9b 100644 --- a/dev/libvirt-bootstrap.sh +++ b/dev/libvirt-bootstrap.sh @@ -631,6 +631,7 @@ install_ubuntu_post() { sed -i 's/#listen_tls/listen_tls/g' /etc/libvirt/libvirtd.conf sed -i 's/#listen_tcp/listen_tcp/g' /etc/libvirt/libvirtd.conf sed -i 's/#auth_tcp/auth_tcp/g' /etc/libvirt/libvirtd.conf + sed -i 's/#auth_unix_rw = "polkit"/auth_unix_rw = "none"/g' /etc/libvirt/libvirtd.conf else echoerror "/etc/libvirt/libvirtd.conf not found. Exiting..." exit 1 @@ -710,6 +711,7 @@ install_debian_post() { sed -i 's/#listen_tls/listen_tls/g' /etc/libvirt/libvirtd.conf sed -i 's/#listen_tcp/listen_tcp/g' /etc/libvirt/libvirtd.conf sed -i 's/#auth_tcp/auth_tcp/g' /etc/libvirt/libvirtd.conf + sed -i 's/#auth_unix_rw = "polkit"/auth_unix_rw = "none"/g' /etc/libvirt/libvirtd.conf else echoerror "/etc/libvirt/libvirtd.conf not found. Exiting..." exit 1