Re: [pve-devel] [PATCH v4 manager] gui: Add import wizard for disk & VM

2021-03-08 Thread Fabian Grünbichler
On March 8, 2021 12:38 pm, Dominic Jäger wrote: > On Wed, Feb 10, 2021 at 10:49:41AM +0100, Fabian Grünbichler wrote: >> > >> > diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm >> > index 8172231e..9bf75ab7 100644 >> > --- a/PVE/API2/Nodes.pm >> > +++ b/PVE/API2/Nodes.pm >> > @@ -27,6 +27,7 @@ u

Re: [pve-devel] [PATCH v4 manager] gui: Add import wizard for disk & VM

2021-03-08 Thread Dominic Jäger
On Wed, Feb 10, 2021 at 10:49:41AM +0100, Fabian Grünbichler wrote: > > > > diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm > > index 8172231e..9bf75ab7 100644 > > --- a/PVE/API2/Nodes.pm > > +++ b/PVE/API2/Nodes.pm > > @@ -27,6 +27,7 @@ use PVE::HA::Env::PVE2; > > use PVE::HA::Config; > > us

Re: [pve-devel] [PATCH v4 manager] gui: Add import wizard for disk & VM

2021-02-10 Thread Fabian Grünbichler
haven't taken a closer look at the GUI stuff as I think the backend will potentially change a bit more. also regarding the permissions and the problem of importing from arbitrary paths, I wonder whether a simple file upload to a dir storage to import/$authuser/$file if the user has permission

[pve-devel] [PATCH v4 manager] gui: Add import wizard for disk & VM

2021-02-05 Thread Dominic Jäger
Add GUI wizard to import whole VMs and a window to import single disks in Hardware View. Signed-off-by: Dominic Jäger --- The wizard works, but there is still quite some refactoring to do v3->v4: * Allow only root * Adapt to API changes PVE/API2/Nodes.pm | 40 +++ www/