Recently I began experimenting with jails to contain VMs. I got stumped when I got to the installation and initialization of VirtualBox inside a jail. My vboxheadless startup would halt because I needed to modify the kernel.
For example, on a strait host install of virtualbox, the handbook advises:
https://www.freebsd.org/doc/handbook/virtualization-host-virtualbox.html
When we're installing hypervisors into jails, and need to modify the kernel to go with it, what is the preferred way to carry out the mod? Do I need to equip the jail host with every kernel mod needed by a jail? Do I need to follow with similar mods to the boot.conf and rc.conf of the jails that follow? Is it preferred to keep the kernel mods on the host and use the jails for the needed rc.conf?
I would generally prefer to have the jail host only run the jails. Any advice you might give could be helpful. Thanks.
For example, on a strait host install of virtualbox, the handbook advises:
Code:
vboxdrv_load="YES"
When we're installing hypervisors into jails, and need to modify the kernel to go with it, what is the preferred way to carry out the mod? Do I need to equip the jail host with every kernel mod needed by a jail? Do I need to follow with similar mods to the boot.conf and rc.conf of the jails that follow? Is it preferred to keep the kernel mods on the host and use the jails for the needed rc.conf?
I would generally prefer to have the jail host only run the jails. Any advice you might give could be helpful. Thanks.