mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-10 11:55:02 +00:00
print drive commandline: fix indentation
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
30587be4ac
commit
1cd6990f9b
@ -1552,7 +1552,7 @@ sub print_drive_commandline_full {
|
||||
|
||||
if (drive_is_cdrom($drive)) {
|
||||
$path = get_iso_path($storecfg, $vmid, $volid);
|
||||
die "$drive_id: cannot back cdrom drive with a live restore image\n" if $live_restore_name;
|
||||
die "$drive_id: cannot back cdrom drive with a live restore image\n" if $live_restore_name;
|
||||
} else {
|
||||
if ($storeid) {
|
||||
$path = PVE::Storage::path($storecfg, $volid);
|
||||
@ -1561,9 +1561,9 @@ sub print_drive_commandline_full {
|
||||
$path = $volid;
|
||||
$format //= "raw";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
my $is_rbd = $path =~ m/^rbd:/;
|
||||
my $is_rbd = $path =~ m/^rbd:/;
|
||||
|
||||
my $opts = '';
|
||||
my @qemu_drive_options = qw(heads secs cyls trans media cache rerror werror aio discard);
|
||||
|
Loading…
Reference in New Issue
Block a user