summaryrefslogtreecommitdiffstats
path: root/perl-install/install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-13 20:14:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-13 20:14:13 +0000
commit95887b5a65aa7ebaf62b7ab663e085be0f154f39 (patch)
tree7b7aeb8f2618eb2c59e35c4ea0e27a4fab4303c1 /perl-install/install/install2.pm
parentb3dda2f9b09dc79f1dc25e4e74d5997e8a3af76b (diff)
downloaddrakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.tar
drakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.tar.gz
drakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.tar.bz2
drakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.tar.xz
drakx-95887b5a65aa7ebaf62b7ab663e085be0f154f39.zip
- 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?
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r--perl-install/install/install2.pm11
1 files changed, 2 insertions, 9 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 8532a02c5..8addfdb33 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -271,17 +271,10 @@ sub configureServices {
installStepsCall($o, $auto, 'configureServices');
}
#------------------------------------------------------------------------------
-sub setRootPassword {
+sub setRootPassword_addUser {
my ($auto) = @_;
- return if $o->{isUpgrade};
- installStepsCall($o, $auto, 'setRootPassword');
-}
-#------------------------------------------------------------------------------
-sub addUser {
- my ($auto) = @_;
-
- installStepsCall($o, $auto, 'addUser') if !$o->{isUpgrade};
+ installStepsCall($o, $auto, 'setRootPassword_addUser') if !$o->{isUpgrade};
}
#------------------------------------------------------------------------------