From 635101a1b6282edb9b87cbd3e0677d30a5bee8ac Mon Sep 17 00:00:00 2001 From: catborise Date: Wed, 6 Sep 2023 13:30:58 +0300 Subject: [PATCH 1/3] remove deprecated ifnotequal dtl tag --- storages/templates/storage.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storages/templates/storage.html b/storages/templates/storage.html index 8da0c31..4b6235b 100644 --- a/storages/templates/storage.html +++ b/storages/templates/storage.html @@ -160,7 +160,7 @@ - {% ifnotequal volume.type "iso" %} + {% if volume.type != "iso" %} @@ -168,7 +168,7 @@ - {% endifnotequal %} + {% endif %}
{% csrf_token %} From 4a4a998d4cbab60049c28a91c9e4c3416cc05ba5 Mon Sep 17 00:00:00 2001 From: catborise Date: Wed, 6 Sep 2023 14:50:59 +0300 Subject: [PATCH 2/3] 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 From 53d140748330011ef344215caf34d3e7d1d262a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Am=C3=A9lie=20Krej=C4=8D=C3=AD?= Date: Mon, 25 Sep 2023 14:40:22 +0200 Subject: [PATCH 3/3] Replace ifnotequal with if ifequal and ifnotequal are deprecated in Django 4.0 --- storages/templates/storage.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/storages/templates/storage.html b/storages/templates/storage.html index 8da0c31..4b6235b 100644 --- a/storages/templates/storage.html +++ b/storages/templates/storage.html @@ -160,7 +160,7 @@ - {% ifnotequal volume.type "iso" %} + {% if volume.type != "iso" %} @@ -168,7 +168,7 @@ - {% endifnotequal %} + {% endif %} {% csrf_token %}