Enable efi-firmware files to be placed in file-based storage backends. Signed-off-by: Christian Ludwig --- src/PVE/Storage/BTRFSPlugin.pm | 1 + src/PVE/Storage/CIFSPlugin.pm | 1 + src/PVE/Storage/CephFSPlugin.pm | 2 +- src/PVE/Storage/DirPlugin.pm | 1 + src/PVE/Storage/NFSPlugin.pm | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/PVE/Storage/BTRFSPlugin.pm b/src/PVE/Storage/BTRFSPlugin.pm index fb47aa0..2f999b2 100644 --- a/src/PVE/Storage/BTRFSPlugin.pm +++ b/src/PVE/Storage/BTRFSPlugin.pm @@ -41,6 +41,7 @@ sub plugindata { snippets => 1, none => 1, import => 1, + 'efi-firmware' => 1, }, { images => 1, rootdir => 1 }, ], diff --git a/src/PVE/Storage/CIFSPlugin.pm b/src/PVE/Storage/CIFSPlugin.pm index 54f0f4e..724e5f0 100644 --- a/src/PVE/Storage/CIFSPlugin.pm +++ b/src/PVE/Storage/CIFSPlugin.pm @@ -121,6 +121,7 @@ sub plugindata { backup => 1, snippets => 1, import => 1, + 'efi-firmware' => 1, }, { images => 1 }, ], diff --git a/src/PVE/Storage/CephFSPlugin.pm b/src/PVE/Storage/CephFSPlugin.pm index fbc9711..1a4747a 100644 --- a/src/PVE/Storage/CephFSPlugin.pm +++ b/src/PVE/Storage/CephFSPlugin.pm @@ -117,7 +117,7 @@ sub type { sub plugindata { return { content => - [{ vztmpl => 1, iso => 1, backup => 1, snippets => 1, import => 1 }, { backup => 1 }], + [{ vztmpl => 1, iso => 1, backup => 1, snippets => 1, import => 1, 'efi-firmware' => 1 }, { backup => 1 }], 'sensitive-properties' => { keyring => 1 }, }; } diff --git a/src/PVE/Storage/DirPlugin.pm b/src/PVE/Storage/DirPlugin.pm index 80c4a03..ab7911d 100644 --- a/src/PVE/Storage/DirPlugin.pm +++ b/src/PVE/Storage/DirPlugin.pm @@ -34,6 +34,7 @@ sub plugindata { snippets => 1, none => 1, import => 1, + 'efi-firmware' => 1, }, { images => 1, rootdir => 1 }, ], diff --git a/src/PVE/Storage/NFSPlugin.pm b/src/PVE/Storage/NFSPlugin.pm index 4cc02c9..e8a3661 100644 --- a/src/PVE/Storage/NFSPlugin.pm +++ b/src/PVE/Storage/NFSPlugin.pm @@ -62,6 +62,7 @@ sub plugindata { backup => 1, snippets => 1, import => 1, + 'efi-firmware' => 1, }, { images => 1 }, ], -- 2.34.1