Hello everybody,
the pm-uuid names make me confused. That is why i have changed the the following block in:
vim /usr/share/perl5/PVE/Storage/Custom/LINSTORPlugin.pm
From
} else {
for ( my $i = 1 ; $i < 100 ; $i++ ) {
my $tn = "pm-" . lc substr( UUID::uuid(), 0, 8 );
if ( !exists( $resources->{$tn} ) ) {
$linstor_name = $tn;
$proxmox_name = "${tn}_${vmid}";
last;
}
}
}
To
} else {
for (my $i = 1; $i < 100; $i++) {
my $diskname = "vm-${vmid}-disk-$i";
if (!exists($resources->{$diskname})) {
$linstor_name = $diskname;
$proxmox_name = $diskname;
last;
}
}
}
Is it good or bad way? Is there any consequences? Is there better way?
for the new updates am planning to keep the custom-changes somehow
Best Regards
youzersef