diff --git a/src/PVE/Storage/PBSPlugin.pm b/src/PVE/Storage/PBSPlugin.pm index 08ceb88..0808bcc 100644 --- a/src/PVE/Storage/PBSPlugin.pm +++ b/src/PVE/Storage/PBSPlugin.pm @@ -49,12 +49,6 @@ sub properties { description => "Base64-encoded, PEM-formatted public RSA key. Used to encrypt a copy of the encryption-key which will be added to each encrypted backup.", type => 'string', }, - port => { - description => "For non default port.", - type => 'integer', - minimum => 1, - maximum => 65535, - }, }; } diff --git a/src/PVE/Storage/Plugin.pm b/src/PVE/Storage/Plugin.pm index b85d935..6444390 100644 --- a/src/PVE/Storage/Plugin.pm +++ b/src/PVE/Storage/Plugin.pm @@ -205,6 +205,15 @@ my $defaultData = { format => 'pve-storage-options', optional => 1, }, + port => { + description => "Use this port to connect to the storage instead of the default one (for" + ." example, with PBS or ESXi). For NFS and CIFS, use the 'options' option to" + ." configure the port via the mount options.", + type => 'integer', + minimum => 1, + maximum => 65535, + optional => 1, + }, }, };