use Time::HiRes;
use POSIX ":sys_wait_h";
-use Proxmox::Install::Setup;
+use Proxmox::Install::Env;
use Proxmox::Log;
use Proxmox::Sys::Command qw(run_command syscmd);
use Proxmox::Sys::File qw(file_read_firstline file_read_all file_write_all);
'test-image|t=s' => \$test_image
) or die "usage error\n";
-Proxmox::Install::Setup::enable_test_mode() if $test_image;
+Proxmox::Install::Env::enable_test_mode() if $test_image;
$ENV{'LVM_SUPPRESS_FD_WARNINGS'} = '1';
-my ($setup, $cd_info) = Proxmox::Install::Setup::setup();
+my ($setup, $cd_info) = Proxmox::Install::Env::setup();
my $zfstestpool = "test_rpool";
my $zfspoolname = is_test_mode() ? $zfstestpool : 'rpool';