]> git.proxmox.com Git - qemu-server.git/commitdiff
followup: fixup comment
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 May 2019 14:33:46 +0000 (16:33 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 May 2019 14:33:46 +0000 (16:33 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer/Cloudinit.pm

index fbd71eced1ce5ac3d991a24fdf8239f8e4985a4f..0e4bfd5ff8a8571f9f8136897e97acca99a714f3 100644 (file)
@@ -32,7 +32,7 @@ sub commit_cloudinit_disk {
     my $scfg = PVE::Storage::storage_config($storecfg, $storeid);
     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});
     eval { $plugin->activate_volume($storeid, $scfg, $volname) };
 
@@ -46,7 +46,6 @@ sub commit_cloudinit_disk {
        $plugin->activate_volume($storeid, $scfg, $volname);
     }
 
-
     eval {
        run_command([['genisoimage', '-R', '-V', $label, $path],
                     ['qemu-img', 'dd', '-n', '-f', 'raw', '-O', $format,