settings not sicking
So changes I make as well as installed stuff does not stick after a reboot.
I added samba and sleeptest cli and after a reboot it is all gone...
Anyway to no have it wipe everything?
I am on 1.971 alpha and thought that was going to help but nope...
-
I haven't tested yet but ~/pi should persist and you can add scripts loaded at boot time under:
/home/pi/.firewalla/config/post_main.d
-
You can make that directory if it is not there. And you need to be on early release https://help.firewalla.com/hc/en-us/articles/360052804993
If you have binaries, we recommend to install them in ~pi, the content there will persist. As of apt ... at the moment, no, we try to discourage using that. But if you know how to do bash, you can easily script something and have apt installed via the post_main.d every time.
Also a quick reminder, the post_main.d is called when ever the box starts, or the firewalla stack get reloaded. So please do assume there is a chance what ever you are doing likely already loaded, so please do the proper clean up. (We will provide better guides and also documentation soon).
-
@FF
We try to encourage people to install stuff in dockers, since it is the most clean way to do things. But, if there are thing that can not be docker (things requires direct network access ... for example tshark), it may make sense just dynamically install these things in that script. (using apt-get ... )
Please sign in to leave a comment.
Comments
6 comments