Jail description
jdescr command
% cbsd jdescr
Each jail can have an optional description/summary. With this it is possible to generate dynamic documentation on admin pages. Using cbsd jdescr by itself outputs a description of all local jails.
Command
% cbsd jdescr mode=update jname=jname
nvi
in edit mode and opens the description of the jail specified by jname. If you prefer using a different editor such (such as vim
or mcedit
it can easily be done by passing your choice with the EDITOR variable. Descriptions for each jail are stored in a text file residing at $workdir/jails-system/$jname/descr
, where jname is the name of the jail. When a jail is moved or copied with jcoldmigrate, jclone, jimport/export operations, the description will remain the same.
Example (running mcedit to modify the kde4 jail using russian UTF8 charset):
% setenv LANG ru_RU.UTF-8
% cbsd jdescr jname=kde4 editor=mcedit mode=update