From 62c2b5b104b979eb453b5e6886d80ae8459fb2a6 Mon Sep 17 00:00:00 2001 From: damien Date: Mon, 5 Mar 2001 22:34:04 +0000 Subject: moved askrootpasswd and adduser before network conf --- perl-install/install2.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'perl-install/install2.pm') diff --git a/perl-install/install2.pm b/perl-install/install2.pm index db7e73f73..0e219239b 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -46,12 +46,12 @@ my (%installSteps, @orderedInstallSteps); formatPartitions => [ __("Format partitions"), 1, -1, '', "doPartitionDisks" ], choosePackages => [ __("Choose packages to install"), 1, -2, '!$::expert', "formatPartitions" ], installPackages => [ __("Install system"), 1, -1, '', ["formatPartitions", "selectInstallClass"] ], + setRootPassword => [ __("Set root password"), 1, 1, '', "installPackages" ], + addUser => [ __("Add a user"), 1, 1, '', "installPackages" ], configureNetwork => [ __("Configure networking"), 1, 1, '', "formatPartitions" ], #- installCrypto => [ __("Cryptographic"), 1, 1, '!$::expert', "configureNetwork" ], summary => [ __("Summary"), 1, 0, '', "installPackages" ], configureServices => [ __("Configure services"), 1, 1, '!$::expert', "installPackages" ], - setRootPassword => [ __("Set root password"), 1, 1, '', "installPackages" ], - addUser => [ __("Add a user"), 1, 1, '', "installPackages" ], ((arch() !~ /alpha/) && (arch() !~ /ppc/)) ? ( createBootdisk => [ __("Create a bootdisk"), 1, 0, '', "installPackages" ], ) : (), @@ -547,6 +547,10 @@ sub main { my $l = network::read_interface_conf($file); add2hash(network::findIntf($o->{intf} ||= {}, $l->{DEVICE}), $l); } + if (my ($file) = glob_('/etc/resolv.conf')) { + log::l("found network config file $file"); + add2hash($o->{netc}, network::read_resolv_conf($file)); + } } #-the main cycle -- cgit v1.2.1