I've seen several people writing here about using different kinds of network configuration depending upon where they are. This is fine and dandy, but for the more general case is there a simple mechanism for switching system configurations depending on "environment"?
I use Xen a lot on my systems, but sometimes I boot into a normal kernel.
If I'm running a normal kernel I want to use the non-free nvidia driver for X, since this has better performance when viewing DVDs, etc.
If I'm running Xen I need to use the free nv driver, since the non-free driver isn't available.
Can I make this switch automatically?
I could add an init script to symlink the right file into place depending on whether xend is running, but that just seems fragile and suboptimal.
No tags No comments