]> git.proxmox.com Git - pve-installer.git/blobdiff - proxinstall
rename Proxmox::Install::Setup to Proxmox::Install::Env
[pve-installer.git] / proxinstall
index 39d167c90b6cd44ce1885a7aaa8af5285b8a7224..d8faa347f9c6e0fc243aa94a92b07046a1c17e42 100755 (executable)
@@ -19,7 +19,7 @@ use File::Path;
 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);
@@ -34,11 +34,11 @@ GetOptions(
     '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';