[pve-devel] [PATCH pve-client] Use print_text_table in 'list' and 'remote list'

2018-06-25 Thread René Jochum
Signed-off-by: René Jochum --- PVE/APIClient/Commands/list.pm | 22 -- PVE/APIClient/Commands/remote.pm | 21 ++--- 2 files changed, 34 insertions(+), 9 deletions(-) diff --git a/PVE/APIClient/Commands/list.pm b/PVE/APIClient/Commands/list.pm index 2030c51

Re: [pve-devel] [PATCH pve-client v3] Add per remote configurable defaults

2018-06-21 Thread René Jochum
Thanks for looking over it. On 2018-06-21 12:20, Dietmar Maurer wrote: > comments inline > >> On June 21, 2018 at 9:25 AM René Jochum wrote: >> >> >> Signed-off-by: René Jochum >> --- >> v2: Added defaults per remote. >> v3: Simplified code by us

Re: [pve-devel] [PATCH pve-client v3] Add "storage status" and "storage list"

2018-06-21 Thread René Jochum
Sorry, its v1. On 2018-06-21 10:17, René Jochum wrote: > Signed-off-by: René Jochum > --- > PVE/APIClient/Commands/storage.pm | 155 > ++ > pveclient | 2 + > 2 files changed, 157 insertions(+) > create mode

[pve-devel] [PATCH pve-client v3] Add "storage status" and "storage list"

2018-06-21 Thread René Jochum
Signed-off-by: René Jochum --- PVE/APIClient/Commands/storage.pm | 155 ++ pveclient | 2 + 2 files changed, 157 insertions(+) create mode 100644 PVE/APIClient/Commands/storage.pm diff --git a/PVE/APIClient/Commands/storage.pm b

[pve-devel] [PATCH pve-client v3] Add per remote configurable defaults

2018-06-21 Thread René Jochum
Signed-off-by: René Jochum --- v2: Added defaults per remote. v3: Simplified code by using "pveclient remote set" PVE/APIClient/Commands/lxc.pm | 16 ++-- PVE/APIClient/Config.pm | 29 +++-- 2 files changed, 37 insertions(+), 8 deletions(-)

[pve-devel] [PATCH pve-client v2] Add per remote configurable defaults

2018-06-21 Thread René Jochum
Signed-off-by: René Jochum --- v2 Makes defaults configureable per "remote". PVE/APIClient/Commands/config.pm | 26 ++ PVE/APIClient/Commands/lxc.pm| 16 ++-- PVE/APIClient/Config.pm | 29 +++-- 3 files c

Re: [pve-devel] [RFC pve-client] Add configureable defaults to "lxc create"

2018-06-20 Thread René Jochum
On 2018-06-21 06:31, Dietmar Maurer wrote: >> The given patch adds configureable defaults to lxc create, > In general, different clusters (remotes) use different node > and storage names. So it does not really make sense to use > global defaults for that. Instead, we need defaults for > each

[pve-devel] [RFC pve-client] Add configureable defaults to "lxc create"

2018-06-20 Thread René Jochum
On 2018-06-20 14:35, René Jochum wrote: > The given patch adds configureable defaults to lxc create, > I don't like how it handles defaults that are given by pveclient > and I don't know ConfigParser well enough to come up with another > solution. > --- > PVE/APIClient/Co

[pve-devel] [PATCH pve-client] Handle errors on tasks correctly with a die,

2018-06-20 Thread René Jochum
so we get the correct exit code on errors. Signed-off-by: René Jochum --- PVE/APIClient/Helpers.pm | 4 1 file changed, 4 insertions(+) diff --git a/PVE/APIClient/Helpers.pm b/PVE/APIClient/Helpers.pm index 7d855ec..5c2e4cb 100644 --- a/PVE/APIClient/Helpers.pm +++ b/PVE/APIClient

Re: [pve-devel] [PATCH pve-client 2/2] Fix old none ::APIClient uses.

2018-06-20 Thread René Jochum
Ups, just seen its applied. On 2018-06-20 08:49, René Jochum wrote: > Please also apply this one. > > > On 2018-06-19 16:03, René Jochum wrote: >> Signed-off-by: René Jochum >> --- >> PVE/APIClient/Commands/GuestStatus.pm | 4 ++-- >> 1 file changed, 2 inse

