Management and Repository for FreeBSD Jails

Attention! Current pages describe cbsd version 10.0.3. If you are using an older version, please update first.

Attention! I'm apologize, but it is automatic machine translation of the text. You can improve it if will send to me more correct version of the text or fix html pages via GITHUB repository.

Jail description

jdescr command

                        % cbsd jdescr
                
Description

Each jail can have the description/summary, that can be used to construct various dynamic documentation on admin pages. cbsd jdescr without arguments just out description for all jails on the local node.

Command

                        % cbsd jdescr mode=update jname=jname
                

run nvi in edit mode for description. By argument editor you can start alternative favorite editor for example — vim, mcedit and other. Descriptions stored in ASCII-file, placed to $workdir/jails-system/$jname/descr file, where jname — name of jail. This file you can just copy. As directory jails-system participates in jcoldmigrate, jclone, jimport/export operations, description will be will remain.

Example (run mcedit editor for description edit for kde4 jail on russian in UTF8):

                        % setenv LANG ru_RU.UTF-8
                        % cbsd jdescr jname=kde4 editor=mcedit mode=update
                

Similar descriptions are advised to rule when jail is created, if the quantity is large. Subsequently, it is convenient to aggregate this information in some of their dashboard and building jail maps. For example, follow simple script: jmap2html.sh.html generate HTML page as dashboard sample, where tooltip on the jail name is displayed a description and link the name of the jail leads to a list of software.