mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-11-02 17:35:30 +00:00
qemu_machine_pxe: remove unused parameter
no caller used that parameter, ever Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
1476b99fe9
commit
8071149be8
@ -7178,9 +7178,9 @@ sub qemu_machine_feature_enabled {
|
||||
}
|
||||
|
||||
sub qemu_machine_pxe {
|
||||
my ($vmid, $conf, $machine) = @_;
|
||||
my ($vmid, $conf) = @_;
|
||||
|
||||
$machine = PVE::QemuServer::get_current_qemu_machine($vmid) if !$machine;
|
||||
my $machine = PVE::QemuServer::get_current_qemu_machine($vmid);
|
||||
|
||||
if ($conf->{machine} && $conf->{machine} =~ m/\.pxe$/) {
|
||||
$machine .= '.pxe';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user