[pve-devel] [PATCH proxmox-apt 1/2] fallback to Release file for Origin retrieval

2023-04-12 Thread Fabian Grünbichler
APT will not store the InRelease file in some cases, and some repositories might not even have one in the first place. Signed-off-by: Fabian Grünbichler --- src/repositories/repository.rs | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/repositories/re

[pve-devel] [PATCH proxmox-apt 2/2] fix #4653: (In)Release file: improve handling of special suites

2023-04-12 Thread Fabian Grünbichler
APT doesn't mind a repository with either "/" or "./" as suite/distribution, such as deb https://example.com/debian ./ in that case, the 'dists' part of the URL and the trailing slash (which would be encoded as '_') is dropped in the file name in '/var/lib/apt/lists/'. Other suite values with a

[pve-devel] [PATCH pve-network] fix #4662 : frr: fix config generation ordering

2023-04-12 Thread Alexandre Derumier
vrf and router bgp vrf need to be ordered by vrf name ip protocol need to be at the end Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Controllers/BgpPlugin.pm | 2 +- PVE/Network/SDN/Controllers/EvpnPlugin.pm | 67 --- .../ebgp_loopback/expected_controller_config

[pve-devel] [PATCH pve-network] fix #4389 : evpn: exit nodes : null routes subnets from other zones

2023-04-12 Thread Alexandre Derumier
We don't want to routes subnets betwen differents when same exit node is used Signed-off-by: Alexandre Derumier --- PVE/Network/SDN/Controllers/EvpnPlugin.pm | 15 ++- PVE/Network/SDN/Vnets.pm | 4 +- .../expected_controller_config| 98 ++

[pve-devel] [PATCH qemu-server] net: Skip and warn of interfaces without bridge

2023-04-12 Thread Christian Ebner
Handle and warn about network interfaces which are not attached to any bridge because the user actively removed it from the VM config. Signed-off-by: Christian Ebner --- PVE/QemuServer.pm | 4 1 file changed, 4 insertions(+) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index c1d0fd2.

[pve-devel] [PATCH docs v5 5/5] added noVNC clipboard documentation

2023-04-12 Thread Markus Frank
Signed-off-by: Markus Frank --- qm.adoc | 17 + 1 file changed, 17 insertions(+) diff --git a/qm.adoc b/qm.adoc index bd535a2..6b95518 100644 --- a/qm.adoc +++ b/qm.adoc @@ -717,6 +717,23 @@ Selecting `serialX` as display 'type' disables the VGA output, and redirects the Web Co

[pve-devel] [PATCH novnc v5 3/5] added show clipboard button patch to series

2023-04-12 Thread Markus Frank
Signed-off-by: Markus Frank --- .../patches/0019-show-clipboard-button.patch | 30 +++ debian/patches/series | 1 + 2 files changed, 31 insertions(+) create mode 100644 debian/patches/0019-show-clipboard-button.patch diff --git a/debian/patches/0019-sho

[pve-devel] [PATCH manager v5 4/5] added clipboard checkbox to VM Options

2023-04-12 Thread Markus Frank
Signed-off-by: Markus Frank --- www/manager6/qemu/DisplayEdit.js | 6 ++ www/manager6/qemu/Options.js | 34 2 files changed, 40 insertions(+) diff --git a/www/manager6/qemu/DisplayEdit.js b/www/manager6/qemu/DisplayEdit.js index 9bb1763e..05f12eed 100644

[pve-devel] [PATCH qemu-server/manager/novnc/docs v5 0/5] Feature noVNC-Clipboard

2023-04-12 Thread Markus Frank
qemu-server: changes v5: * removed return of regex check in the assertion-function for the clipboard config * moved clipboard code into spice-if-block changes v4: * removed duplicate code and created a spicedevices variable to store spice/vdagent devices. * clipboard_check_compatibility function

[pve-devel] [PATCH qemu-server v5 1/5] enable clipboard parameter in vga_fmt

2023-04-12 Thread Markus Frank
added option to use the qemu vdagent implementation to enable the noVNC clipboard. When enabled with SPICE the spice-vdagent gets replaced with the qemu implementation. This patch does not solve #1406, but does allow copy and paste with a running X-session, when spice-vdagent is installed on the g

[pve-devel] [PATCH qemu-server v5 2/5] test cases for clipboard spice & std

2023-04-12 Thread Markus Frank
added one test case for a spice display and one for std Signed-off-by: Markus Frank --- test/cfg2cmd/noVNC-clipboard-spice.conf | 1 + test/cfg2cmd/noVNC-clipboard-spice.conf.cmd | 27 + test/cfg2cmd/noVNC-clipboard-std.conf | 1 + test/cfg2cmd/noVNC-clipboard-std

[pve-devel] applied: [PATCH manager] configs: blacklist: fix typo

2023-04-12 Thread Thomas Lamprecht
Am 31/03/2023 um 14:45 schrieb Lukas Wagner: > Signed-off-by: Lukas Wagner > --- > configs/pve-blacklist.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > applied, thanks! ___ pve-devel mailing list pve-devel@lists.proxmox.com https:/

[pve-devel] applied: [PATCH manager] api: ceph: mon create: remove superfluous verification call

2023-04-12 Thread Thomas Lamprecht
Am 03/04/2023 um 11:35 schrieb Fiona Ebner: > The pve_verify_cidr{,v4,v6} functions were originally intended for > the /etc/network/interfaces API endpoints and thus are a bit > restrictive. For example, as reported in the community forum[0], > pve_verify_cidr() does not consider '0::/0' and '0::/1

[pve-devel] applied: [PATCH manager] fix #4627: ui: backup edit: don't deselect all vms on load

2023-04-12 Thread Thomas Lamprecht
Am 31/03/2023 um 12:03 schrieb Dominik Csapak: > 'selectPoolMembers' will be called when the poolid field changes. > (That can even happen when the mode is not even 'pool') > Due to how the fields are set, there is a race condition that this > will be called after the remaining fields were set up,

[pve-devel] applied: [PATCH widget-toolkit] form: combo grid: use correct method to initialize the picker

2023-04-12 Thread Thomas Lamprecht
Am 31/03/2023 um 12:04 schrieb Dominik Csapak: > 'createPicker' does create the picker, but not all necessary > initialization for the combobox (namely it does not set the owner field, > but that's only an implementation detail). Instead 'getPicker' should be > used for that, since that does all th

[pve-devel] [PATCH http-server] file upload: don't calculate MD5

2023-04-12 Thread Matthias Heiserer
Until now, we calculated the MD5 hash of any uploaded file during the upload, regardless of whether the user chose to provide a hash sum and algorithm. The hash was only logged in the syslog. As the user can provide a hash algorithm and a checksum when uploading a file, which gets automatically c