Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit 36a72fc

Browse files
author
olevole
committed
12.1.11 relnotes
1 parent 7189706 commit 36a72fc

11 files changed

+152
-2
lines changed

en/about.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ <h1><span>About the project</span></h1>
1919
<h2><a name="features">Features&hellip;</a></h2>
2020
<div class="block">
2121
<ul>
22-
<li><a href="/<!--#echo var="lang" -->/cbsd_quickstart.html">Easy to start</a></p>
22+
<li><a href="/<!--#echo var="lang" -->/cbsd_quickstart.html">Easy to start</a></li>
23+
<li>do you like Vagrant style ? <a href="/<!--#echo var="lang" -->/cbsdfile.html">no problem!</a></li>
2324
<li><a href="https://clonos.tekroutine.com" target="_blank">WEB-interfaces for manage virtual environment</a> (see <strong>Installation on FreeBSD</strong> articles)</li>
2425
<li>support for ZFS feature system: ZFS quotes, ZFS send, ZFS snapshots and so on;</li>
2526
<li><a href="/<!--#echo var="lang" -->/articles/cbsd_with_dfs.html">lack of binding to ZFS</a>: CBSD works transparently on the UFS, HammerFS or any other FS: some of people use jail and bhyve on cluster filesystem such NFS, <a href="/<!--#echo var="lang" -->/articles/cbsd_jail_glusterfs.html">GlusterFS</a> and Ceph which is typical for DC and Failover</li>

en/cbsdfile.html

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!--# include file="_start.html" -->
2+
<!--# include file="currentver.html" -->
3+
<h2><a name="cmdfile">Using CBSDfile</a></h2>
4+
<div class="block">
5+
<p>You can use CBSDFile to create and destroy <strong>CBSD</strong> environments with a single command. If you are looking for Vagrant for jail or bhyve, you might like the native FreeBSD/CBSD mechanism.</p>
6+
<p>We did not begin to reinvent the wheel regarding the CBSDFile format and use a shell script-stype that is familiar to most people: describe your environment configuration in a function named jail_XXX or bhyve_YYY.
7+
One function - one environment. You can use any parameters from jcreate/jconstruct-tui/jconfig and bcreate/bconstruct-tui/bconfig commands.</p>
8+
<p>If you need to perform a series of actions when creating an environment, use the functions called postcreate_XXX.</p>
9+
</div>
10+
<h2><a name="cmdfile_sample">Example</a></h2>
11+
<div class="block">
12+
<p>Example for jail. Create a requirents.txt file in the directory - it will contain a list of pip modules for python, with the follow contents:</p>
13+
<pre>
14+
requests
15+
</pre>
16+
<p>Create a CBSDfile with the contents:</p>
17+
<pre>
18+
jail_pyjail1()
19+
{
20+
ip4_addr="DHCP"
21+
host_hostname="${jname}.example.com"
22+
pkg_bootstrap="1"
23+
pkglist="www/nginx python37 security/sudo security/ca_root_nss devel/py-pip devel/py-websockets"
24+
}
25+
26+
postcreate_pyjail1()
27+
{
28+
jscp ${CBSD_PWD}/requirements.txt ${jname}:/tmp/requirements.txt
29+
jexec jname=${jname} pip install -r /tmp/requirements.txt
30+
jexec jname=${jname} rm /tmp/requirements.txt
31+
}
32+
</pre>
33+
34+
<p>Lets create pyjail1:</p>
35+
<pre class="brush:bash;ruler:true;">
36+
cbsd up
37+
</pre>
38+
<p>or:</p>
39+
<pre class="brush:bash;ruler:true;">
40+
cbsd up pyjail1
41+
</pre>
42+
<p>For destroy pyjail1:</p>
43+
<pre class="brush:bash;ruler:true;">
44+
cbsd destory
45+
</pre>
46+
<p>or:</p>
47+
<pre class="brush:bash;ruler:true;">
48+
cbsd destroy pyjail1
49+
</pre>
50+
<p>Another sample of <a target="_blank" href=https://github.com/cbsd/cbsd/blob/develop/share/examples/cbsdfile/CBSDfile">CBSDfile</a></p>
51+
<p>See a demo of how this might look for hybrid environments with jail and bhyve being created at the same time.</p>
52+
<p class="text-center"><a target="_blank" href="/gif/cbsdfile.gif"><img src="/gif/cbsdfile.gif" alt="" width="800" height="600"/></a></p>
53+
</div>
54+
<!--# include file="_end.html" -->

