[pve-devel] [PATCH v2 container 3/3] fix #942: restore ACL and other rootfs options from backup

Dietmar Maurer dietmar at proxmox.com
Wed Apr 20 18:00:22 CEST 2016


applied, but I have one question below:

> diff --git a/src/PVE/VZDump/ConvertOVZ.pm b/src/PVE/VZDump/ConvertOVZ.pm
> index 2e29a48..35fbd70 100644
> --- a/src/PVE/VZDump/ConvertOVZ.pm
> +++ b/src/PVE/VZDump/ConvertOVZ.pm
> @@ -314,5 +314,7 @@ sub convert_ovz {
>  
>     $conf->{hostname} = $ovz_conf->{hostname}->{value};
>  
> -   return wantarray ? ($conf, $disksize) : $conf;
> +   $conf->{rootfs} = { size => $disksize, mp => '/' };

I thought $conf->{rootfs} should be a 'string'?



More information about the pve-devel mailing list