Maybe the code could be more efficient but you'll get the idea.
Furthermore, i don't know how to check for storage 'type' in the delete sub so 
for now it just deletes the file whether it is an RBD storage or not. This 
could definatly be improved with a proper check for type is RBD.

Caspar Smit (1):
  Automatically create/delete CEPH keyring when adding/deleting RBD
    Storage

 PVE/API2/Storage/Config.pm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

-- 
2.1.4

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to