1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-01-27 23:55:19 +00:00

Compare commits

...

5 commits

Author SHA1 Message Date
catborise
cea2309c64
Merge pull request #607 from catborise/master
Fixes
2023-09-25 20:25:08 +03:00
catborise
35afff26f4
Merge pull request #606 from krejcar25/fix-604
Replace ifnotequal with if
2023-09-25 20:23:50 +03:00
Amélie Krejčí
53d1407483
Replace ifnotequal with if
ifequal and ifnotequal are deprecated in Django 4.0
2023-09-25 14:40:22 +02:00
catborise
4a4a998d4c add auth_unix_rw settings for debian and ubuntu 2023-09-06 14:50:59 +03:00
catborise
635101a1b6 remove deprecated ifnotequal dtl tag 2023-09-06 13:30:58 +03:00
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -160,7 +160,7 @@
</div> <!-- /.modal-content -->
</div> <!-- /.modal-dialog -->
</div> <!-- /.modal -->
{% ifnotequal volume.type "iso" %}
{% if volume.type != "iso" %}
<button class="btn btn-sm btn-secondary" data-bs-toggle="modal" data-bs-target="#Clone{{ forloop.counter }}" title="{% trans "Clone" %}">
{% bs_icon 'files' %}
</button>
@ -168,7 +168,7 @@
<button class="btn btn-sm btn-secondary disabled">
{% bs_icon 'files' %}
</button>
{% endifnotequal %}
{% endif %}
</td>
<td>
<form action="" method="post" role="form" aria-label="Delete volume form">{% csrf_token %}