From 95887b5a65aa7ebaf62b7ab663e085be0f154f39 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 13 Aug 2007 20:14:13 +0000 Subject: - adduserdrake, finish-install: o create only one user o fix checking user info (#32517) - install: o merge root password step and create user step (new setRootPassword_addUser step name, but still handle addUser setRootPassword in interactiveSteps for auto_installs) o fix checking user creation info (#32517) o allow to create only one user per default, but add an entry in summary to create more users o authentication method is not configurable anymore for now. should we add it to summary? --- perl-install/install/steps_auto_install.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/install/steps_auto_install.pm') diff --git a/perl-install/install/steps_auto_install.pm b/perl-install/install/steps_auto_install.pm index a8327df97..dfaa5f0e3 100644 --- a/perl-install/install/steps_auto_install.pm +++ b/perl-install/install/steps_auto_install.pm @@ -15,8 +15,9 @@ use install::steps; sub new { my ($type, $o) = @_; - # Handle legacy options $o->{interactive} ||= 'gtk' if $graphical || !is_empty_array_ref($o->{interactiveSteps}); + # Handle legacy options + push @{$o->{interactiveSteps}}, qw(setRootPassword_addUser) if intersection($o->{interactiveSteps}, ['addUser', 'setRootPassword']); push @{$o->{interactiveSteps}}, qw(installPackages configureNetwork), @graphical_steps, if_(!$o->{autoExitInstall}, 'exitInstall'); if ($o->{interactive}) { -- cgit v1.2.1