mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-07 18:27:01 +00:00
fixup: shorter/conciser comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
e1afab6e28
commit
a357092190
@ -6925,9 +6925,7 @@ sub clone_disk {
|
|||||||
if (drive_is_cloudinit($drive)) {
|
if (drive_is_cloudinit($drive)) {
|
||||||
$name = "vm-$newvmid-cloudinit";
|
$name = "vm-$newvmid-cloudinit";
|
||||||
$snapname = undef;
|
$snapname = undef;
|
||||||
# accept any format when cloning that's supported by QEMU_FORMAT_RE
|
# we only get here if it's supported by QEMU_FORMAT_RE, so just accept
|
||||||
# if it is not supported by QEMU_FORMAT_RE we do not reach here as
|
|
||||||
# it is recognized as cdrom, not cloudinit
|
|
||||||
if ($dst_format ne 'raw') {
|
if ($dst_format ne 'raw') {
|
||||||
$name .= ".$dst_format";
|
$name .= ".$dst_format";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user