Management and Repository for FreeBSD Jails

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

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.

CentOS jail

Linux CentOS 6.2 i386 as FreeBSD jail images

For installing CentOS cbsd jail just follow this steps (for FreeBSD 10 and above):

                        % cbsd repo action=get sources=img name=centos
                

or

                        % cbsd repo action=get sources=img name=centos ver=10.0
                

If you hosted on another ( non 10.0 ) FreeBSD version.

Follow settings must be set before starting:

                        % sysrc linux_enable=YES
                        % service abi restart
                

Also please set in sysctl.conf

                        compat.linux.osrelease=2.6.18
                

then:

                        % service sysctl restart
                

PS: Linux login is not allow -f for root user, so cbsd jlogin will not work. Use alternative method (such as jexec jid login -f nonroot_user) or:

                        % chroot $workdir/jails-data/centos-data bash
                

And setup openssh services for remote login