Skip to content

Commit

Permalink
add allow_mount_linsysfs doc
Browse files Browse the repository at this point in the history
  • Loading branch information
dgeo committed Jun 14, 2024
1 parent 531f4e9 commit 6959067
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion doc/source/debian.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@ NAME!
.. code-block:: none
# iocage create -e -n debjail exec_start="/bin/true" exec_stop="/bin/true"
allow_mount_linprocfs=1 allow_mount_devfs=1 allow_raw_sockets=1
allow_socket_af=1 allow_mount_linsysfs=1 allow_mount=1
**Install devfs rules for vnet:**

In `/etc/devfs.rules`:

.. code-block:: none
[devfsrules_jail_linux=6] add include $devfsrules_hide_all
add include $devfsrules_unhide_basic
add include $devfsrules_unhide_login
add path 'tun*' unhide
add path 'bpf*' unhide
add path zfs unhide
**Install debootstrap on the host:**

Expand All @@ -33,7 +48,7 @@ NAME!

:samp:`# iocage get mountpoint debjail`

:samp:`# debootstrap buster /iocage/jails/debjail/root/`
:samp:`# debootstrap bookworm /iocage/jails/debjail/root/`

Apart from Debian releases, like *buster* or *testing*, you can
also use Ubuntu releases, eg *bionic*.
Expand Down

0 comments on commit 6959067

Please sign in to comment.