en/docs.html

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ <h2><a name="jailsflow">Operation with jail</a></h2>
3737
<p><a href="/en/workflow_cbsd.html">Single file</a></p>
3838
<ul>
3939
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_jcreate_ssi.html">jail create via dialog menu</a> :: jcreate, jconstruct-tui</li>
40+
<li><a href="/<!--#echo var="lang" -->/cbsdfile.html">jail create via CBSDfile</a> :: up, destroy</li>
4041
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_jcreate_secondary_ssi.html">other methods of creating jail</a> :: jcreate, jconstruct</li>
4142
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_profiles_ssi.html">Profiles for jail creation</a> :: jcreate, jconstruct-tui</li>
4243
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_jconfig_ssi.html">jail config</a> :: jconfig</li>
@@ -86,6 +87,7 @@ <h2><a name="bhyveflow">Operation with virtual machine via bhyve</a></h2>
8687
<ul>
8788
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bcreate_ssi.html">VM create</a> :: bcreate, bconstruct-tui</li>
8889
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bhyve_cloudinit_ssi.html">bhyve cloud-init with CBSD</a> :: bconstruct-tui, cloudinit</li>
90+
<li><a href="/<!--#echo var="lang" -->/cbsdfile.html">bhyve create via CBSDfile</a> :: up, destroy</li>
8991
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bconfig_ssi.html">VM config</a> :: bconfig</li>
9092
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bexit_behavior_ssi.html">Custom behavior settings by exit codes</a> :: bconfig, bset, bconstruct-tui</li>
9193
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bstorage_ssi.html">bhyve virtual disk</a> :: bconfig, bset, bhyve-dsk</li>

en/news.html

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ <h2><a name="development">&nbsp;Development</a></h2>
1212
<p><em>If&nbsp;you want to&nbsp;experiment with the next version of&nbsp;<strong>CBSD</strong>, use <strong>git clone https://github.com/cbsd/cbsd.git</strong> for <strong>/usr/local/cbsd</strong></em></p>
1313
</div>
1414
<h2><a name="release">Releases</a></h2>
15+
<div class="block">
16+
<p><strong>12.1.11</strong>&nbsp;&mdash; 2020-05-15</p>
17+
<ul>
18+
<li>fixed jstop script to work correctly when the jails are on a bridge interface</li>
19+
<li><a href="/<!--#echo var="lang" -->/cbsdfile.html">CBSDfile</a>: up/destroy script: vagrant-like behavior</li>
20+
<ul>
21+
</div>
1522
<div class="block">
1623
<p><strong>12.1.10</strong>&nbsp;&mdash; 2020-05-06</p>
1724
<ul>

gif/cbsdfile.gif

10.9 MB
Loading

rss.xml

+12
Original file line numberDiff line numberDiff line change
@@ -827,5 +827,17 @@
827827
<guid>CBSD 12.1.10 available</guid>
828828
<pubDate>Wed, 06 May 2020 11:13:00 +0000</pubDate>
829829
</item>
830+
<item>
831+
<title>CBSD 12.1.11 available</title>
832+
<description>CBSD 12.1.11 release&lt;br /&gt;
833+
&lt;br /&gt;
834+
&lt;br /&gt;
835+
fixed jstop script to work correctly when the jails are on a bridge interface&lt;br /&gt;
836+
CBSDfile: up/destroy script: vagrant-like behavior&lt;br /&gt;
837+
</description>
838+
<link>https://www.bsdstore.ru/en/cbsdfile.html</link>
839+
<guid>CBSD 12.1.11 available</guid>
840+
<pubDate>Fri, 15 May 2020 11:50:00 +0000</pubDate>
841+
</item>
830842
</channel>
831843
</rss>

