Fixes
gitea/vn-vmware/pipeline/head This commit looks good
Details
gitea/vn-vmware/pipeline/head This commit looks good
Details
This commit is contained in:
parent
93b90cd24c
commit
5c049af5ac
|
@ -1,4 +1,4 @@
|
||||||
vn-vmware (1.1.19) stable; urgency=low
|
vn-vmware (1.1.20) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -606,13 +606,13 @@ sub backup_machine() {
|
||||||
}
|
}
|
||||||
|
|
||||||
$pigz_processes = max(1, $pigz_processes);
|
$pigz_processes = max(1, $pigz_processes);
|
||||||
my $tar_command = "tar -I \"pigz -p $pigz_processes\" -c -C $local_tmp_dir .";
|
my $tar_command = "tar -I \"pigz -p $pigz_processes\" -c -C \"$local_tmp_dir\" .";
|
||||||
|
|
||||||
if (defined($passphrase_file)) {
|
if (defined($passphrase_file)) {
|
||||||
my $gpg_command = "gpg -c --passphrase-file \"$passphrase_file\" --batch --yes -o $tar_file.gpg";
|
my $gpg_command = "gpg -c --passphrase-file \"$passphrase_file\" --batch --yes -o \"$tar_file.gpg\"";
|
||||||
$tar_command = "$tar_command | $gpg_command";
|
$tar_command = "$tar_command | $gpg_command";
|
||||||
} else {
|
} else {
|
||||||
$tar_command = "$tar_command -f $tar_file";
|
$tar_command = "$tar_command -f \"$tar_file\"";
|
||||||
}
|
}
|
||||||
|
|
||||||
log_message "Compressing with Gzip (using $pigz_processes processes) to TAR file.";
|
log_message "Compressing with Gzip (using $pigz_processes processes) to TAR file.";
|
||||||
|
|
Reference in New Issue