Re: [pve-devel] [PATCH pve-client 2/2] Fix old none ::APIClient uses.

2018-06-20 Thread René Jochum
Please also apply this one. On 2018-06-19 16:03, René Jochum wrote: > Signed-off-by: René Jochum > --- > PVE/APIClient/Commands/GuestStatus.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/PVE/APIClient/Commands/GuestStatus.pm > b/P

[pve-devel] [PATCH pve-client v3 2/2] Add task log to 'lxc create'

2018-06-19 Thread René Jochum
--- PVE/APIClient/Commands/lxc.pm | 19 +-- PVE/APIClient/Helpers.pm | 23 +-- 2 files changed, 38 insertions(+), 4 deletions(-) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 2309ec0..3add2dd 100644 ---

[pve-devel] [PATCH pve-client v3 1/2] Add create and destroy subcommands to the lxc command

2018-06-19 Thread René Jochum
--- PVE/APIClient/Commands/lxc.pm | 67 +++ PVE/APIClient/Helpers.pm | 8 ++ 2 files changed, 75 insertions(+) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 9e73b45..2309ec0 100644 ---

[pve-devel] [PATCH pve-client v2 1/2] Add create and destroy subcommands to the lxc command

2018-06-19 Thread René Jochum
--- PVE/APIClient/Commands/lxc.pm | 67 +++ PVE/APIClient/Helpers.pm | 8 ++ 2 files changed, 75 insertions(+) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 9e73b45..2309ec0 100644 ---

[pve-devel] [PATCH pve-client v2 2/2] Add task log to 'lxc create'

2018-06-19 Thread René Jochum
--- PVE/APIClient/Commands/lxc.pm | 2 ++ PVE/APIClient/Helpers.pm | 15 +++ 2 files changed, 17 insertions(+) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 2309ec0..db618e7 100644 --- a/PVE/APIClient/Commands/lxc.pm +++

[pve-devel] [PATCH pve-client] Use a different path for the lock file

2018-06-19 Thread René Jochum
This prevents lock_file from creating the config file with wrong permissions. --- PVE/APIClient/Config.pm | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/PVE/APIClient/Config.pm b/PVE/APIClient/Config.pm index a4aa4c6..a783ab3 100644 --- a/PVE/APIClient/Config.pm +++

Re: [pve-devel] [PATCH pve-client 1/2] Lock the config file in /var/lock

2018-06-19 Thread René Jochum
Ok, will switch to the same directory as the config file itself and make it hidden. Will also incorporate your suggestions. On 2018-06-19 16:45, Dietmar Maurer wrote: >>> diff --git a/PVE/APIClient/Config.pm b/PVE/APIClient/Config.pm >>> index a4aa4c6..6f9f332 100644 >>> ---

Re: [pve-devel] [PATCH pve-client 2/2] Add task log to 'lxc create'

2018-06-19 Thread René Jochum
On 2018-06-19 16:35, Dietmar Maurer wrote: >> I'm not sure if this should be optional. > Also, It would make sense to display the log while creation is in progress > (like > we do on the GUI)? Makes sense, do you want that? Should I make it optional?

[pve-devel] [PATCH pve-client 2/2] Fix old none ::APIClient uses.

2018-06-19 Thread René Jochum
Signed-off-by: René Jochum --- PVE/APIClient/Commands/GuestStatus.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/APIClient/Commands/GuestStatus.pm b/PVE/APIClient/Commands/GuestStatus.pm index 8ae6c75..03e2e4a 100644 --- a/PVE/APIClient/Commands/GuestStatus.pm

[pve-devel] [PATCH pve-client 1/2] Lock the config file in /var/lock

2018-06-19 Thread René Jochum
this prevents it from beeing created by the "lock_file" function. It would get 0644 permissions when the file is created by "lock_file". --- PVE/APIClient/Config.pm | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/PVE/APIClient/Config.pm b/PVE/APIClient/Config.pm

[pve-devel] [PATCH pve-client 1/2] Add create and destroy subcommands to the lxc command