ru/about.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ <h1><span>О проекте</span></h1>
2121
<h2><a name="features">Особенности&hellip;</a></h2>
2222
<div class="block">
2323
<ul>
24-
<li><a href="/<!--#echo var="lang" -->/cbsd_quickstart.html">Легкий старт</a></p>
24+
<li><a href="/<!--#echo var="lang" -->/cbsd_quickstart.html">Легкий старт</a></li>
25+
<li>Любите Vagrant-like стиль? <a href="/<!--#echo var="lang" -->/cbsdfile.html">Не проблема!</a></li>
2526
<li><a href="https://clonos.tekroutine.com" target="_blank">WEB-интерфейс и&nbsp;централизованное управление окружениями;</a> (смотрите меню: <strong>Installation on FreeBSD</strong>)</li>
2627
<li>поддержка ZFS файловой системы, ZFS квот, ZFS снапшотов;</li>
2728
<li><a href="/<!--#echo var="lang" -->/articles/cbsd_with_dfs.html">отсутствие привязки к ZFS</a>: CBSD работает прозрачно на UFS, HammerFS или любой другой FS: некоторые пользовали запускают jail и bhyve на кластерных FS, таких как NFS, <a href="/<!--#echo var="lang" -->/articles/cbsd_jail_glusterfs.html">GlusterFS</a> и Ceph, что характерно для ДЦ и обеспечения failover</li>

ru/cbsdfile.html

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<!--# include file="_start.html" -->
2+
<!--# include file="currentver.html" -->
3+
<h2><a name="cmdfile">Использование CBSDfile</a></h2>
4+
<div class="block">
5+
<p>Вы можете использовать CBSDFile для создания и удаления окружений <strong>CBSD</strong> одной командой. Если вы ищите Vagrant для jail или bhyve, возможно вам понравится нативный FreeBSD/CBSD механизм.</p>
6+
<p>Мы не стали изобретать колесо относительно формата CBSDFile и используем привычную для большинства форму записи shell-сценарий: описывайте конфигурацию вашего приложения в функции с именем jail_XXX или bhyve_YYY.
7+
Одна функция - одно окружение. Вы можете использовать любые параметры из команд jcreate/jconstruct-tui/jconfig и bcreate/bconstruct-tui/bconfig.</p>
8+
<p>Если вам необходимо выполнить ряд действий при создании окружения, используйте функции postcreate_XXX.</p>
9+
</div>
10+
<h2><a name="cmdfile_sample">Примеры</a></h2>
11+
<div class="block">
12+
<p>Пример для jail. Создайте в каталоге файл requirents.txt - он будет содержать список pip модулей для python, с содержимым:</p>
13+
<pre>
14+
requests
15+
<p>Создайте CBSDfile с содержимым:</p>
16+
<pre>
17+
jail_pyjail1()
18+
{
19+
ip4_addr="DHCP"
20+
host_hostname="${jname}.example.com"
21+
pkg_bootstrap="1"
22+
pkglist="www/nginx python37 security/sudo security/ca_root_nss devel/py-pip devel/py-websockets"
23+
}
24+
25+
postcreate_pyjail1()
26+
{
27+
jscp ${CBSD_PWD}/requirements.txt ${jname}:/tmp/requirements.txt
28+
jexec jname=${jname} pip install -r /tmp/requirements.txt
29+
jexec jname=${jname} rm /tmp/requirements.txt
30+
}
31+
</pre>
32+
<p>Создайте pyjail1:</p>
33+
<pre class="brush:bash;ruler:true;">
34+
cbsd up
35+
</pre>
36+
<p>или:</p>
37+
<pre class="brush:bash;ruler:true;">
38+
cbsd up pyjail1
39+
</pre>
40+
<p>Удалите pyjail1:</p>
41+
<pre class="brush:bash;ruler:true;">
42+
cbsd destory
43+
</pre>
44+
<p>или:</p>
45+
<pre class="brush:bash;ruler:true;">
46+
cbsd destroy pyjail1
47+
</pre>
48+
<p>Еще один пример <a target="_blank" href=https://github.com/cbsd/cbsd/blob/develop/share/examples/cbsdfile/CBSDfile">CBSDfile</a></p>
49+
<p>Посмотрите демо как это может выглядеть для гибридных окружений с созданием jail и bhyve одновременно:</p>
50+
<p class="text-center"><a target="_blank" href="/gif/cbsdfile.gif"><img src="/gif/cbsdfile.gif" alt="" width="800" height="600"/></a></p>
51+
</div>
52+
<!--# include file="_end.html" -->

