Table of content
VirtualBox allows to run a full-operating system in an isolated process. The main advantages of VirtualBox are it’s availability on a wide range of platforms (Linux, FreeBSD, Windows, MacOSX), and its support for graphical card.
- VirtualBox
- phpVirtualBox
- Alternative: bhyve
Build information
Ensure the following options:
Using a bridge
or lagg
interface which as a WiFi interface as
member will not work as expected because most wireless adapters do not
support promiscuous mode.
Installation
If VirtualBox is to be used in the following conditions:
- standard user belonging to the
vboxusers
group - network is configured with bridged networks
The permissions on the device /dev/vboxnetctl
are too
restrictive and need to be changed:
1 2 |
|
This setting can be made permanent:
-
if the modules are loaded in
/boot/loader.conf
), by adding the following lines to/etc/devfs.conf
: -
if the modules are loaded using the
rc
startup scripts:
Guest
Debian
Rules dealing with interface numbering are automatically created as
udev rules at startup, the aim is to avoid renumbering interfaces.
Unfortunately if the VM is cloned it will result in the disappearing
of the network interface, as the MAC address has changed it is considered
as new interface and a new number is allocated, to avoid this
it is necessary to remove the file /etc/udev/70-...
.