2018-06-19 Thread René Jochum
--- PVE/APIClient/Commands/lxc.pm | 67 +++ PVE/APIClient/Helpers.pm | 8 ++ 2 files changed, 75 insertions(+) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 9e73b45..2309ec0 100644 ---

[pve-devel] [PATCH pve-client 2/2] Add task log to 'lxc create'

2018-06-19 Thread René Jochum
I'm not sure if this should be optional. --- PVE/APIClient/Commands/lxc.pm | 2 ++ PVE/APIClient/Helpers.pm | 15 +++ 2 files changed, 17 insertions(+) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 2309ec0..db618e7 100644 ---

[pve-devel] [PATCH pve-client v2] Remove timeout from the stop command (lxc doesn't support it)

2018-06-14 Thread René Jochum
--- PVE/APIClient/Commands/GuestStatus.pm | 6 -- 1 file changed, 6 deletions(-) diff --git a/PVE/APIClient/Commands/GuestStatus.pm b/PVE/APIClient/Commands/GuestStatus.pm index 8ae6c75..abd8586 100644 --- a/PVE/APIClient/Commands/GuestStatus.pm +++ b/PVE/APIClient/Commands/GuestStatus.pm

[pve-devel] [PATCH pve-client] Remove timeout from the stop command (lxc doesn't support it)

2018-06-14 Thread René Jochum
--- PVE/APIClient/Commands/GuestStatus.pm | 5 - 1 file changed, 5 deletions(-) diff --git a/PVE/APIClient/Commands/GuestStatus.pm b/PVE/APIClient/Commands/GuestStatus.pm index 92f424d..88412a9 100644 --- a/PVE/APIClient/Commands/GuestStatus.pm +++ b/PVE/APIClient/Commands/GuestStatus.pm @@

[pve-devel] [PATCH pve-client] Add the remaining guest commands

2018-06-14 Thread René Jochum
Signed-off-by: René Jochum --- PVE/APIClient/Commands/GuestStatus.pm | 87 +++ pveclient | 3 ++ 2 files changed, 90 insertions(+) diff --git a/PVE/APIClient/Commands/GuestStatus.pm b/PVE/APIClient/Commands/GuestStatus.pm index

[pve-devel] [PATCH pve-apiclient] add make target to copy and include files from pve-common - update Exception.pm

2018-06-14 Thread René Jochum
On 2018-06-14 11:15, Wolfgang Bumiller wrote: > On Thu, Jun 14, 2018 at 10:03:54AM +0200, Dietmar Maurer wrote: >> Signed-off-by: Dietmar Maurer >> --- >> Makefile | 7 + >> PVE/APIClient/Exception.pm | 66 >> +++--- >> 2 files

Re: [pve-devel] [PATCH pve-client] Use API definition for start/stop properties

2018-06-13 Thread René Jochum
    $ pveclient qemu start lola 100     $ pveclient lxc start lola 100 What do you think about this? On 2018-06-13 14:17, René Jochum wrote: > --- > PVE/APIClient/Commands/GuestStatus.pm | 18 ++ > PVE/APIClient/Helpers.pm | 10 ++ > 2 files change

[pve-devel] [PATCH pve-client] Use API definition for start/stop properties

2018-06-13 Thread René Jochum
--- PVE/APIClient/Commands/GuestStatus.pm | 18 ++ PVE/APIClient/Helpers.pm | 10 ++ 2 files changed, 20 insertions(+), 8 deletions(-) diff --git a/PVE/APIClient/Commands/GuestStatus.pm b/PVE/APIClient/Commands/GuestStatus.pm index 4a50164..7f90798 100644

Re: [pve-devel] applied [PATCH pve-client] Makefile: cleanup - use a loop to install files

2018-06-13 Thread René Jochum
Looks Good To Merge :) On 2018-06-13 13:45, Dietmar Maurer wrote: > Signed-off-by: Dietmar Maurer > --- > Makefile | 19 +++ > 1 file changed, 11 insertions(+), 8 deletions(-) > > diff --git a/Makefile b/Makefile > index 4c9572a..0e11af5 100644 > --- a/Makefile > +++ b/Makefile

[pve-devel] [PATCH pve-client] Add copy-common.sh, move code to PVE/APIClient.

2018-06-13 Thread René Jochum
--- Makefile | 18 ++--- PVE/{ => APIClient}/CLIHandler.pm | 29 +++-- PVE/APIClient/Commands/GuestStatus.pm | 8 +++--- PVE/APIClient/Commands/config.pm | 4 +-- PVE/APIClient/Commands/lxc.pm | 1 -

[pve-devel] [PATCH pve-client] Add spice command

2018-06-13 Thread René Jochum
--- PVE/APIClient/Commands/GuestStatus.pm | 44 +++ pveclient | 3 ++- 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/PVE/APIClient/Commands/GuestStatus.pm b/PVE/APIClient/Commands/GuestStatus.pm index 7903a2b..50730db

[pve-devel] [PATCH pve-client v2] Add start command

2018-06-12 Thread René Jochum
I've added the logic to poll the task given by status/start until its "stopped", this enables an usage like: pveclient lxc create 999 && pveclient start 999 && pveclient enter 999 Signed-off-by: René Jochum --- v2 is a rebase on master and I added the wait logic

[pve-devel] [PATCH pve-client 1/2] Use get_standard_option for vmid in enter

2018-06-12 Thread René Jochum
Signed-off-by: René Jochum --- PVE/APIClient/Commands/lxc.pm | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index 66ad704..4e76f70 100644 --- a/PVE/APIClient/Commands/lxc.pm +++ b/PVE/APIClient/Commands/lxc.pm

[pve-devel] [PATCH pve-client 2/2] Add start command

2018-06-12 Thread René Jochum
--- PVE/APIClient/Commands/help.pm | 2 ++ PVE/APIClient/Commands/start.pm | 39 +++ PVE/APIClient/Helpers.pm| 20 pveclient | 2 ++ 4 files changed, 63 insertions(+) create mode 100644

Re: [pve-devel] [PATCH pve-client] Config.pm: add new defaults sections

2018-06-12 Thread René Jochum
LGTM On 2018-06-12 06:24, Dietmar Maurer wrote: > And implement a new command to setup defaults. > > Signed-off-by: Dietmar Maurer > --- > PVE/APIClient/Commands/help.pm | 2 + > PVE/APIClient/Commands/remote.pm | 11 +-- > PVE/APIClient/Config.pm | 189 >

[pve-devel] [PATCH pve-client v3] Add a simple implementation of list

2018-06-11 Thread René Jochum
Signed-off-by: René Jochum --- This removes all the logic from previous patches where I quieried /config from each VM/LXC. PVE/APIClient/Commands/help.pm | 2 ++ PVE/APIClient/Commands/list.pm | 58 ++ PVE/APIClient/Commands/lxc.pm | 21

Re: [pve-devel] need help to package frr routing software in proxmox way

2018-06-11 Thread René Jochum
Hi Alexandre, do you know Bird? http://bird.network.cz/ I had some success with it in the past. Kind regards, René On 2018-06-11 08:15, Alexandre DERUMIER wrote: > Hi, > > I'm currently working to package frr > https://github.com/FRRouting/frr > > in proxmox way (with git submodule) > > >

[pve-devel] [PATCH pve-client] Add 'lxc list'

2018-06-08 Thread René Jochum
--- PVE/APIClient/Commands/lxc.pm | 82 ++- PVE/APIClient/Helpers.pm | 14 2 files changed, 95 insertions(+), 1 deletion(-) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index f0c85f7..0f6f638 100644 ---

[pve-devel] [PATCH pve-client v2] Poll the size of the terminal and resize if needed

2018-06-07 Thread René Jochum
Signed-off-by: René Jochum --- This adds the the WINCH signal handling instead of polling the window size every x seconds. Thanks to Wolfgang Bumiller :) PVE/APIClient/Commands/lxc.pm | 18 ++ 1 file changed, 18 insertions(+) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE

