Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Dhcpd has group objects which contains two attributes:

name data
          the name  of the  group.  All  groups that  are created
          using  OMAPI must  have names,  and the  names must  be
          unique among all groups.

statements data
          a list  of statements in  the format of  the dhcpd.conf
          file that  will be executed  whenever a message  from a
          client whose host declaration  references this group is
          processed.

How do I actually set the data in "statements" attribute correctly in Omshell? What is the format of "a list of statements"? I tried semicolon separated list of statements, but it can only produce a group object with the first statement, in the file dhcpd.lease.

Omshell: http://linux.die.net/man/1/omshell

Dhcpd: http://linux.die.net/man/5/dhcpd.leases

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.