--format is deprecated
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
This commit is contained in:
committed by
Dietmar Maurer
parent
0c3d3b056d
commit
a8c3f8f6ac
@ -341,7 +341,7 @@ sub alloc_image {
|
||||
|
||||
$name = &$find_free_diskname($storeid, $scfg, $vmid);
|
||||
|
||||
my $cmd = &$rbd_cmd($scfg, $storeid, 'create', '--format' , 2, '--size', int(($size+1023)/1024), $name);
|
||||
my $cmd = &$rbd_cmd($scfg, $storeid, 'create', '--image-format' , 2, '--size', int(($size+1023)/1024), $name);
|
||||
run_command($cmd, errmsg => "rbd create $name' error");
|
||||
|
||||
return $name;
|
||||
|
||||
Reference in New Issue
Block a user