Re: [pve-devel] applied: [PATCH pve-manager v3] Remove swap/memory limit in the Manager, fixes #1799

2018-06-07 Thread René Jochum
Will do! :) On 2018-06-07 13:47, Thomas Lamprecht wrote: > On 6/7/18 1:42 PM, René Jochum wrote: >> --- > applied, but please add a short change log here the next time. > This won't get included in the commit message if it's below the > -- and it helps to see what/why changed,

[pve-devel] [PATCH pve-manager v3] Remove swap/memory limit in the Manager, fixes #1799

2018-06-07 Thread René Jochum
--- www/manager6/lxc/ResourceEdit.js | 2 -- www/manager6/qemu/MemoryEdit.js | 2 -- 2 files changed, 4 deletions(-) diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js index ec697cac..395fab7e 100644 --- a/www/manager6/lxc/ResourceEdit.js +++

[pve-devel] [PATCH pve-manager v2] Remove swap/memory limit in the Manager, fixes #1799

2018-06-07 Thread René Jochum
--- www/manager6/lxc/ResourceEdit.js | 2 -- www/manager6/qemu/HardwareView.js | 4 ++-- www/manager6/qemu/MemoryEdit.js | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js index ec697cac..395fab7e 100644

[pve-devel] [PATCH pve-client] Poll the size of the terminal and resize if needed

