Project

General

Profile

Bug #5437

Add non-interactive mode for ypinit

Added by Marcel Telka about 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
2014-12-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

It'd be great to have an opportunity to set up the NIS client in a following way, e.g:

ypinit -c 192.168.1.100 192.168.2.100 192.168.3.1

Currently setting up the NIS client looks like this:

root@myhost:~/tmp# ypinit -c

In order for NIS to operate sucessfully, we have to construct a list of the 
NIS servers.  Please continue to add the names for YP servers in order of
preference, one per line.  When you are done with the list, type a <control D>
or a return on a line by itself.
        next host to add:  192.168.1.100
        next host to add:  192.168.2.100
        next host to add:  192.168.3.1
        next host to add:  
The current list of yp servers looks like this:

192.168.1.100
192.168.2.100
192.168.3.1

Is this correct?  [y/n: y]  

Work by Eugene Khudyakoff.

#1

Updated by Marcel Telka about 6 years ago

  • Status changed from In Progress to Pending RTI
#2

Updated by Electric Monk about 6 years ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 0 to 100

git commit 9c30721072b66d89a4f5927ad2f6998d6f96dacb

commit  9c30721072b66d89a4f5927ad2f6998d6f96dacb
Author: Eugene Khudyakoff <eugene.khudyakoff@nexenta.com>
Date:   2014-12-17T22:22:22.000Z

    5437 Add non-interactive mode for ypinit
    Reviewed by: Marcel Telka <marcel.telka@nexenta.com>
    Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

Also available in: Atom PDF