[pve-devel] [PATCH manager 2/3] ui: SystemEdit: promote advanced settings to normal

2021-10-11 Thread Stefan Reiter
and reorder the panel a bit, as otherwise I found it *very* cluttered. Signed-off-by: Stefan Reiter --- www/manager6/qemu/SystemEdit.js | 50 +++-- 1 file changed, 22 insertions(+), 28 deletions(-) diff --git a/www/manager6/qemu/SystemEdit.js b/www/manager6/qemu/Syst

[pve-devel] [PATCH qemu-server 1/3] ostype: support Windows 11/Server 2022

2021-10-11 Thread Stefan Reiter
Signed-off-by: Stefan Reiter --- PVE/QemuServer.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index eb29fc2..6fc28e8 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -386,7 +386,7 @@ my $confdesc = { ostype => {

[pve-devel] [PATCH 0/3] Windows 11 OS type and UI improvements

2021-10-11 Thread Stefan Reiter
Add a specific 'win11' ostype for Windows 11 and Server 2022, with currently no change on the backend, but enable q35, secure boot and a TPM in the wizard by default if selected. qemu-server: Stefan Reiter (1): ostype: support Windows 11/Server 2022 PVE/QemuServer.pm | 3 ++- 1 file changed,

[pve-devel] [PATCH manager 3/3] ui: add 'win11' ostype and set defaults in wizard

2021-10-11 Thread Stefan Reiter
Windows 11 requires a TPM and secure boot, so try to auto-enable both. Signed-off-by: Stefan Reiter --- www/manager6/Utils.js | 1 + www/manager6/qemu/SystemEdit.js | 16 2 files changed, 17 insertions(+) diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js ind

[pve-devel] [PATCH v3 storage 1/1] fix #3580: plugins: make preallocation mode selectable for qcow2 and raw images

2021-10-11 Thread Lorenz Stechauner
the plugins for file based storages * BTRFS * CIFS * Dir * Glusterfs * NFS now allow the option 'preallocation'. 'preallocation' can have four values: * default * off * metadata * falloc * full see man pages for `qemu-img` for what these mean exactly. [0] the defualt value was chosen to

[pve-devel] [PATCH v3 manager 1/2] ui: add PreallocationSelector

2021-10-11 Thread Lorenz Stechauner
Signed-off-by: Lorenz Stechauner --- www/manager6/Makefile | 1 + www/manager6/form/PreallocationSelector.js | 11 +++ 2 files changed, 12 insertions(+) create mode 100644 www/manager6/form/PreallocationSelector.js diff --git a/www/manager6/Makefile b/www/manager6/

[pve-devel] [PATCH-SERIES v3 storage/manager] fix #3580: make preallocation mode selectable for qcow2 and raw images

2021-10-11 Thread Lorenz Stechauner
changes to v2: * cleaned up commit message for pve-storage * changed implementation to put the preallocation selector on the column with fewer items changes to v1: * adjusted preallocation api description * moved sub preallocation_cmd_option above `# Storage implementation` * updated Preallocatio

[pve-devel] [PATCH v3 manager 2/2] fix 3850: ui: storage: using PreallocationSelector for file based storage types

2021-10-11 Thread Lorenz Stechauner
Signed-off-by: Lorenz Stechauner --- www/manager6/controller/StorageEdit.js | 6 ++ www/manager6/storage/Base.js | 20 www/manager6/storage/NFSEdit.js| 2 +- 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/www/manager6/controller/Storage

[pve-devel] [PATCH qemu-server v2] use non SMM ovmf code file for i440fx machines

2021-10-11 Thread Dominik Csapak
ovmf with SMM enabled will not boot on i440fx (hangs on graphics initialization), so load the non SMM variant. should be no issue regarding live-migration since it never worked with this anyway. adapts the test and adds one with q35 Signed-off-by: Dominik Csapak --- changes from v1: * encode 'n

Re: [pve-devel] [PATCH qemu-server] use non SMM ovmf code file for i440fx machines

2021-10-11 Thread Thomas Lamprecht
On 11.10.21 13:42, Dominik Csapak wrote: > ovmf with SMM enabled will not boot on i440fx (hangs on graphics > initialization), so load the non SMM variant. > > should be no issue regarding live-migration since it never worked with > this anyway. > > adapts the test and adds one with q35 > > Sign

[pve-devel] [PATCH qemu-server] use non SMM ovmf code file for i440fx machines

2021-10-11 Thread Dominik Csapak
ovmf with SMM enabled will not boot on i440fx (hangs on graphics initialization), so load the non SMM variant. should be no issue regarding live-migration since it never worked with this anyway. adapts the test and adds one with q35 Signed-off-by: Dominik Csapak --- PVE/API2/Qemu.pm

[pve-devel] [PATCH v4 firewall 1/2] implement fail2ban backend and API

2021-10-11 Thread Oguz Bektas
adds a section "[FAIL2BAN]" in the hostfw configuration, which allows the properties 'maxretry' and 'bantime' (in minutes) for the GUI ports. enable: whether fail2ban jail is enabled or not maxretry: amount of login tries allowed bantime: amount of minutes to ban suspicious host the configuration

[pve-devel] [PATCH-SERIES manager firewall v4 0/2] fix #1065: implement fail2ban api and gui

2021-10-11 Thread Oguz Bektas
v3->v4: * fix adding default values when enabling via API for the first time (to avoid generating empty jail configuration) pve-manager: Oguz Bektas (1): ui: fail2ban gui for nodes www/manager6/Makefile| 1 + www/manager6/grid/Fail2banOptions.js | 51 +

[pve-devel] [PATCH v4 manager 2/2] fix #1065: ui: fail2ban gui for nodes

2021-10-11 Thread Oguz Bektas
adds a simple grid for fail2ban options into the node config panel --- v4: * no changes www/manager6/Makefile| 1 + www/manager6/grid/Fail2banOptions.js | 51 www/manager6/node/Config.js | 7 3 files changed, 59 insertions(+) create

Re: [pve-devel] [RFC firewall] implement fail2ban in firewall

2021-10-11 Thread Oguz Bektas
hi, > > that has zero to do with thinking and evaluating about just doing it ourself > here > though? As there's still an additional dependency with an extra daemon > running that > may not even interact correctly with how we operate the iptables... fail2ban already does all of this, is suppor

[pve-devel] [PATCH v2 manager] ui: storage/PBSEdit: add port to server field

2021-10-11 Thread Lorenz Stechauner
this gives users the chance to supply the port nr in the gui, without having to add a extra new field to the panel. using the same implementation as in RemoteEdit.js in PBS. Signed-off-by: Lorenz Stechauner --- www/manager6/storage/PBSEdit.js | 58 ++--- 1 file chang

[pve-devel] applied: [PATCH manager] vzdump: pbs: suppress output from upload-log command

2021-10-11 Thread Thomas Lamprecht
On 11.10.21 09:14, Fabian Ebner wrote: > which ended up in the backup task log and can be confusing to users: > >> INFO: Backup finished at 2021-10-11 08:40:38 >> Result: { >> "data": null >> } >> INFO: Backup job finished successfully > > For proxmox-backup-server < 2.0.11-1, there was no

[pve-devel] [PATCH manager] vzdump: pbs: suppress output from upload-log command

2021-10-11 Thread Fabian Ebner
which ended up in the backup task log and can be confusing to users: > INFO: Backup finished at 2021-10-11 08:40:38 > Result: { > "data": null > } > INFO: Backup job finished successfully For proxmox-backup-server < 2.0.11-1, there was no output for the upload-log command. Reported in the

[pve-devel] applied: [PATCH docs] fix PVE 6 repository entries

2021-10-11 Thread Thomas Lamprecht
On 08.10.21 14:23, Mira Limbeck wrote: > With the release of PBS, and switching /etc/apt/auth.conf to use > /debian/pve as path instead of just /debian, the sources.list for > pve-enterprise must contain the /pve at the end. Otherwise there is no > match and updating via the pve-enterprise reposito