config: mention that maxfiles is deprecated

Don't add an explicit deprecation warning on parsing (yet), this already done in
the pve6to7 script. Also, automatic conversion to 'prune-backups' happens when
the section config is read, so over time fewer users should be affected.
Postpone explicit warning/dropping the parameter to a future major release.

Also switch the setting for the default 'local' storage to 'prune-backups'.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner
2021-06-16 09:26:57 +02:00
committed by Fabian Grünbichler
parent 1a4ab884e8
commit bbadd1659d
2 changed files with 4 additions and 3 deletions

View File

@ -125,7 +125,7 @@ sub lock_storage_config {
}
}
# FIXME remove maxfiles for PVE 7.0
# FIXME remove maxfiles for PVE 8.0 or PVE 9.0
my $convert_maxfiles_to_prune_backups = sub {
my ($scfg) = @_;