mirror of
https://git.proxmox.com/git/qemu-server
synced 2026-01-25 22:46:22 +00:00
activate volume for cloudinit disk
because it does not have to be activated (e.g. in case of lvm) Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
be15435a12
commit
9be87f4eea
@ -30,6 +30,8 @@ sub commit_cloudinit_disk {
|
||||
my $storecfg = PVE::Storage::config();
|
||||
my $iso_path = PVE::Storage::path($storecfg, $drive->{file});
|
||||
my $scfg = PVE::Storage::storage_config($storecfg, $storeid);
|
||||
my $plugin = PVE::Storage::Plugin->lookup($scfg->{type});
|
||||
$plugin->activate_volume($storeid, $scfg, $volname);
|
||||
my $format = PVE::QemuServer::qemu_img_format($scfg, $volname);
|
||||
|
||||
my $size = PVE::Storage::file_size_info($iso_path);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user