mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-12 19:02:21 +00:00
can_run_pve_machine_version: PVE version can really be optional
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
36b0269724
commit
9edb618257
@ -83,7 +83,7 @@ sub get_pve_version {
|
||||
sub can_run_pve_machine_version {
|
||||
my ($machine_version, $kvmversion) = @_;
|
||||
|
||||
$machine_version =~ m/^(\d+)\.(\d+)(?:\+pve(\d+))$/;
|
||||
$machine_version =~ m/^(\d+)\.(\d+)(?:\+pve(\d+))?$/;
|
||||
my $major = $1;
|
||||
my $minor = $2;
|
||||
my $pvever = $3;
|
||||
|
Loading…
Reference in New Issue
Block a user