mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-03-08 04:58:26 +03:00
Use parse_drive for EFI disk
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
28438925dc
commit
ad396d54e4
@ -3575,7 +3575,7 @@ sub config_to_command {
|
||||
my $path;
|
||||
my $format;
|
||||
if (my $efidisk = $conf->{efidisk0}) {
|
||||
my $d = PVE::JSONSchema::parse_property_string($efidisk_fmt, $efidisk);
|
||||
my $d = parse_drive('efidisk0', $efidisk);
|
||||
my ($storeid, $volname) = PVE::Storage::parse_volume_id($d->{file}, 1);
|
||||
$format = $d->{format};
|
||||
if ($storeid) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user