]> git.proxmox.com Git - qemu-server.git/commit
bootorder: fix double entry on cdrom edit
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 30 Jul 2021 11:28:39 +0000 (13:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Jul 2021 13:07:10 +0000 (15:07 +0200)
commit5170f6282df3296b50338b163851436770dc7592
tree373bb4dd70335fd50fbfa274d4b36a5d74c1e217
parent8717d89d92bca8585986c452512e8ca85f56f1db
bootorder: fix double entry on cdrom edit

We unconditionally added an entry into the bootorder whenever we
edited the drive, even if it was already in there. Instead we only want to do
that if the bootorder list does not contain it already.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Qemu.pm