From 5a0459e40cc92011b09d1a865063d8d8cf674091 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Mon, 1 Mar 2004 18:20:31 +0000 Subject: add autofs in needed_rpm --- nisautofs_wizard/Nisautofs.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nisautofs_wizard/Nisautofs.pm b/nisautofs_wizard/Nisautofs.pm index f237853e..b1f6f9d8 100644 --- a/nisautofs_wizard/Nisautofs.pm +++ b/nisautofs_wizard/Nisautofs.pm @@ -57,7 +57,7 @@ my $o = { AUTOMASTER => $AUTOMASTER, AUTOHOME => $AUTOHOME, }, - needed_rpm => [ 'ypbind', 'nfs-utils', 'yp-tools', 'nfs-utils-clients' ], + needed_rpm => [ 'ypbind', 'nfs-utils', 'yp-tools', 'nfs-utils-clients', 'autofs' ], defaultimage => "$ENV{__WIZ_HOME__}/nisautofs_wizard/images/nisautofs.png", init => sub { if (member($NISDOMAIN, qw(localdomain (none)))) { @@ -309,7 +309,7 @@ sub do_it_server { my $in = 'interactive'->vnew('su', 'nisautofsconfig'); my $w = $in->wait_message(N("NIS with Autofs map"), N("Configuring your system to be a NIS server with Autofs map...")); # system("urpme --auto autofs") if (system("/bin/rpm -q autofs >/dev/null")); - uninstall_rpm('autofs'); +# uninstall_rpm('autofs'); system("urpmi --auto ypserv"); needed_service('ypserv'); # configure autofs to fit nis @@ -338,7 +338,7 @@ sub do_it_client { my $in = 'interactive'->vnew('su', 'nisautofsclient'); my $w = $in->wait_message(N("NIS client"), N("Configuring your system as NIS client ...")); uninstall_rpm('ypserv'); - system("urpmi --auto autofs"); + # system("urpmi --auto autofs"); test_autofile(); # set correct nis set_nisdomain(); -- cgit v1.2.1