opnsense-ports/emulators/xen-kernel/pkg-message
Franco Fichtner 7f64a4e5f9 */*: sync with upstream
Taken from: HardenedBSD
2019-04-22 21:23:52 +02:00

14 lines
446 B
Text

Please add the following entries in order to boot the xen kernel
In /etc/sysctl.conf:
vm.max_wired=-1
In /etc/ttys:
xc0 "/usr/libexec/getty Pc" xterm on secure
In /boot/loader.conf for a dom0 with 2G memory and 4 vcpus:
xen_kernel="/boot/xen"
xen_cmdline="dom0_mem=2048M dom0_max_vcpus=4 dom0=pvh com1=115200,8n1 guest_loglvl=all loglvl=all"
Add to the above xen_cmdline in order to activate the serial console:
console=com1