README update

This commit is contained in:
yo 2024-04-20 20:37:50 +02:00
parent 18d35b9224
commit ce79783540

View File

@ -22,13 +22,9 @@ gocage create jail1 -r 13.2-RELEASE
gocage set Config.Ip4_addr="vnet0|192.168.1.91/24" Config.Vnet=1 jail1
</code></pre>
Create basejail (jail based on a template, system will be nullfs read-only mounted from the template):
Create basejail (jail based on a release, system will be nullfs read-only mounted from the release directory):
<pre><code>
# First create basetpl from 13.2-RELEASE, set it as a template
gocage create -r 13.2-RELEASE basetpl
gocage set Config.Jailtype="template" basetpl
# Then create basejail1 based on basetpl
gocage create -b basetpl basejail1
gocage create -b -r 14.0-RELEASE basejail1
</code></pre>