explain how to install / uninstall

This commit is contained in:
Solène Rapenne 2023-06-10 10:50:22 +02:00
parent f67126c1f8
commit 8f561d8c9b

18
bin/README.md Normal file
View File

@ -0,0 +1,18 @@
# 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/vm.conf
- overwrite /etc/dhcpd.conf
- overwrite /etc/hostname.vether0
- overwrite /etc/hostname.bridge0
- rcctl enable vmd dhcpd
- 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.