FreeBSD virtual environment management and repository

Attention! Current pages describe CBSD version 12.1.x. If you are using an older version, please update first.

Please note: these commands support the mask (wildcard) as a jname, for example: jname='*', jname='ja*l*'

Attention! I apologize for the automatic translation of this text. You can improve it by sending me a more correct version of the text or fix html pages via GITHUB repository.

Jail import

jimport command

			% cbsd jimport
		
Description:

Import jail from (*.img) file.

In jname argument you can set full path to file or just filename (without .img extension) if file placed in $workdir/import directory. img-file after import is not modified. In addition, you can import an image of a jail in an alternate name (for example, you want to deploy the image of the jail1 from jail1.img, however, your system already has a jail of the same name). In this case, an argument newjname can be used.

Example:

import jail from /tmp/mysqljail.img file:

			% cbsd jimport jname=/tmp/mysqljail.img
		

Example:

import the image jail2.img placed in $workdir/import with a new name jail5:

			% cbsd jimport jname=jail2 newjname=jail5