Re: [pve-devel] [PATCH pve-container] Add handling for arch and ostype options in update_pct_config()

2015-08-27 Thread Dietmar Maurer
OK I will try to look at that (do not call update_pct_config with those options) , but maybe takes some time, this will be my first real dive in Perl ! I guess this is already fixed with: https://git.proxmox.com/?p=pve-container.git;a=commitdiff;h=ed680718291843c7987181eeff2a8e038b920185

Re: [pve-devel] [PATCH pve-container] Add handling for arch and ostype options in update_pct_config()

2015-08-27 Thread Emmanuel Kasper
On 08/27/2015 09:02 AM, Dietmar Maurer wrote: OK I will try to look at that (do not call update_pct_config with those options) , but maybe takes some time, this will be my first real dive in Perl ! I guess this is already fixed with:

Re: [pve-devel] [PATCH pve-container] Add handling for arch and ostype options in update_pct_config()

2015-08-26 Thread Emmanuel Kasper
On 08/26/2015 03:30 PM, Dietmar Maurer wrote: Both values are auto-detected, so we should consider them read-only for now. I guess there is another way to solve the problem (do not call update_pct_config with those options)? OK I will try to look at that (do not call update_pct_config with

Re: [pve-devel] [PATCH pve-container] Add handling for arch and ostype options in update_pct_config()

2015-08-26 Thread Dietmar Maurer
Both values are auto-detected, so we should consider them read-only for now. I guess there is another way to solve the problem (do not call update_pct_config with those options)? On August 25, 2015 at 2:55 PM Emmanuel Kasper e.kas...@proxmox.com wrote: Without this patch, restoring a vzdump

[pve-devel] [PATCH pve-container] Add handling for arch and ostype options in update_pct_config()

2015-08-25 Thread Emmanuel Kasper
Without this patch, restoring a vzdump backup fails. --- src/PVE/LXC.pm | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index d1a4ea6..05ab166 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -1090,7 +1090,8 @@ sub update_pct_config {