From b2bb4037b5eeedcd2f0300db4b0e0495879f03fa Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Fri, 13 Jun 2003 12:34:12 +0000 Subject: correct rules in case of single interface --- perl-install/drakcluster/server_conf.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/perl-install/drakcluster/server_conf.pm b/perl-install/drakcluster/server_conf.pm index 435b013a5..d9fb13d78 100644 --- a/perl-install/drakcluster/server_conf.pm +++ b/perl-install/drakcluster/server_conf.pm @@ -15,9 +15,9 @@ sub done { } my %automatic_when_single_network = ( - ADMIN_INTERFACE => 'COMPUTE_INTERFACE', - NODENAME => 'COMPUTENODENAME', - DOMAINNAME => 'DOMAINCOMP', + COMPUTE_INTERFACE => 'ADMIN_INTERFACE', + COMPUTENODENAME => 'NODENAME', + DOMAINCOMP => 'DOMAINNAME', ); sub set_automatic_fields { @@ -46,7 +46,7 @@ sub fields { [ DOMAINNAME => N("domain name use for administration of node"), check => sub { check_default(@_, $default_conf->{DOMAINNAME}, $current_conf->{DOMAINNAME}) } ], [ NISDOMAINNAME => N("nis domain name use for NIS"), check => \&check_non_empty ], [ DOMAINCOMP => N("domain name use for compute"), check => \&check_non_empty ], - [ IPOFFORWARDER => 'IP fo Forwarder resolv ip out of zone ', check => \&check_ip ], + [ IPOFFORWARDER => 'IP of Forwarder resolv ip out of zone ', check => \&check_ip ], [ DNSKEY => 'dnskey for the dns server', check => \&check_non_empty ], [ ADDSEARCH => 'ADDSEARCH ' . N("is needed if you want your cluster resolv out of zone ip") ], -- cgit v1.2.1