2018-06-07 Thread René Jochum
Signed-off-by: René Jochum --- PVE/APIClient/Commands/lxc.pm | 19 +++ 1 file changed, 19 insertions(+) diff --git a/PVE/APIClient/Commands/lxc.pm b/PVE/APIClient/Commands/lxc.pm index e0d21ae..058660c 100644 --- a/PVE/APIClient/Commands/lxc.pm +++ b/PVE/APIClient/Commands

[pve-devel] [PATCH pve-manager] Remove swap/memory limit in the Manager, fixes #1799

2018-06-07 Thread René Jochum
--- www/manager6/lxc/ResourceEdit.js | 2 -- www/manager6/qemu/HardwareView.js | 4 ++-- www/manager6/qemu/MemoryEdit.js | 3 --- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/www/manager6/lxc/ResourceEdit.js b/www/manager6/lxc/ResourceEdit.js index ec697cac..395fab7e 100644

[pve-devel] [PATCH pve-client v2 2/2] Add "lxc enter" from "pventer" without its deps.

2018-06-05 Thread René Jochum
This patch adds the functionality of "pventer" to "pveclient" without its external dependecies, we solved them with our internal tools. I tried to use IO::Select->select() but failed hard with it, so i switched back to $select->can_(read|write). Signed-off-by: René

[pve-devel] [PATCH pve-client v2 1/2] Fix the WebSocket client to work with none PVE servers.

2018-06-05 Thread René Jochum
For debugging I tested the WebSocket client with my Protocol::WebSocket server (i have hexdumps in it), this patch is required to make it work with it. I'm pretty sure we need it for Proxies too. --- PVE/APIClient/Commands/lxc.pm | 9 + 1 file changed, 5 insertions(+), 4 deletions(-)

[pve-devel] [PATCH pve-client 1/2] Add .gitignore

2018-05-30 Thread René Jochum
Signed-off-by: René Jochum --- .gitignore | 8 1 file changed, 8 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..ce0f9d9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# Visual Studio Code config +.vscode/ + +build

[pve-devel] [PATCH pve-client 2/2] Add remote handling

2018-05-30 Thread René Jochum
Signed-off-by: René Jochum --- PVE/APIClient/Commands/remote.pm | 118 ++ PVE/APIClient/Config.pm | 174 --- PVE/APIClient/Helpers.pm | 9 ++ 3 files changed, 254 insertions(+), 47 deletions(-) diff --git a/PVE

[pve-devel] [PATCH pve-client 0/2] Add .gitignore and remote handling

2018-05-30 Thread René Jochum
René Jochum (2): Add .gitignore Add remote handling .gitignore | 8 ++ PVE/APIClient/Commands/remote.pm | 118 ++ PVE/APIClient/Config.pm | 174 --- PVE/APIClient/Helpers.pm | 9 ++ 4 files

Re: [pve-devel] RFE: pventer

2018-05-25 Thread René Jochum
Package with correct version: https://git.lxch.eu/pcdummy/pventer/-/jobs/91/artifacts/raw/pventer_0.04-1_all.deb Wish you a nice weekend, René On 2018-05-25 23:09, René Jochum wrote: > I removed AnyEvent and Protocol::WebSocket as requested. > > New Debian Package: > https:/

