Group Statement

Sometimes it becomes necessary to group hosts together for some reason. Perhaps the hosts group shares something in common (for instance, maybe the same server holds the filesystem for nfs root mounting). Each group statement contains group-specific declarations and options, plus two or more other statements. These other statements are typically host statements that identify specific hosts and contain host-specific parameters (see Listing 23.5).

Code Listing 23.5. Sample Group Statement
group {
    filename  "zImage.nfs.boot" ;
    next-server foo.void.org;
        host bar { hardware ethernet 00:00:3c:b2:08:15; }
        host baz { hardware ethernet 00:00:4f:ef:12:a5; }
}

In Listing 26.5 you can see that the group statement requires no parameters—because ...

Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.