[pve-devel] [PATCH 1/3] Latest changes which removes unused config.

Dietmar Maurer dietmar at proxmox.com
Thu Oct 3 07:36:44 CEST 2013


This patch reverts unrelated changes.

Please fix that!


> -	    $rpcenv->check_volume_access($authuser, $storage_cfg, $vmid,
> $ostemplate);
> -	    $archive = PVE::Storage::abs_filesystem_path($storage_cfg,
> $ostemplate);
> +	    $archive = $rpcenv->check_volume_access($authuser, $storage_cfg,
> $vmid, $ostemplate);
> +	    $archive = PVE::Storage::path($storage_cfg, $ostemplate) if
> +!$archive;
> +
> +	    die "can't find file '$archive'\n" if ! -f $archive;




More information about the pve-devel mailing list