summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 9b018a478..64865e235 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -541,6 +541,9 @@ sub g_auto_install(;$) {
local $o->{partitioning}{auto_allocate} = 1;
local $o->{autoExitInstall} = 1;
+ #- deep copy because we're modifying it below
+ $o->{users} = [ @{$o->{users} || []} ];
+
$_ = { %{$_ || {}} }, delete @$_{qw(oldu oldg password password2)} foreach $o->{superuser}, @{$o->{users} || []};
output($f,