diff options
Diffstat (limited to 'iurt')
-rwxr-xr-x | iurt | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -428,6 +428,10 @@ my %config_usage = ( desc => 'Where to store chroots', default => $HOME }, + chroot_tar_suffix => { + desc => 'Suffix for the chroot tarball, must be supported by tar', + default => '.gz' + }, iurt_root_command => { desc => 'Program to run sudo command', default => '/usr/sbin/iurt_root_command' @@ -659,7 +663,7 @@ $run{chroot_path} = $chroot; if ($run{storage} eq 'btrfs') { $chroot_ref = "$chroot_base/$chroot_name"; } else { - $chroot_ref = "$chroot_base/$chroot_name.tar.gz"; + $chroot_ref = "$chroot_base/$chroot_name.tar$run{chroot_tar_suffix}"; } $run{chroot_ref} = $chroot_ref; # 20061222 warly |