Using OpenBSD as a host for VMs. Part 3. Setup after installation
Basic steps after installation
Apply patches
The first thing to do after installation is to apply all patches.
Run the following command:
syspatch
Then reboot the machine after the patches are applied successfully.
Create a user to manage VMs
In this step I’ll create a user to manage VMs.
Create the vmm user with the adduser command.

Add permissions
Create the doas.conf(5) configuration file:
cp /etc/examples/doas.conf /etc/doas.conf
Add the following line to the end of the file:
permit nopass vmm as root cmd vmctl
Save the file and exit the editor.