openkubsd/bin/README.md
2023-06-14 13:38:00 +02:00

598 B

Host setup

  1. add the openkubsd anchor in /etc/pf.conf
  2. run ./setup.sh as root

Setup information

OpenKuBSD will store everything in /var/openkubsd/, and make a few changes in /etc/

  • overwrite /etc/exports
  • overwrite /etc/vm.conf
  • overwrite /etc/dhcpd.conf
  • overwrite /etc/hostname.vether0
  • overwrite /etc/hostname.bridge0
  • rcctl enable vmd dhcpd portmap mountd nfsd
  • add net.inet.ip.forwarding=1 to /etc/sysctl.conf
  • modify /etc/hosts at the end of the file, after an automatically added comment # OpenKuBSD

If you want to remove OpenKuBSD, undo the changes above.