mak3r / turnkey

turnkey operations from containers - prebuilt images with k3s running hosting the setup container
Apache License 2.0
9 stars 2 forks source link

[RFE] Add reset capability #8

Closed mak3r closed 4 years ago

mak3r commented 4 years ago

Create the ability to reset the entire system back to it's preconfigured turnkey state.

This should be able to be accomplished simply by the user adding a file to the /boot directory which will be identified by a systemd process and rest the appropriate functionality so that when the system reboots, it requires the user to setup the wifi network again.

Currently this should include restoring the resolv.conf at /var/lib/rancher/turnkey (which is modified by the wifi container).