Re: [pve-devel] RFE: pventer

2018-05-25 Thread René Jochum
2018 at 3:47 PM René Jochum <r.joc...@proxmox.com> wrote: >> >> >> Hi, >> >> the last few days I've been working on a utility to enter a Proxmox VE >> LXC without SSH, it is meant for testing only and will be integrated >> into pve

[pve-devel] [PATCH v2 http-server 1/1] Fix #1684 WebSocket proxy behind a buffered proxy.

2018-05-25 Thread René Jochum
The given patch fixes incoming WebSocket traffic behind buffered Proxies like NGINX. NGINX buffers multiple requests from the Browser into one frame and sends that to pveproxy, before this patch we then processed the first message of the frame and cleared the buffer which may contained more

Re: [pve-devel] [PATCH http-server 2/2] Fix #1684 WebSocket proxy behind a buffered proxy.

2018-05-25 Thread René Jochum
Hi Thomas, Thanks for having a look into it. On 05/25/2018 05:20 PM, Thomas Lamprecht wrote: > So, AFAIU, we read more than our calculated payload length and > dropped the remaining data, thus potentially corrupting the next > read. > Further we may get two or more websocket frames in one

[pve-devel] [PATCH http-server 1/2] Add .gitignore

2018-05-25 Thread René Jochum
From: René Jochum <r...@jochums.at> Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore

[pve-devel] [PATCH http-server 2/2] Fix #1684 WebSocket proxy behind a buffered proxy.

2018-05-25 Thread René Jochum
The given patch fixes incoming WebSocket traffic behind buffered Proxies like Nginx. This fixes the "blank screen" problem users reported on the forums. To have a fully working Nginx Reverse Proxy setup its important to update nginx to 1.14 from the upstream repo. --- PVE/APIServer/AnyEvent.pm

[pve-devel] [PATCH http-server 0/2] Fix #1684 WebSocket proxy behind a buffered proxy.

2018-05-25 Thread René Jochum
The given patch fixes incoming WebSocket traffic behind buffered Proxies like Nginx. This fixes the "blank screen" problem users reported on the forums. To have a fully working Nginx Reverse Proxy setup its important to update nginx to 1.14 from the upstream repo. René Jochum

Re: [pve-devel] RFE: pventer

2018-05-22 Thread René Jochum
I've updated "pventer": Changes:   * Added manual verification of fingerprints.   * Added support for giving ports for nodes.   * Remove Term::VTerm, Term::VT102, those aren't needed.   * Read password from file instead of giving it by cmd. Usage: $ pventer -h /usr/bin/pventer [-hnpuv] [long

[pve-devel] [PATCH http-server 2/2] Replace own Websocket parser with Protocol::Websocket.

2018-05-21 Thread René Jochum
It needs "libprotocol-websocket-perl" installed, currently not available via Debian repos. I got a Debian package for that. This partially fixes NoVNC over nginx and implements more Websocket protocols. I tested: NoVNC with UTF-8 xterm.js with UTF-8 pventer Run cacafire in all 3 a long

[pve-devel] [PATCH http-server 0/2] Replace own Websocket parser with Protocol::Websocket.

2018-05-21 Thread René Jochum
I tested: NoVNC with UTF-8 xterm.js with UTF-8 pventer Run cacafire in all 3 a long time. René Jochum (2): Add .gitignore Replace own Websocket parser with Protocol::Websocket. .gitignore| 4 + PVE/APIServer/AnyEvent.pm | 187 +++-

[pve-devel] [PATCH http-server 1/2] Add .gitignore

2018-05-21 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

Re: [pve-devel] RFE: pventer

2018-05-20 Thread René Jochum
I forgot something important... To quit from pventer you have to enter "CTRL+a" then "q". Kind regards, René ___ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] RFE: pventer

2018-05-20 Thread René Jochum
of VM ). I hope you like it and find bugs/improvements! René Jochum ___ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

[pve-devel] Review/feedback request: "pveclient"

