[pve-devel] [PATCH pve-container] allow to load configs from CTs located on other nodes

Dietmar Maurer dietmar at proxmox.com
Wed Aug 26 16:15:28 CEST 2015



On 08/26/2015 03:54 PM, Thomas Lamprecht wrote:
>
>
> On 08/26/2015 03:36 PM, Thomas Lamprecht wrote:
>>
>>     sub load_config {
>> -    my ($vmid) = @_;
>> +    my ($vmid, $node) = @_;
>>   -    my $cfspath = cfs_config_path($vmid);
>> +    $node = $nodename if !$node;
>> +    my $cfspath = cfs_config_path($vmid, $node);
> The vmid as unique identifier should be enough to load the config 
> though, independent on which node it lies.
> I'll try to rework that.
I don't think we need that. I applied the patch.




More information about the pve-devel mailing list