Closed tomprince closed 8 years ago
Using /etc/default/zfs
IS the correct way to do it…
Unless you can come up with a better, smarter, faster way to do it, I'm closing this for now.
The variables in that file is environment variables and sourced fairly early on, anything one would type or use in a command line or the shells environment would be overruled by that file. There is already a stanza in there for this variable, but it's set to "no" by default. Change the file (either by editing it or echo a new value in there as you did).
It is currently possible to do this non-interactively, after a bit of searching:
but it would be nice if there was a more obvious way to do it. (This applies to spl too).