2018-05-14 Thread René Jochum
Hi, I'm working on a new standalone client for PVE. The goal of pveclient is to have a full Client for pve nodes and clusters without the need of having to ssh in on a node. With it, it should be easy to manage Nodes, LXC's, Virtual Maschines and Storages. I uploaded it temporary to my private

[pve-devel] [PATCH pve-manager 2/2] fix #1499 Implement a combobox for Permissions paths

2018-05-08 Thread René Jochum
Signed-off-by: René Jochum <r.joc...@proxmox.com> --- www/manager6/Makefile | 2 ++ www/manager6/data/PermPathStore.js| 54 +++ www/manager6/dc/ACLView.js| 2 +- www/manager6/form/PermPathSelector.js | 12 4 files c

[pve-devel] [PATCH pve-manager 0/2] Implement bug #1499

2018-05-08 Thread René Jochum
The first patch refactors GroupSelector as by Dominik, the second implements bug #1499. René Jochum (2): Modernize PVE.form.GroupSelector, fix #1499 Implement a combobox for Permissions paths www/manager6/Makefile | 2 ++ www/manager6/data/PermPathStore.js| 54

[pve-devel] [PATCH pve-manager 1/2] Modernize PVE.form.GroupSelector,

2018-05-08 Thread René Jochum
as example for future Uses. Signed-off-by: René Jochum <r.joc...@proxmox.com> --- www/manager6/form/GroupSelector.js | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/www/manager6/form/GroupSelector.js b/www/manager6/form/GroupSelector.js

[pve-devel] [PATCH pve-manager v3] fixes #1503 Add role CRUD to the GUI.

2018-05-08 Thread René Jochum
As given in the subject this implements role create/update/delete over the manager. There's currently no coler highlightning for "special" roles. Signed-off-by: René Jochum <r.joc...@proxmox.com> --- www/manager6/Makefile | 2 + www/manager6/dc/RoleEdit.js

[pve-devel] [PATCH pve-manager v2] fixes #1503 Add role CRUD to the GUI.

2018-05-08 Thread René Jochum
As given in the subject this implements role create/update/delete over the manager. There's currently no coler highlightning for "special" roles. Signed-off-by: René Jochum <r.joc...@proxmox.com> --- www/manager6/Makefile | 2 + www/manager6/dc/RoleEdit.js

[pve-devel] [PATCH pve-manager] fixes #1503 Add role CRUD to the GUI.

2018-05-07 Thread René Jochum
As given in the subject this implements role create/update/delete over the manager. There's currently no coler highlightning for "special" roles. I decided to call "special" roles "Builtin" any feedback on that is much appreciated. Signed-off-by: René Jochum &

Re: [pve-devel] [PATCH pve-manager 2/2] fix #1499 Implement a combobox for Permissions paths

2018-05-07 Thread René Jochum
: > Am 05/04/2018 um 04:06 PM schrieb René Jochum: > > looks OK, even if it's a bit less than I hope to encourage with this > RFE[1], but it's a start :) Maybe note that it's a partial fix. > > I can fixup the nits (indentation (1/2) and naming (2/2) if you agree > with them, else

[pve-devel] [PATCH pve-manager 2/2] fix #1499 Implement a combobox for Permissions paths

2018-05-04 Thread René Jochum
Signed-off-by: René Jochum <r.joc...@proxmox.com> --- www/manager6/Makefile | 1 + www/manager6/dc/ACLView.js| 2 +- www/manager6/form/PermPathSelector.js | 24 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 www/ma

[pve-devel] [PATCH pve-manager 1/2] Refactor PVE.form.GroupSelector.

2018-05-04 Thread René Jochum
Signed-off-by: René Jochum <r.joc...@proxmox.com> --- www/manager6/form/GroupSelector.js | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/www/manager6/form/GroupSelector.js b/www/manager6/form/GroupSelector.js index e7c674ff..0b7c2280

[pve-devel] [PATCH pve-container] Unmount containers before trying to mount them, fixes #1721

2018-05-04 Thread René Jochum
Signed-off-by: René Jochum <r.joc...@proxmox.com> --- src/lxc-pve-prestart-hook | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lxc-pve-prestart-hook b/src/lxc-pve-prestart-hook index 61a8ef3..d50520f 100755 --- a/src/lxc-pve-prestart-hook +++ b/src/lxc-pve-prestart-hook @@ -94,6