ru/docs.html

+2
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ <h2><a name="jailsflow">Работа с jail</a></h2>
3939
<p><a href="/ru/workflow_cbsd.html">Одним файлом: Работа с jail</a></p>
4040
<ul>
4141
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_jcreate_ssi.html">Создание jail через dialog меню</a> :: jcreate, jconstruct-tui</li>
42+
<li><a href="/<!--#echo var="lang" -->/cbsdfile.html">Создание jail через CBSDfile</a> :: up, destroy</li>
4243
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_jcreate_secondary_ssi.html">Другие методы создание jail</a> :: jcreate, jconstruct</li>
4344
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_profiles_ssi.html">Профили для создания jail</a> :: jcreate, jconstruct-tui</li>
4445
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_jconfig_ssi.html">Конфигурации jail</a> :: jconfig</li>
@@ -88,6 +89,7 @@ <h2><a name="bhyveflow">Работа с виртуальными машинам
8889
<ul>
8990
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bcreate_ssi.html">Создание VM через dialog меню</a> :: bcreate, bconstruct-tui</li>
9091
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bhyve_cloudinit_ssi.html">bhyve и cloud-init с CBSD</a> :: bconstruct-tui, cloudinit</li>
92+
<li><a href="/<!--#echo var="lang" -->/cbsdfile.html">Создание bhyve через CBSDfile</a> :: up, destroy</li>
9193
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bconfig_ssi.html">Конфигурации VM</a> :: bconfig</li>
9294
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bexit_behavior_ssi.html">Настройка поведения exit codes</a> :: bconfig, bset, bconstruct-tui</li>
9395
<li><a href="/<!--#echo var="lang" -->/<!--#echo var="version" -->/wf_bstorage_ssi.html">Работа с виртуальными дисками</a> :: bconfig, bset, bhyve-dsk</li>

ru/news.html

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ <h2><a name="development">&nbsp;Разработка</a></h2>
1212
<p><em>Если вы&nbsp;хотите поэкспериментировать со&nbsp;следующей версией <strong>CBSD</strong>, используйте <strong>git clone https://github.com/cbsd/cbsd.git</strong> для <strong>/usr/local/cbsd</strong></em></p>
1313
</div>
1414
<h2><a name="release">Релизы</a></h2>
15+
<div class="block">
16+
<p><strong>12.1.11</strong>&nbsp;&mdash; 2020-05-15</p>
17+
<ul>
18+
<li>fixed jstop script to work correctly when the jails are on a bridge interface</li>
19+
<li><a href="/<!--#echo var="lang" -->/cbsdfile.html">CBSDfile</a>: up/destroy script: vagrant-like behavior</li>
20+
<ul>
21+
</div>
1522
<div class="block">
1623
<p><strong>12.1.10</strong>&nbsp;&mdash; 2020-05-06</p>
1724
<ul>

xrss.xml

+12
Original file line numberDiff line numberDiff line change
@@ -827,5 +827,17 @@
827827
<guid>CBSD 12.1.10 available</guid>
828828
<pubDate>Wed, 06 May 2020 11:13:00 +0000</pubDate>
829829
</item>
830+
<item>
831+
<title>CBSD 12.1.11 available</title>
832+
<description>CBSD 12.1.11 release&lt;br /&gt;
833+
&lt;br /&gt;
834+
&lt;br /&gt;
835+
fixed jstop script to work correctly when the jails are on a bridge interface&lt;br /&gt;
836+
CBSDfile: up/destroy script: vagrant-like behavior&lt;br /&gt;
837+
</description>
838+
<link>https://www.bsdstore.ru/en/cbsdfile.html</link>
839+
<guid>CBSD 12.1.11 available</guid>
840+
<pubDate>Fri, 15 May 2020 11:50:00 +0000</pubDate>
841+
</item>
830842
</channel>
831843
</rss>

0 commit comments

Comments
 (0)