Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F162918106
D57771.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D57771.id.diff
View Options
diff --git a/documentation/content/en/books/handbook/jails/_index.adoc b/documentation/content/en/books/handbook/jails/_index.adoc
--- a/documentation/content/en/books/handbook/jails/_index.adoc
+++ b/documentation/content/en/books/handbook/jails/_index.adoc
@@ -818,6 +818,13 @@
crossref:jails[creating-thin-jail-openzfs-snapshots, Creating a Thin Jail Using OpenZFS Snapshots], but *without* performing the configuration.
FreeBSD Linux jails require a specific configuration that will be detailed below.
+Create an empty [.filename]#/etc/jail.conf# to prevent failures when trying to stop the jail:
+
+[source,shell]
+....
+# touch /etc/jail.conf
+....
+
Once the jail has been created as explained above, execute the following command to perform required configuration for the jail and start it:
[source,shell]
@@ -825,7 +832,7 @@
# jail -cm \
name=ubuntu \
host.hostname="ubuntu.example.com" \
- path="/usr/local/jails/ubuntu" \
+ path="/usr/local/jails/containers/ubuntu" \
interface="em0" \
ip4.addr="192.168.1.150" \
exec.start="/bin/sh /etc/rc" \
@@ -848,10 +855,10 @@
[source,shell]
....
-# jexec -u root ubuntu
+# jexec -u root ubuntu sh
....
-Inside the jail, execute the following commands to install package:sysutils/debootstrap[] and prepare the Ubuntu environment:
+Inside the jail, execute the following commands to install man:pkg[7] and package:sysutils/debootstrap[] to prepare the Ubuntu environment:
[source,shell]
....
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 19, 7:18 AM (9 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34286469
Default Alt Text
D57771.id.diff (1 KB)
Attached To
Mode
D57771: Bug 295777: A small number of corrections to the jail chapter
Attached
Detach File
Event Timeline
Log In to Comment