diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-08-24 20:00:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-08-24 20:00:24 +0000 |
commit | 9062c92ba51a7170424f825c60e5ff5ec46c85dd (patch) | |
tree | 87d6ac3e24fa81ba65847ce0bff69894ab5ceacc /perl-install/install_steps.pm | |
parent | 10b649b6503f47388f1548c8ba9391dd6ce0284e (diff) | |
download | drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar.gz drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar.bz2 drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.tar.xz drakx-9062c92ba51a7170424f825c60e5ff5ec46c85dd.zip |
no_comment
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 5c4a189fb..a42cb57bd 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -140,13 +140,15 @@ sub mouseConfig($) { sub configureNetwork($) { my ($o) = @_; my $etc = "$o->{prefix}/etc"; + + # all information is in {intf}, but don't let network be aware of this :) # # rc = checkNetConfig(&$o->{intf}, &$o->{netc}, &$o->{intfFinal}, # &$o->{netcFinal}, &$o->{driversLoaded}, $o->{direction}); - network::write_conf("$etc/sysconfig/network", $o->{netc}); + network::write_conf("$etc/sysconfig/network", $o->{intf}); network::write_interface_conf("$etc/sysconfig/network-scripts/ifcfg-$o->{intf}{DEVICE}", $o->{intf}); - network::write_resolv_conf("$etc/resolv.conf", $o->{netc}); - network::add2hosts("$etc/hosts", $o->{intf}{IPADDR}, $o->{netc}{HOSTNAME}); + network::write_resolv_conf("$etc/resolv.conf", $o->{intf}); + network::add2hosts("$etc/hosts", $o->{intf}{IPADDR}, $o->{intf}{HOSTNAME}); # syscall_('sethostname', $hostname, length $hostname) or warn "sethostname failed: $!"; #res_init(); # reinit the resolver so DNS changes take affect } |