mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-07-09 10:27:03 +00:00
create_vm: don't add vmgenid for ARM machines by default
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
d731ecbefe
commit
40c3bcf876
@ -585,6 +585,8 @@ __PACKAGE__->register_method({
|
||||
|
||||
my $conf = $param;
|
||||
|
||||
my ($arch, undef) = PVE::QemuServer::get_basic_machine_info($conf);
|
||||
|
||||
eval {
|
||||
|
||||
$vollist = &$create_disks($rpcenv, $authuser, $conf, $storecfg, $vmid, $pool, $param, $storage);
|
||||
@ -599,7 +601,7 @@ __PACKAGE__->register_method({
|
||||
$conf->{smbios1} = PVE::QemuServer::generate_smbios1_uuid();
|
||||
}
|
||||
|
||||
if (!defined($conf->{vmgenid}) || $conf->{vmgenid} eq '1') {
|
||||
if ((!defined($conf->{vmgenid}) || $conf->{vmgenid} eq '1') && $arch ne 'aarch64') {
|
||||
$conf->{vmgenid} = PVE::QemuServer::generate_uuid();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user