[pve-devel] [PATCH iproute2 1/1] Update to 4.15, fix /bin/ss with no header flag

2018-04-20 Thread René Jochum
Fix ss with the no-header flag, upstream bug: #895719 Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore| 3 + Makefile | 4 +- debian/changelog | 13 ++ debian/patche

[pve-devel] [PATCH iproute2 0/1] Upgrade to 4.15.0-4

2018-04-20 Thread René Jochum
I've been using https://salsa.debian.org/debian/iproute2/commits/debian/4.15.0-3 as base for this, and added the fix from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895719. I did't include the blob in this patch, use make download. René Jochum (1): Update to 4.15, fix /bin/ss

[pve-devel] [PATCH librados2-perl v2] Convert to dpkg-buildpackage so we get a .changes file

2018-04-19 Thread René Jochum
Also fixes a minor spelling error in changelog.Debian and extends the .gitignore to ignore build files. Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 7 +++ Makefile | 29 ++-- changelog.

[pve-devel] [PATCH librados2-perl] Convert to dpkg-buildpackage

2018-04-18 Thread René Jochum
Also fixes a minor spelling error in changelog.Debian and extends the .gitignore to ignore build files. I've made this so i get a .changes file which i need for my dput usage. --- .gitignore | 7 +++ Makefile| 36 +++--

[pve-devel] [PATCH lxc] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..fcb755d --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +lxc.tmp/ +*.deb +*.bui

[pve-devel] [PATCH corosync-pve] Improve the .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 7ae7a44..d32b1f7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ -corosync-1.4.1 +corosync-2.4.2 *.deb +*.buildinfo *.c

[pve-devel] [PATCH ksm-control-daemon] Improve the .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ccde2e8..738bbe8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.deb +*.buildinfo *.changes ksm-control-scripts.org ksm-control-s

[pve-devel] [PATCH pve-docs] Improve the .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b25c15b..2a9356d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,18 @@ -*~ +build-pve-*/ + +*.html +*.adoc

[pve-devel] [PATCH pve-apiclient] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

[pve-devel] [PATCH pve-access-control] Improve the .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e1fc9d6..2bfa595 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,8 @@ -build +build/ *.deb +*.buildinfo +*.changes +*.ad

[pve-devel] [PATCH pve-container] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

[pve-devel] [PATCH lxcfs] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..6cdbaee --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +lxcfs/ +*.deb +*.bui

[pve-devel] [PATCH proxmox-i18n] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..6f87480 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +dest/ +*.deb +*.bui

[pve-devel] [PATCH pve-common] Improve the .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 187a40f..d6fa5ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ -build +build/ *.deb +*.buildinfo *.changes --

[pve-devel] [PATCH extjs] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

[pve-devel] [PATCH pve-http-server] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

[pve-devel] [PATCH proxmox-ve] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

[pve-devel] [PATCH novnc-pve] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..f54a758 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +novnc.tmp/ +*.deb +*.bui

[pve-devel] [PATCH pve-firmware] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..b0dd55f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +fwdata/ +*.deb +*.bui

[pve-devel] [PATCH pve-cluster] Improve the .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index bdc26bb..bcae525 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ -build +build/ *.deb +*.buildinfo *.changes --

[pve-devel] [PATCH pve-guest-common] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

[pve-devel] [PATCH pve-libspice-server] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..e684002 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +spice-0.12.8/ +*.deb +*.bui

[pve-devel] [PATCH pve-firewall] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

[pve-devel] [PATCH pve-kernel] Improve the .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 9ce9b07..01e2f3c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ ubuntu-zesty +*.prepared +build/ +config-*.org --

[pve-devel] [PATCH pve-kernel-meta] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

[pve-devel] [PATCH pve-ha-manager] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 4 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..cf75b1b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +*.deb +*.bui

[pve-devel] [PATCH pve-xtermjs] Add .gitignore

2018-04-18 Thread René Jochum
Signed-off-by: René Jochum <r...@jochums.at> --- .gitignore | 5 + 1 file changed, 5 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 000..dc18148 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +package/ +src.tmp/

  1   2   >