{"id":20872617,"url":"https://github.com/krlex/freebsd-cbsd","last_synced_at":"2026-04-06T03:33:11.156Z","repository":{"id":90101720,"uuid":"219164144","full_name":"krlex/freebsd-cbsd","owner":"krlex","description":"This repos is just a Vagrantfile for downloading Freebsd latest version with ZFS and CBSD","archived":false,"fork":false,"pushed_at":"2021-08-05T13:53:19.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-31T21:13:29.345Z","etag":null,"topics":["cbsd","freebsd","freebsd-jail-manager","freebsd-jails","freebsd-zfs","reggae","zfs"],"latest_commit_sha":null,"homepage":"https://app.vagrantup.com/krlex/boxes/freebsd-cbsd","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krlex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-02T14:19:17.000Z","updated_at":"2022-02-15T07:48:25.000Z","dependencies_parsed_at":"2023-03-04T18:45:32.383Z","dependency_job_id":null,"html_url":"https://github.com/krlex/freebsd-cbsd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/krlex/freebsd-cbsd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krlex%2Ffreebsd-cbsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krlex%2Ffreebsd-cbsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krlex%2Ffreebsd-cbsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krlex%2Ffreebsd-cbsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krlex","download_url":"https://codeload.github.com/krlex/freebsd-cbsd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krlex%2Ffreebsd-cbsd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31458837,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cbsd","freebsd","freebsd-jail-manager","freebsd-jails","freebsd-zfs","reggae","zfs"],"created_at":"2024-11-18T06:19:50.979Z","updated_at":"2026-04-06T03:33:11.151Z","avatar_url":"https://github.com/krlex.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# FREEBSD with ZFS, CBSD and reggae\n\n## What is a ZFS?\n\nThe Z File System, or ZFS, is an advanced file system designed to overcome many of the major problems found in previous designs.\n\nOriginally developed at Sun™, ongoing open source ZFS development has moved to the OpenZFS Project.\n\nZFS has three major design goals:\n\n*    Data integrity: All data includes a checksum of the data. When data is written, the checksum is calculated and written along with it. When that data is later read back, the checksum is calculated again. If the checksums do not match, a data error has been detected. ZFS will attempt to automatically correct errors when data redundancy is available.\n\n *   Pooled storage: physical storage devices are added to a pool, and storage space is allocated from that shared pool. Space is available to all file systems, and can be increased by adding new storage devices to the pool.\n\n  *  Performance: multiple caching mechanisms provide increased performance. ARC is an advanced memory-based read cache. A second level of disk-based read cache can be added with L2ARC, and disk-based synchronous write cache is available with ZIL.\n \nREAD more information on [Freebsd ZFS](https://www.freebsd.org/doc/handbook/zfs.html)\n\n## What is CBSD?\n\nCBSD is a management layer written for the FreeBSD jail subsystem, bhyve and Xen. \nThe project is positioned as a single integrated tool of comprehensive solution for building and deploying virtual environments quickly with pre-defined software sets with minimal configuration.\n\nRead more here [CBSD.io](https://cbsd.io)\n\n## How use tool reggae?\n\n### Initialization\n\nInstall Reggae from ports or pkg:\n```\nmake -C /usr/ports/sysutils/reggae install\n```\nor\n```\npkg install -y reggae\n```\nInitialize PF, CBSD and ZFS dataset:\n\n```reggae network-init```  # it sets up PF, Unbound and SSH, which you should (re)start\n\n```reggae cbsd-init```\n\n```reggae master-init```   # creates resolver and dhcp jails\n\nIn most cases, the default config is acceptable, but if you want to change something `/usr/local/etc/reggae.conf` is the right place\n\n### Create service\n\nCreate simple service\n\n```\nmkdir myservice\ncd myservice\nreggae init\nmake\n```\nCreate service with shell and ansible provisioners\n\n```\nmkdir myservice\ncd myservice\nreggae init shell ansible\nmake\n```\n### Create project\n\nProject consists of multiple services\n\n```\nmkdir myproject\ncd myproject\nreggae project-init\n```\nResulting Makefile is this:\n```\nREGGAE_PATH = /usr/local/share/reggae\n#SERVICES = consul https://github.com/mekanix/jail-consul \\\n#      letsencrypt https://github.com/mekanix/jail-letsencrypt \\\n#      ldap https://github.com/mekanix/jail-ldap \\\n#      mail https://github.com/mekanix/jail-mail \\\n#      jabber https://github.com/mekanix/jail-jabber \\\n#      webmail https://github.com/mekanix/jail-webmail \\\n#      web https://github.com/mekanix/jail-web \\\n#      webconsul https://github.com/mekanix/jail-webconsul\n\n.include \u003c${REGGAE_PATH}/mk/project.mk\u003e\n```\nEvery service that is commented out is created using reggae init and edited to add extra functionality.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrlex%2Ffreebsd-cbsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrlex%2Ffreebsd-cbsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrlex%2Ffreebsd-cbsd/lists"}