summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps_auto_install.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/steps_auto_install.pm')
-rw-r--r--perl-install/install/steps_auto_install.pm3
1 files changed, 2 insertions, 1 deletions
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}) {