config: add backup content type to default local storage

which is used if there is no ('dir'-type) 'local' entry. Storage configurations
made by the installer also support backups for the 'local' storage, and the
'prune-backups' parameter is not really useful otherwise.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner
2021-06-16 09:26:58 +02:00
committed by Fabian Grünbichler
parent bbadd1659d
commit 3a3ff9d52b

View File

@ -404,7 +404,14 @@ sub parse_config {
priority => 0, # force first entry
path => '/var/lib/vz',
'prune-backups' => 'keep-all=1',
content => { images => 1, rootdir => 1, vztmpl => 1, iso => 1, snippets => 1},
content => {
backup => 1,
images => 1,
iso => 1,
rootdir => 1,
snippets => 1,
vztmpl => 1,
},
};
}