diff options
| author | Sergio <sergiotarxz@posteo.net> | 2026-08-20 21:40:14 +0200 |
|---|---|---|
| committer | Sergio <sergiotarxz@posteo.net> | 2026-08-20 21:40:14 +0200 |
| commit | c50dde45d796a4f998005ac147b09711152a361d (patch) | |
| tree | 0afc2993e2997aebc7045b8b694eff1d80998303 | |
| parent | 8251d7b9c666e7aabd01a1fd19655c4754f9f9d1 (diff) | |
Adding perl params send to the installer
| -rw-r--r-- | lib/AlgaOS/Installer/GUI.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/AlgaOS/Installer/GUI.pm b/lib/AlgaOS/Installer/GUI.pm index e0a399c..25698c2 100644 --- a/lib/AlgaOS/Installer/GUI.pm +++ b/lib/AlgaOS/Installer/GUI.pm @@ -15,6 +15,8 @@ use Crypt::URandom qw/urandom/; use File::ShareDir ':ALL'; my $dist_dir_files = dist_dir('AlgaOS-Installer'); +my @perl_args_chroot = @ARGV; + BEGIN { *CORE::GLOBAL::exit = sub { POSIX::_exit( $_[0] // 0 ); @@ -563,7 +565,7 @@ sub _install( $self, %args ) { eval { $prepare->(); excfailexit - qw{sudo perl -Mblib -MAlgaOS::Installer::GUI -e AlgaOS::Installer::GUI::chroot_install_commands(@ARGV)}, + qw{sudo perl}, @perl_args_chroot, qw{-MAlgaOS::Installer::GUI -e AlgaOS::Installer::GUI::chroot_install_commands(@ARGV)}, $hostname, $username, $password, $timezone, $locale, $container_block, $complete_systemd; |
