[pve-devel] [PATCH manager 1/2] Fix: #1542, use percent_used key instead of calculation

2017-10-30 Thread Alwin Antreich
Signed-off-by: Alwin Antreich --- PVE/API2/Ceph.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index 54bad234..efea3059 100644 --- a/PVE/API2/Ceph.pm +++ b/PVE/API2/Ceph.pm @@ -1493,7 +1493,6 @@ __PACKAGE__->register_method ({

[pve-devel] [PATCH manager 2/2] Add %-used and min_size to "pveceph lspools" command

2017-10-30 Thread Alwin Antreich
Signed-off-by: Alwin Antreich --- PVE/CLI/pveceph.pm | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/PVE/CLI/pveceph.pm b/PVE/CLI/pveceph.pm index 422ac709..a5a04949 100755 --- a/PVE/CLI/pveceph.pm +++ b/PVE/CLI/pveceph.pm @@ -159,9 +159,12 @@ our $cmddef = { lspoo

[pve-devel] [PATCH manager] prevent visual flashing of button when changing element in the tree

2017-10-30 Thread Dominik Csapak
when changing between elements in the tree, either the start or shutdown buttons were visually flashing (meaning they are enabled/disabled for a short time and change state shortly after) this patch fixes that Signed-off-by: Dominik Csapak --- www/manager6/lxc/Config.js | 6 -- www/manager

[pve-devel] [PATCH manager] FirewallOptions: fix DHCP default value

2017-10-30 Thread Dominik Csapak
we always had dhcp enabled by default in the backend, but showed 'Disabled' on the gui, this patch show 'Enabled' by default Signed-off-by: Dominik Csapak --- www/manager6/grid/FirewallOptions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/grid/FirewallOption

[pve-devel] [PATCH qemu-server v2] implement 'edit' command for qm

2017-10-30 Thread Dominik Csapak
edit the vm config via /usr/bin/editor (this can be set via update-alternatives) minus the pending and snapshot sections (we do not want to update those manually) Signed-off-by: Dominik Csapak --- changes from v1: * use a tmpfile in /run/VMID.conf.tmp.PID * check the digest before and after editi