]> git.proxmox.com Git - qemu-server.git/commit
restore vm: vmgenid: small code cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Sep 2018 11:31:19 +0000 (13:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 19 Sep 2018 11:31:26 +0000 (13:31 +0200)
commit1a0c2f032cc2f8fa6a314c12bd03ecc51654c7ad
tree6f0106f4255e8e09ec2c0aec9e855b25285e3c04
parent6ee499fff8f9cce556ebc2fdaa11b8475d0eceb4
restore vm: vmgenid: small code cleanup

do not use $1 do write out config, if code gets added this may easily
get overwritten, as vmgenid is a fixed key just hardcode it.

also move the comment to where it actually belongs

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm