mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-06-28 20:36:47 +00:00
add a hook to call vm_deviceadd when the disk in config file are added
Signed-off-by: Derumier Alexandre <aderumier@odiso.com>
This commit is contained in:
parent
873c2d698f
commit
2ddd3d2e46
@ -1302,6 +1302,7 @@ sub create_disks {
|
|||||||
die "image '$path' does not exists\n";
|
die "image '$path' does not exists\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
PVE::QemuServer::vm_deviceadd ($storecfg,$vmid,$ds, $disk);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user