FreeBSD virtual environment management and repository

2020-10 upd: we reached the first fundraising goal and rented a server in Hetzner for development! Thank you for donating !

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.

News

You can subscribe for CBSD-related news on RSS/Atom feed: CBSD Project feed

 Development

Unknown — Unknown

If you want to experiment with the next version of CBSD, use git clone https://github.com/cbsd/cbsd.git for /usr/local/cbsd

Releases

13.0.16 — 2021-10-15

  • fix: perms for .ssh/.rssh dirs
  • fix: rdr rules for expose when ip4_addr in NIC# form ( #623 )
  • repo: support for 'ver=native'
  • fix: jail basejail: proper errcode when base already exist
  • jail: auto-restart when param change with jset/jcreate jconf= autorestart=1
  • bhyve: FreeBSD 14-CURRENT cloud images
  • bhyve: OpenBSD 7.0 cloud image

13.0.15 — 2021-09-20

  • bhyve: add cloud Oracle 7/8 profiles
  • fix 'cbsd --help' output, pointed by: @bammbr
  • 'cbsd forms': use upper case vars, export params by template

13.0.14 — 2021-09-05

  • better DragonflyBSD support (build successfylly, srcup, jconstruct/jstart/jstop).
  • (bhyve) pci bus '3' always reserved for boot device.
  • bhyve: Linux Rocky 8 cloud image.
  • bugfix: fix migration for cbsd initenv when alternative workdir is set ( #622 )

13.0.13 bugfix — 2021-08-19

  • fix /usr/ports path for jail mount_ports
  • update bhyve profiles

13.0.12 — 2021-08-13

  • jail: fix URL for HardenedBSD jail
  • jail: added cpu= limits via cpuset

13.0.11 — 2021-08-08

  • jail,bhyve: added boot_delay settings
  • xen: cloud-init support

13.0.10 — 2021-07-12

  • dhcpdv6: skip/lock file support
  • up/destroy: update to latest API

13.0.9 — 2021-06-06

  • find_first_freenic: fix race condition

13.0.8 — 2021-05-30

  • jail: jstart: added sysrc params
  • bugfix: expose did not show rules for bhyve ( #597 )
  • bhyve: NetBSD 9.2 cloud images

13.0.7 bugfix — 2021-05-11

  • bugfix: jail: fix error in jstart ( #595 )

13.0.6 — 2021-05-10

  • jail: vnet jail: support for fwcounter;
  • improve help script: filter command list by --module=XX
  • bugfix: jail etcupdate: fix exclude path when mask '*'is used ( #556 )
  • bugfix: bhyve: vga params unusable with empty vnc_args;
  • bugfix: fix jailnic-cfg dialog ( #593 )
  • bugfix: tools/mountfstab: relative path for nullfs type only;

13.0.5 — 2021-04-28

  • jail: initial native ZFS encryption support: passphrase method ( #583 )
  • etcupdate: mode=diff ( suggested by @Peter2121 via #518 )
  • fix: device-based volume mount on jail start ( reported/fixed by @vgrebenschikov #582 )
  • fix: cbsd jconstruct missing property descriptions, making it unusable ( reported by @goligo #586 )
  • fix: qemu-based jail: use /bin location instead of /usr/local/bin ( reported by Bartoletti Loïc )
  • fix: initenv: Error: incomplete input ( reported by @goligo #584 )
  • fix: linux profile: apply customskel/skeleton content only once ( reported by @Juronski #589 )

13.0.4 — 2021-04-13

  • Tested with FreeBSD 13.0-RELEASE
  • bhyve: FreeBSD 13.0-RELEASE cloud images (UFS and ZFS)
  • jail: jexec: add dir= args to change current/work dir inside jail, suggested by Peter2121 via #564
  • Linux jail profiles (centos, debia, ubuntu.
  • jail: vnet: manage IP address/defaultrouter in vnet-based jail
  • portsup: switch to git by default
  • dhcpd: ability to use external 'dhcpd' script, via dhcpd.conf
  • vpc: abitity to install rc.d script for init VPC upon host boot
  • (bugfix) jget asks always for jname even it is right
  • (bugfix) elf_tables: fix segfault when no elf file
  • (bugfix) cfetch: fix of long hanging process (fetching ISO/bases could stalled).
  • (bugfix) bhyve: proceed create.d hooks.
  • (bugfix) fix mount fstab for baserw=1.

13.0.3 bugfix — 2021-03-22

  • (bugfix) local-jails: forget to add tags (introduced in 13.0.2)
  • bhyve: manage fbuf emulation. Also tablet is optional, not a required part of XHCI.
  • jexport: export jexport_exclude params: via jexport.conf or cli args: jexport_exclude

13.0.2 — 2021-03-15

  • [jb]scp/[jb]exec/[jb]login,service,sysrc,pkg: support for CBSDfile/API

13.0.1 — 2021-02-24

  • bhyve: update uefi-edk2-bhyve firmware to g2021021
  • (highly experimental) up/destroy/exec/login: support for API via CBSDfile
  • jail: jcreate: add ci_user_pubkey as root user pubkey
  • jail jcreate: pass fsquota as ZFS quota
  • initenv/cmdboot: fix several chicken-egg

13.0.0 — 2021-02-03

  • tested with FreeBSD 13.0-alpha3
  • new cloud-init profile: OPNsense 21, CentOS 8 stream
  • jail: jails-fstab: external script for external mount
  • jail: CBSDfile: fix pkglist regression
  • jail: makeresolv: dont set NS for non-working protocol (IPv4/IPv6?)

12.2.5 — 2021-01-07

  • srcup script: migrate to FreeBSD git instead of SVN
  • bhyve: OpenBSD 6.8 cloud image
  • bhyve: fix OpenBSD ISO image: UEFI file now has .img an extension, not .fs
  • rename [bjx]remove -> [bjx]destroy commands, suggested by Michael Osipov via #537
  • fixes: replacewdir script: fix RJAILRCCONF var

12.2.4 — 2020-12-21

  • jail2iso script: remove boot1.efifat (deprecated for FreeBSD 13)
  • remove ping6 from code for FreeBSD 13 (deprecated for FreeBSD 13)
  • cbsd --help: fix warning

12.2.3 — 2020-11-20

  • fix target_arch: this fixes repo script for non-x86 arch
  • fix build on non-x86 arch

12.2.2 — 2020-11-16

  • added 'module' command to manage CBSD modules
  • added K8S module: deploy kubernetes cluster with CBSD (details )
  • up script: randomize delayed before start when multiple env

12.2.1 — 2020-11-10

  • jails: improve qemu-based jails (mirror for base.txz was restored), repo script fixes
  • jails: qemu-based RISCV64 arch has been added ( Thanks to: Loïc Bartoletti )
  • freejname script: fix collisions when running simultaneously
  • bhyve imgsize params: allow float value, e.g: 1.5g, 0.5t
  • bhyve: NetBSD 9.1 cloud profile

12.2.0 — 2020-10-29

  • tested with FreeBSD 12.2-RELEASE
  • added Bash autocompletion file for most common used commands: /usr/local/cbsd/share/autocompletion/bash (thanks to kr0mBagheera)
  • dhcpd, get-next-tcp-port script: add lock wrapper to avoid collisions when running simultaneously
  • up/destroy: added pre/post hooks per environment
  • FreeBSD 12.2 cloud image ready

12.1.16 — 2020-09-26

  • bhyve: bhyverun_wrapper: alternative/custom bhyve start script, Issue #476
  • bhyve: get_next_vale: add exclude list to skip already used VALE port when vm off

12.1.15 — 2020-08-31

  • cbsdsh: fix crash: exited on signal 6

12.1.14 — 2020-08-24

  • fix build on FreeBSD 13-CURRENT
  • fix brename ( reported by aeifn, Issue #510 )
  • checkip: also check ip on local ifaces

12.1.13 — 2020-06-22

  • bhyve: fix $jailsysdir directory when no mnt_start and no ZFS
  • bhyve: cloud-init: use "gpart commit" to confirm changes when cloning from a gold volume

12.1.12 — 2020-06-01

  • bugfix: VALE: changed port names: ID instead of $jname (due to the VALE port name length limit)
  • bhyve: manage MTU for virtio ( r359704 ) and cloud-init
  • bhyve: NetBSD 9.0 cloud image
  • CBSDfile: check the postcreate error code and destroy the environment if it fails

12.1.11 — 2020-05-15

  • fixed jstop script to work correctly when the jails are on a bridge interface
  • CBSDfile: up/destroy script: vagrant-like behavior

12.1.10 — 2020-05-06

  • jail: add missing allow_lin{proc,sys}fs params
  • bhyve: manage UUID

12.1.9 — 2020-04-24

  • bhyve: Ubuntu 20.04 LTS cloud image
  • bhyve: add hdd_boot_firmware for alternative boot firmware for hdd
  • jail: qemu-usermode: qemu-ppc64-static jail option (however, it does not seem to work correctly)
  • jls: extra column etcver for etcupdate version
  • jail: etcupdate helper
  • dhcpdv4: can use range in the last octet, e.g: 10.0.0.10-16

12.1.8 — 2020-04-05

  • fixes: fix regression in jexec introduced in 12.1.7
  • fixes: fix bimport script ( missing macro), Issue #482)

12.1.7 — 2020-03-25

  • fixes: jail services started twice when vnet=1 or zfs dataset attached to jail, Issue #439)
  • fixes: fix jstart to properly call /etc/rc
  • fixes: jexec removing options from command, Issue #470)
  • jail: etcupdate script wrapper

12.1.6 — 2020-03-15

  • *ls, *get: custom facts
  • support for DHCPv6 in ip4_addr ( automatic IPv6 assignment from node pool )
  • bugfix: bhyve: bclone fixes
  • bugfix: jail: jclone: fixes for fstab dir location
  • bugfix: jail: j2prepare: fixes for fstab dir location
  • bugfix: jail: j2prepare: check for remote CBSD version
  • bugfix: jail: jrename: fixes for fstab dir location
  • bhyve: OpenBSD 6.6 cloud image

12.1.5 — 2020-02-02

  • mnt_start options for external storage mount
  • [jbx]ls, [jbx]get: custom facts

12.1.4 — 2020-01-05

  • bugfix release

12.1.3 — 2020-01-04

  • bhyve: bconstruct-tui: ability to revert/reset GIT updates for profile
  • bhyve: added master_reboot hook for reboot bhyve vm custom action
  • ssh keygen: ED25519 by default instead of RSA
  • bhyve: IPv6 support for UEFI GOP bhyve VNC tcp bind
  • xen: vm save/restore support ( xcheckpoint )
  • xen: live migration support ( xmigrate, demo )
  • jail pkg module: several improvements: retry, exit code behavior, configuration file ( sample: /usr/local/cbsd/modules/pkg.d/etc-sample/pkg.conf )
  • repo: fixes for action=get source=src - fetch source tree from official FreeBSD resources.

12.1.2 — 2019-11-05

  • FreeBSD 12.1 cloud image ready

CentOS 8.0 cloud image ready! — 2019-09-25

ClonOS 19.09, with cloud-init support — 2019-09-22

12.1.1 bugfix release — 2019-09-13

  • fixes: initenv failed if tmux is missing ( reported by KS Leung, Issue #431)
  • fixes: jail: floatresolv always worked even if the value set to 0 (disabled) ( reported by Ivan Safonov via Telegram )

12.1.0 — 2019-09-11

  • bhyve: fixes for brename ( reported by jas via Telegram )
  • bhyve: change zvol name for virtual disk: dskX.vhd instead of bcbsd-$jname-dskX.vhd

12.0.14 — 2019-08-16

  • jail: fix jimport script ( the wrong structure was unpacked )
  • jail: jclone: re-initializate hwaddr for cloned vnet jail
  • jail: better basename management ( suggested by: ntinti, Issue #327)
  • xen: add disk management (sync code with bhyve )
  • xen: nested virtualization property added
  • cloud-init: switched to using own cloud images ( provided by CBSD/ClonOS Project )

12.0.13 — 2019-07-04

  • bhyve: added hda emulation support ( FreeBSD 13-CURRENT, r349355+ );
  • fix bhyve export/import;
  • fix cbsdd status pid ( reported and fixed by: spagu, Issue #471);
  • jail: fix directory permission created by cbsd script inside basejail hier ( reported by: VincentBentley, Issue #419);

12.0.12 — 2019-06-22

  • initenv: no longer suggest using port 22222 ssh port by default
  • initenv: make a hook for custom/user scripts during the initenv stage ( initenv-hooks )
  • bhyve: manage sectorsize with dsk_sectorsize params via global conf and per-profile
  • cloud-init helper: added ci_user_pw_user and ci_user_pw_root params
  • bhyve: one global dataset per vm (ZFS platform only)
  • bhyve: add 'persistent' flag for virtual nic: mark interface as unmanaged by CBSD
  • jswmode: support jname as mask
  • jexport: show progress on ZFS platform + ranomize/round progress percent by step ~10
  • bhyve: bls: rename vnc_port column to "meta" field: vnc ( bhyve_vnc_tcp_bind:vnc_port )
  • add external_exec_local_script as hook for local scripts ( remove.d for [jbx]remove rename.d for [jbx]rename clone.d for [jbx]clone) ) Suggested by: haynesjustin, Issue #373
  • bhyve: check that the bhyve_vnc_tcp_bind address is available for use (when not 127.0.0.1 or 0.0.0.0)
  • bhyve: cloudbase helper for Windows cloud image ( demo )
  • bhyve: NetBSD cloud profile ( demo )
  • fixes: segmentation fault when updating bhyve tables, Reported by goligo, Issue #371
  • cloud-init: use dedup by default for GOLD images on ZFS platform (regulated through the zfs.conf configuration file)
  • bhyve: sectorsize=4096 for disk by default!

12.0.11 — 2019-05-16

12.0.10 — 2019-04-25

  • bhyve: fix openbsd guest boot

12.0.9 — 2019-04-19

  • bhyve bcreate: mark the first disk bootable
  • ability to customize colors via color.conf config file
  • prepare CBSD code for RAFT/replication ( split cbsdsql to ro/rw call )
  • passwordless node connect. Suggested by: ntinti, Issue #377
  • fix help command ( reported by: many )
  • jail: extract_base from file
  • bhyve: update vm_pid when domain restarts. Reported by VVelox, Issue #399

12.0.8 — 2019-04-02

  • bhyve cloud-init: fix zfs volume size for raw images
  • multiple cbsd_workdir support

12.0.7 — 2019-03-24

  • bugfix release: reset is_cloud vars when switching profile (introduced in 12.0.6)

12.0.6 — 2019-03-23

12.0.5 — 2019-02-22

  • bugfix release
  • fixes: jcoldmigrate: lock issue
  • fixes: bconfig: choose vale switch
  • fixes: j2slave: also include system directory

12.0.4 — 2019-02-16

  • xen: SPICE protocol for QEMU support (recent FreeBSD-13 (HEAD/CURRENT) only, see: r492838)
  • bhyve: added custom behavior settings by exit codes
  • CBSD WEB UI (aka ClonOS): got real-time graph and new dark themes
  • bhyve: (highly experimental) jailed bhyve on FreeBSD 12.0+ (articles by lattera)
  • jail: add support for allow_unprivileged_proc_debug settions (r341084)
  • add global.conf settings. For example you can disable CBSD color output by conf in addition to NOCOLOR env(1) vars, suggested by Moviuro, Issue #364
  • jail: sysrc: support for jname as mask
  • jail: opportunity to manage sources and configuration of receiving base via config file. Suggested by Adeel Mujahid aka am11, Issue #367
  • bhyve: storage controller management: now you can attach multiple vdisk to single AHCI controller
  • initenv: test and configure kern.init_shutdown_timeout sysctl(8). Pointed out: Marko Turk aka marko-turk, Issue #374
  • jail: split allow_sysvipc option. Pointed by ntinti, Issue #372
  • jail/bhyve: by default run virtual environment with nice=1
  • racct-*-stats: fix memleak with strsep
  • register_base: added auto_baseupdate params to control base auto-update. Reported by Пётр aka Peter2121, Issue #363
  • baseupdate: the ability to specify an individual base
  • mountfstab/makejconf: fix grep conditions for zfs. Reported by xvfl8mzajp, Issue #382
  • mountfstab: fix fstab parsing without CRLF. Reported by Пётр aka Peter2121, Issue #383

ClonOS 19.01, first public release — 2019-01-24

12.0.3 — 2018-12-04

  • bugfix release
  • quick and dirty workaround of the CentOS 7.6 (and probably RedHat) boot problem:

    Failed to set MokListRT: Invalid Parameter

    Something has gone seriously wrong: import_mok_state() failed

    CentOS guest users: please update immediately!

12.0.2 — 2018-11-24

  • bhyve: bump uefi firmware to 0.2
  • cbsdd: cleanup logs for internal task. Pointed via email by: H1r0Sh1mA
  • racct-stats: split daemon into three independent parts ( racct-jail-stats, racct-bhyve-stats and racct-hoster-stats ). (not enabled by default)

12.0.1 — 2018-11-17

  • bugfix release
  • jail: elf_tables: check jail for minor version too. Reported by Пётр aka Peter2121, Issue #351
  • bhyve: fix serial boot issue for UEFI GOP mode
  • bhyve: bhyve debug add alternative path for gdb

12.0.0 — 2018-10-21

  • tested on FreeBSD 12
  • tested with XEN 4.11
  • bhyve: initial support for NVMe controller (no boot order)
  • bhyve: live migration support
  • xen: sync code with bhyve, support for XEN 4.11
  • jail: multiple ip adresses can be configured separately on interfaces without hosts config. Suggested by ntinti, Issue #306
  • [jb]import: support for multiple images specified in the command line
  • add create.d dir for post-creation action. Suggested by Annakan, Issue #321
  • srcup.conf: split conf per-platform
  • imghelper: store flat_size in bytes in header (as result: jimport now knows the amount of unpacked environment before unpacking)
  • jails: add support for allow_read_msgbuf (r339409)
  • bhyve: add debug engine to run bhyve in gdb or lldb

11.2.1 — 2018-07-28

  • sysutils/reggae: got added to ports. This package helps with common DevOps tasks, and it uses CBSD jails to acomplish that
  • bugfix: jail: populate_cdir,switch_baserw: always use realpath. Reported by Juronski, Issue #287
  • bugfix: pkg info: secure pkg execution by time limit and non-interactive flags. Reported by Alex Petrov via Telegram
  • bugfix: bhyve tap not added to bridge when MTU different. Reported by Andreas Wrede aka awrede, Issue #301
  • bugfix: fixed the problem when some containers did not start, reported by (Reported and tested by: brahmann).
  • jail: disable allow_raw_sockets by default, added into jconstruct-tui/jconfig. Reported by ntinti, Issue #307
  • pkg: add support for mutliple mask in jname args for: query,install,remove,info
  • bhyve: manage storage controller (AHCI)
  • jlogin: support for jname as mask
  • bhyve: vm priority
  • improve remote resources support
  • jail: support for allow.mount.fusefs (on modern FreeBSD version only: 11.2+ and 12). CBSD options: allow_fusefs. FreeBSD r336565,D16371
  • bhyve: checkpoint support for alternative checkpoints name

Reggae got added to ports! — 2018-07-11

CBSD/Reggae Init and demo, by Goran Mekić.

11.2.0 — 2018-05-28

  • Ready for FreeBSD 11.2
  • jsnapshot: remove unnecessary exit from the cycle. Pointed via email by: Sean Greven
  • started working on iSCSI support: iscsi-discovery script has been added to control iscsictl(8)
  • pkg: partial support for multiple jname mask
  • fetch_iso: add purge args, possibility to process an individual profile
  • added CBSD ZSH-completions, suggested and created by Moviuro: Issue #297

11.1.20 — 2018-05-06

  • bugfix release
  • jail: fix for broken jset. Reported by Egor Vershinin aka Dorlas, Issue #290
  • jail: fix starting RC twice in vnet jails. Reported, debug and fixes by Gijs Peskens aka gizahNL, Issue #291

11.1.19 — 2018-05-02

  • bhyve: Initial checkpoints support (hope to soon meet a live migration ;-)
  • bhyve: update UEFI-EDK2 firmware, this fixes booting linux kernels >= 4.15 (Ubuntu 18.04+, Fedora 18+, Kali 2018 and so on)
  • Initial support for syslog

11.1.18 — 2018-04-10

  • bugfix release
  • fix jimport. Reported by Egor Vershinin

11.1.17 — 2018-04-07

  • bhyve: CPU topology support
  • bhyve: check ISO's CRC SHA256 sum (optional)
  • bhyve: an existing bridge can be selected (for those who customize/setup the interface themselves)
  • bhyve: Sparse ZVOL now by default. Can be reassigned via zfs_create_sparse="0" in $workdir/etc/zfs.conf
  • bhyve: grub-bhyve dependency has been removed: CBSD support OS only via UEFI due to the poor and unstable implementation of the grub-bhyve method, which is terrible

11.1.16 — 2018-02-21

  • bhyve: bclone: fixed dubbing in settings table
  • bhyve: Fixes for CentOS UEFI boot
  • dhcpd: refactoring. now we support real IP range in nodeippool
  • jail: add support for multiple VNET type interfaces

11.1.15 — 2018-02-14

  • (bugfixes) bhyve: fixes for double values after 11.1.13 migrations/settings
  • (bugfixes) fix for inter=0 at nat framework question when /usr/local/cbsd/sudoexec/initenv inter=0 path_file used, skip read on NAT framework choosing when non-interactive flags used
  • [jb]consturct-tui: store previous profile choices

11.1.14 — 2018-01-10

  • HardenedBSD platform: fix official repo
  • jails: search for fastest mirror for base.txz ( cbsd repo action=get sources=base)
  • fix for boot order menu in [jb]config, Issue #134, reported by Andrii Mazan, aka Fazik

11.1.13 — 2018-01-23

  • bugfix release
  • jails: fixes for show_profile in jconstruct-tu, reported by Kirill via Telegram
  • fixes for external hook variables

11.1.12 — 2018-01-19

  • Fetching base.txz for CURRENT also possible from ftp.freebsd.org
  • Identify HBSD environment with platform="HardenedBSD" global variable;
  • show_profile_list: separate filter by show_xen/show_bhyve instead of active=;
  • nics-list: support for phyonly= arguments
  • sync xen module with bhyve
  • fix broken build if databases/sqlite3 was built with ICU=on, thanks to Pavel Volkov via PR 214551
  • fixes for natcfg-tui Issue #134

11.1.11 — 2017-12-11

  • rework select_jail function ( used in [jb]config, [jb]start,stop, [jb]remove
  • initenv: support for pre-defined config for re-configure
  • makeresolv now support optional args for changing nameserver

11.1.10 — 2017-11-26

  • jexec, jlogin: add user= params, suggested by Goran Mekić aka meka
  • zfsattach: make zfs jail after jail create but before /etc/rc boot sequence, force persist flags for this cases. Issue #213, reported by sturican
  • bugfix: [jb]create proper removejconf args, reported Goran Mekić aka meka
  • bugfix: Preserve jconf perms, submitted by Goran Mekić aka meka
  • bugfix: jstop: fix ip4_addr list for removeing, add work-around for unstoppable cron via pkill
  • bugfix: bhyve: skip loopback interface as uplink, (reported by Denis Bezkrovniy via Telegram)
  • bugfix: bhyve: skip CBSDSYSTEM0 tap interface when no default route, (reported by Denis Bezkrovniy via Telegram)
  • bugfix: zfsattach: fix for syntax error. Issue #213, reported by sturican

11.1.9 — 2017-11-05

  • bugfix release
  • fix broken build after r452700

11.1.8 — 2017-10-14

  • bhyve: OpenBSD UEFI support (on FreeBSD 11.1-RELEASE)
  • bhyve: add vgaconf settings (for FreeBSD 11.1-RELEASE)
  • bhyve: fix for FreeBSD guest boot on serial console in legacy MBR mode
  • bhyve: add p9 patch
  • dhcpd: also check IP free address via bhyve list
  • colorized active/passive state of environment in [jb]ls and [jb]config
  • bhyve: fix mynic variable with full NIC list (reported by Elea Molokan via CBSD Telegram)

11.1.7 — 2017-10-03

  • bhyve: add virtio-p9 for shared folders feature
  • jail bugfix: Fix execution for custom pre/post script. Issue #197, reported by: Christopher Haglund (aka sweco-secfha)

11.1.6 — 2017-09-17

  • bhyve: add MTU settings for NIC
  • bset/jset: support for jname as mask
  • bug fixes for vm_ram convertation in bconfig dialog

11.1.5 — 2017-09-10

  • bugfix release
  • allow exec_stop/exec_start modify via jconfig. Issue #193, reported by: sharky1337
  • fixes for zfs attach, reported by: Sebastian Schaack, via Telegram

11.1.4 — 2017-09-07

  • jexec now support execution command in multiple jail (in parallel mode)
  • support for jname as mask for [jb]stop,[jb]start,junregister,jregister,[jb]remove,[jb]export,[jb]import
  • (bugfix) allow.reserved_ports still not available in FreeBSD 11-RELENG, only -CURRENT

11.1.3 — 2017-08-30

  • add ${bhyve_vnc_tcp_ipconnect} variable for external hooks
  • add Makefile for update vm-profiles regardless of CBSD releases, from GitHub
  • (bugfix) bhyve: dont use iso_args when vm_iso_path is empty (Reported by Alexsander Povolotsky (aka tarkhil) via Telegram

11.1.2 — 2017-08-22

  • [bj]login support for external custom command via [bj]login.conf config file
  • freejname: also check remote nodes databases
  • add facter instance variables for external hooks command:
  • ${ipv4_first_public} ${ipv4_first_private} ${ipv4_first} ${ipv6_first_public} ${ipv6_first_private} ${ipv6_first}
  • add vmpackages: grouped settings for vm
  • add zfs-migrator: ZFS-based cloning instances between ZFS nodes, at the moment without integration with jcoldmigrate and work only via root ssh connection. Issue #118 also participates here

11.1.1 — 2017-08-05

  • bugfix release: enable VNC password for bhyve only for FreeBSD > 11.1

11.1.0 — 2017-07-31

  • bhyve: bls now show bhyve pid in jid column
  • jail: add allow_reserved_ports options (r319611)
  • jrctl support for prometheus format output (Export and display jail and bhyve statistic metrics with CBSD, Grafana and Prometheus)
  • bhyve: detach ppt devices when vm removed, pointed by will666 via Issue #172
  • bhyve: multiple ppt devices support in bhyve-ppt
  • bhyve: Add bhyve vnc password support on FreeBSD 11.1+ (default password now: 'cbsd')
  • Add skip_bhyve_init_warning options for bhyve which control bhyve_init behavior
  • bhyve: Automatic selection of a suitable mirror when downloading images
  • add external get_profile_list script to show available profiles
  • Allow to show cbsd version even workdir is not set. Issue #173 (Reported by: Vladislav V. Prodan aka click0)
  • Fixes for grep error on initial setup. Issue #176 (Reported by: Vladislav V. Prodan aka click0)
  • jail: add support for aarch64 aka ARMv8 and arm-64 via qemu-aarch64-static emulator type
  • jail: make childrenmax, persist, enforce_statfs configurable
  • add trusted profile via jail-freebsd-trusted.conf: all possible jail params is allowed here. For personal/trusted environments
  • bhyve: add support for [jb]snapshot on ZFS platform. Currenlty only first devices in snapshot
  • add vmpackage schema: cumilative configs for vm_cpu/storage/vm_mem pairs
  • copy-binlib scipt: learn for hardlink; update index files

11.0.15 — 2017-04-14

  • bhyve: add Ubuntu 17.04 profile
  • srcup: add HardenedBSD source repository support
  • jail: ability to change mac address for vnet-based jail. Issue #159 (Reported by: Greg Fitzgerald)
  • initenv: add RACCT enable question in first initenv wizard, Issue #138 (Reported by: Egor Vershinin)

11.0.12 — 2017-03-23


11.0.11 — 2017-03-13

  • bugfix release: fix profile apply on jconstruct-tui introduced in 11.0.10

11.0.10 — 2017-03-12

  • bhyve: support for e1000 NIC on FreeBSD 11.1+
  • jclone,bclone: ZFS clone in jclone,bclone operation on ZFS based hoster. Issue #111 (Suggested by: Pavol Cupka)

    Warning! this changes the old behavior! Read the documentation carefully. The old behavior is regulated through arguments or a configuration file!

  • add cbsd_queue execution to send status of task - this need for backend's progress bar and control of job execution
  • pre/post start/stop hooks has been improved: add remove.d directory; possibility to specify an alternative path via systemskeldir variables; add additional bhyve variables in hook environment
  • sshkey script has been added to operate node keys through via script. Also partially belongs to Issue #59 (Suggested by: mzs114)
  • (bugfix) jrctl-tui has been rewrited to forms functional. Also this fix Issue #139 (Reported by: Egor Vershinin)

11.0.9 — 2017-02-19

  • fix for running i386 jail on amd64 hoster
  • add compress level control for export operation. Issue #131

11.0.8 — 2017-01-30

  • bigfix releases

11.0.7 — 2017-01-24

  • (taskd): reset SQLITE_SEQUENCE when we do flushlog
  • (taskd): add exclusive args to ensure uniqueness job
  • (bhyve): Improve UEFI boot
  • (bhyve): add bhyve-ppt script to manage ppt ( passthru ) devices
  • (bhyve): add media script to manage virtual storage devices
  • add merge script to merge ascii-based file profiles

11.0.6 — 2016-12-01

  • bigfix releases

11.0.5 — 2016-11-28

  • Add encrypted password hash support for new-user operation in adduser and pw script, dialog-based add user wizard switched to hash-based password (instead of plain password) via new jconf params: user_pw_XXXX_crypt. Based-on and fix-for: Issue #100
  • (bhyve): Check IPv6 address availability: Issue #104
  • (bhyve): VM also uses post/pre scripts now: execscript (Pointed by: @cleverfox).
  • expose: add pf support for port redirect into jail, Issue #106
  • (bugfix) fix loosing nic_parent on created new nic interface in dialog (Reported by: brahmann).
  • (bugfix) bugfix for filelist index

11.0.4 — 2016-10-20

  • (bhyve): bhyve: add ability for disable automatic bridging
  • (bugfix) bugfix for filelist index;

11.0.3 — 2016-10-15

  • add media script to track/register ISO images
  • (bhyve): make more bhyve arguments editable via jconfig
  • (bugfix) Fix popcnttest build;

11.0.2 — 2016-10-01


11.0.1 — 2016-09-30

  • (bugfix)(bhyve): workaround for false popcnt test - try to load bhyve even popcnt test failed. (Reported by: Alex Alex via CBSD Telegram)
  • (bugfix)(bhyve): split query for dsk_conf - it may not exist in SQL. (Reported by: Alex Alex via CBSD Telegram)

11.0.0 — 2016-09-24

  • Tested on FreeBSD 11.0-RELEASE
  • Add protected and hidden for jail and bhyve
  • Improve IPv6 support
  • Experimental support of libxo library has been removed. JSON/XML will be implemented in other ways
  • bhyve: Support for ZVOL on ZFS-based system
  • jexport/jimport scripts has been rewriten to support bhyve-on-zvol images
  • bhyve: Bhyve UEFI GOP support (VNC) . It is the most requested feature for Windows users in bhyve ;): headless graphical console. Sample: bhyve graphical boot
  • We are prepared Puppet CBSD module for Puppet
  • We are launched the official forum for the users CBSD: https://forums.bsdstore.ru/
  • Project CBSD WEB closed (without starting). Instead, ClonOS project has been founded in the form of an independent distribution: Announcement on the forums.

10.3.3 — 2016-08-11

  • (bugfix)fix for fd resource leaks

10.3.2 — 2016-04-25

  • (bugfix)fix zfsinstall script on -current
  • (bugfix)bhyve: soft shutdown
  • expose: tcp/udp port forwarding from master host to jail
  • jrctl: filesystem bandwidth/ops limit by iops and bps
  • - ability to use the pre compiled base from other sources via specify path to archve. Issue #57 (Suggested by: mzs114).

10.3.1 — 2016-04-02

bugfix release

  • (bugfix) Fix vm_profile name to match filename Issue #68 (Submited by: rhooper).
  • Add nat disable options in natcfg. Issue #68 (Suggested by: LouPayne).
  • Fix for illegal options during cbsd --help

10.3.0 — 2016-03-02

  • (bugfix) Fix for update NAT config when nat switch in initenv-tui Issue #60 (Reported by: rodyaj).
  • (bugfix) Fix for zfs/hammer feature trigger variable in initenv-tui
  • (bugfix) Fix inputbox menu for bhyvenic; bhyve: always up parent interfaces (Reported by: brahmann).
  • imgpart: switch compress method to xz(1), with thread support; Execute with lower prio;
  • Populate basedir via filelist: if the version of the jail and node the same, you can create base from the node environment
  • [jbx]create: zfs_snapsrc options for ZFS-based system: now you can create VM and Jails from ZFS snapshot
  • imghelper: Rewrite imghelper to work with SQLite-based registry of helper settings
  • bhyve: UEFI boot support
  • Experimental XEN support

10.2.0 — 2015-08-15

  • bhyve: when you create FreeBSD VM via FreeBSD-from-jail profile, you can specify a size of swap partition
  • bhyve: opportunity to create a virtual machine through FreeBSD-from-jail profile on ZFS filesystem
  • Changed in boostrap database of jail images - now helper configures the jail through SQLite3 file
  • Start of integration CBSD with libxo library to to unify the output in a human and xml, json, html format. See CBSD syntax
  • Support for dpv(1) for show progressbar in DIALOG forms
  • mkhostsfile: edit only CBSD records in /etc/hosts via tpl string: # CBSD autotpl for mkhostsfile
  • jimport: opportunity to set alternative IP for imported jail via newip= argument
  • (bugfix) fixes for resource leaks in cbsdsh/cbsd_fwatch 466a0a9 (Reported by: Alexey Shubnikov).
  • (bugfix) If mount_ports used, by default ports tree will be mount in RO, distfiles will be created in /var/cache/ directory of jail. If you want to change this behavior, refer to the paragraph mount_ports in Jail settings (Pointed: k at free.de)

10.1.4 — 2015-01-24

  • bhyve: multiple NICs support
  • bhyve: ability to specify MAC address per NIC
  • (bugfix) jail2iso: prohibit EFI boot loader on systems that do not have /boot/loader.efi (Reported by: Victor Kraft)
  • (bugfix) bhyve: Fixed bug from 10.1.3 - bad handler when creating a virtual machine from Jail
  • jorder: restore functional
  • Krzysztof Antczak share examples automation for deployment CBSD node through Vagrant + Ansible

bugfix release

10.1.3 — 2015-01-07

  • (bugfix) Fix for lost interfaces when brename/bclone performed
  • jconstruct-tui: choice for startup services in the created jail
  • Opportunity to build and run CBSD on DragonFlyBSD platform. (Nevertheless, while in DF have the old jail framework, CBSD unusable there)

10.1.2 — 2014-12-21

  • mountfstab: check for mount points duplicate in system and local jail fstab file. When duplicate - fstab.local content wins
  • pkgbrowser: rewrite script. Now work with SQLite directly instead of pkg(7), thus greatly speeding up for building package list
  • svnup: renamed, again. Now the final version of the script to update: srcup. Also, split settings into srcup.conf
  • portsup script added for checkout and update /usr/ports in master environment
  • cbsdsh: add substr function for pulling any part of the context of the string
  • The module is now located in the ending .d directory
  • bsdconf.d module: new wrappers: service, sysrc, passwd for the appropriate tools
  • pkg.d: improvement for pkg(7) wrapper
  • jlogin: if the environment is not FreeBSD and has /bin/bash, then try to running bash interpreter on login
  • node: add mode=show for display node statistics
  • (bugfix) Fixes for jexport/jimport with newjname args; wrong mounting for /usr/compat. issue 35 (Reported and tested by: Krzysztof Antczak)
  • (bugfix) Correction to determine the type of IPv4: must contain only numbers. issue 32 (Reported by: Alexander Samodelkin)

10.1.1 — 2014-10-02

bugfix release

  • (bugfix) Fix for loosing jail databases when rename nodename: old database file is not renamed (reported by: Daniel Ponticello)
  • rename svnup to svnup. Leave svnup for compatible a while
  • apply workaround for environments who have different version from node. See: grep -A28 ^20140930: /usr/ports/CHANGES

10.1.0 — 2014-09-27

  • Tested for FreeBSD 10.1-RELEASE compatible
  • imghelper script for dialog with CBSD-images params
  • BFS scheduler patch and kernel options has been added. This is desktop oriented sheduler (path maintainer: Ivan Klymenko)
  • xjails (allow_kmem) for FreeBSD 10.1
  • Starting integration tui-helper with bsdconfig framework (Thanks to Devin Teske for flexibility of bsdconfig)
  • jstart: file lock at the start of the jails, for situations where the jail is located on DFS (NFS, glusterfs) and presented to several nodes.
  • bhyve profiles: active flags, for regulating the activity or inactivity of the profile
  • bhyve login: when using tmux session, use different names when bhyveload and bhyve. When this preference is given to blogin bhyve, if unsuccessful - attempt to enter the session bhyveload
  • bhyve: virtual machine reboot support
  • compilation of the world and kernel is now in low priorities to not interfere with the other processes. This setting is configured via nice parameter in buildworld.conf
  • Removed old patches and periodic-tasks: now periodic tasks (eg, collection of traffic) going through cbsdd
  • jail2iso: UEFI support
  • renaming arch and vnet to hostarch and vimage_feature in global conf, due to conflicts with the parameters of jail
  • (bugfix) getnics-by-ip: looking only IP prefix inet in the output ifconfig (reported by: Ivan Klymenko)
  • (bugfix) bhyve: do not test hard drive for empty when booting from CD
  • (bugfix) Fix order of epair number and a/b side issues 25(reported and fixed by: kev009)

10.0.7 — 2014-08-15

  • fixes for incorrect ZFS fs name in jcoldmigrate (reported by: Alexey Shubnikov)
  • jail start via taskd
  • bhyve: support for VM auto start
  • bhyve: add virtio RNG r264055 for FreeBSD 10.1+
  • bstop/bstart/jstop/jstart/bconfig/jconfig: when executed without arguments, will show the list of jails for interactive selection
  • jls, node, jrctl and jail2iso now have corresponding .conf files

10.0.6 — 2014-07-12

  • cbsd taskd: daemon for internal tasks
  • bconstruct-tui: menubox for vm_os_type and get_vm_profiles
  • bhyve: add support for install FreeBSD guest from ISO
  • bhyve: implement other method for POPCNT checking
  • repo: newjname as argument for alternative name of stored jail

10.0.5 — 2014-05-02

  • Profiles for jconstruct\* (jail create via dialog menu )
  • jlogin without arguments now lists online jails for selection; tmux support for remote login
  • nlogin without arguments now lists nodes for selection
  • /usr/local/bin/cbsd now with 0500 perms and cbsd owner, due to use sudo for some of its scripts

10.0.4 — 2014-04-16

  • Modulization
  • jail2iso: imgsize arg renamed to freesize
  • jcreate: jailskeldir path configure via jail.conf
  • cbsdsh: build-in function for is_number
  • support for allow.kmem, which is allows to run Xorg server in the jail (FreeBSD 11 aka HEAD only)
  • Support for bhyve

10.0.3 — 2014-02-18

  • (bugfix) Fixed path to pkg(7) in pkgbrowser, thanks to Anton Iutin.
  • jsnapshot now only works with snapshots created by cbsd, improving output for snapshot list (jail snapshot (zfs-only))
  • history for output last CBSD commands ((cbsd history)

10.0.2 — 2014-02-01

  • Improving output for --help — external link to documentation(cbsd syntax)
  • Support for non-native architecture via Qemu UserMode (cbsd and Qemu User mode)
  • Improvement jls to support custom data output (jail list)
  • nice(1) support for jail priority (jail limits control)
  • Nameing of base changed from base_arch_ver to base_arch_platform_ver due to the increasing popularity of non-x86 architecture. After the upgrade, you will need to re-fetch the base dir or rename the old (with stopped jails) — directory with base_arch_ver name now inactive in $workdir/basejail and must be deleted manually.
  • Support the creation of images for bhyve from jail (jail2iso)
  • cbsdsar script has been removed, this functionality was included/enabled by mistake from development version
  • system CBSD account now created by ports framework (or manually).

10.0.1 — 2013-12-28

  • uzip in jail2iso
  • Remove auto pkg repository to http://dl.bsdstore.ru due to official FreeBSD repository is back. To use an alternate repository create a file $workdir/etc/pkg.conf with relevant content.

10.0.0 — 2013-12-15

  • Support for VIMAGE/vnet
  • Support zfs jail, delegating ZFS file systems in a jail via jail’s fstab
  • Support for cpuset

9.2.5 — 2013-11-7

  • bugfixes: jclone check for zfs unmount, fixes for warning in jrename on zfs, jconfig allow edit devfs ruleset
  • jupgrade for upgrading jail in baserw=1
  • jconfig/jset can change ip address of the jail on-the-fly.

9.2.4 — 2013-10-31

  • Partial migration of settings data to SQLite (inventory, jail rc.conf)
  • move users file mounts to fstab.local
  • switch between rw and ro bases in jail with the appropriate disposal or filling bases

For users who upgrading from 9.2.{0,1}:

  • a) If you edited the fstab for the jail, these records should be transferred to fstab.local file manually
  • b) Files rc.conf for the jails in the jails-rcconf is obsolete and all setings in SQLite3 database now (the old copy of the file is saved in the jails-system/jailname)
  • Please refer to jail config pages for details.

Warning — 2013-09-04

In connection with this issue and nullfs-based jails, be careful when deploying public hosting and follow this Security Advisories instructions.


9.2.1 — 2013-08-02

  • Partial migration of settings data to SQLite
  • cpr script to build the repository
  • to choose and install software from the repository during the creation of jail (pkgbrowser)

9.2.0 — 2013-02-25

  • Testing an experimental version, not for production. Implementing basic commands for working with jails and nodes.