mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 22:53:08 +00:00
followup: fixup comment
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9680b09d64
commit
5cda6c69e3
@ -32,7 +32,7 @@ sub commit_cloudinit_disk {
|
|||||||
my $scfg = PVE::Storage::storage_config($storecfg, $storeid);
|
my $scfg = PVE::Storage::storage_config($storecfg, $storeid);
|
||||||
my $format = PVE::QemuServer::qemu_img_format($scfg, $volname);
|
my $format = PVE::QemuServer::qemu_img_format($scfg, $volname);
|
||||||
|
|
||||||
# required before file_size_info for ceph + krbd as it gets mapped too late otherwise
|
# required before file_size_info, some existing vols won't show up else
|
||||||
my $plugin = PVE::Storage::Plugin->lookup($scfg->{type});
|
my $plugin = PVE::Storage::Plugin->lookup($scfg->{type});
|
||||||
eval { $plugin->activate_volume($storeid, $scfg, $volname) };
|
eval { $plugin->activate_volume($storeid, $scfg, $volname) };
|
||||||
|
|
||||||
@ -46,7 +46,6 @@ sub commit_cloudinit_disk {
|
|||||||
$plugin->activate_volume($storeid, $scfg, $volname);
|
$plugin->activate_volume($storeid, $scfg, $volname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
eval {
|
eval {
|
||||||
run_command([['genisoimage', '-R', '-V', $label, $path],
|
run_command([['genisoimage', '-R', '-V', $label, $path],
|
||||||
['qemu-img', 'dd', '-n', '-f', 'raw', '-O', $format,
|
['qemu-img', 'dd', '-n', '-f', 'raw', '-O', $format,
|
||||||
|
Loading…
Reference in New Issue
Block a user