2020-10 upd: we reached the first fundraising goal and rented a server in Hetzner for development! Thank you for donating !
Attention! Current pages describe CBSD version 13.0.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.
% cbsd jimportDescription:
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.
import jail from /tmp/mysqljail.img file:
% cbsd jimport jname=/tmp/mysqljail.img
import the image jail2.img placed in $workdir/import with a new name jail5:
% cbsd jimport jname=jail2 newjname=jail5