diff --git a/README.md b/README.md index 72314f1..5b748ab 100644 --- a/README.md +++ b/README.md @@ -21,15 +21,15 @@ wget https://github.com/miguelangel-nubla/WireGuard-CoreOS/releases/download/lat jq '.value.images += [{ "name": "WireGuard", "reference": "'CoreOS_${VERSION_ID}'" }]' /usr/share/torcx/profiles/vendor.json > /etc/torcx/profiles/wg.json ``` * `echo wg > /etc/torcx/next-profile` -* Reboot. WireGuard should be available in `/run/torcx/bin/wg` -* Load kernel modules +* Reboot. WireGuard should be available in `/run/torcx/bin/wg`. Installation is done. +* After each reboot and before using wireguard you should load the required kernel modules: ``` source /run/metadata/torcx /sbin/modprobe ip6_udp_tunnel /sbin/modprobe udp_tunnel /sbin/insmod ${TORCX_UNPACKDIR}/WireGuard/lib/modules/$(uname -r)/extra/wireguard.ko ``` -* Done. Load you config with `/run/torcx/bin/wg-quick` +* Load you config with `/run/torcx/bin/wg-quick` ## How to handle CoreOS updates The `/etc/wireguard-setup` script at [the example Container Linux Config](container_linux_config.yml) will try to fetch the torcx package for the new CoreOS version.