my $cpuinfo= PVE::ProcFSTools::read_cpuinfo();
-our $COMMON_TAR_FLAGS = [ '--sparse', '--numeric-owner', '--acls',
- '--xattrs',
- '--xattrs-include=user.*',
- '--xattrs-include=security.capability',
- '--warning=no-xattr-write' ];
-
sub config_list {
my $vmlist = PVE::Cluster::get_vmlist();
my $res = {};
}
my $cmd = [@$userns_cmd, 'tar', 'xpf', $tar_input_file, '--totals',
- @$PVE::LXC::COMMON_TAR_FLAGS,
+ @PVE::Storage::Plugin::COMMON_TAR_FLAGS,
'-C', $rootdir];
# skip-old-files doesn't have anything to do with time (old/new), but is
my $userns_cmd = $task->{userns_cmd};
my $tar = [@$userns_cmd, 'tar', 'cpf', '-', '--totals',
- @$PVE::LXC::COMMON_TAR_FLAGS,
+ @PVE::Storage::Plugin::COMMON_TAR_FLAGS,
'--one-file-system', '--warning=no-file-ignored'];
# note: --remove-files does not work because we do not