On Sun, August 5, 2007 5:15 pm, Matthew Dillon wrote: > Things start to get confusing when you pile on the features. Instead > we might want to go to a kernel environment 'variable=data' style > syntax. > > In fact, how about a way to specify an out-of-band /boot/loader.conf > file on the command line?
Would it be worth establishing a /etc/vkernel.conf file that contains different profiles (selecting DHCP, which /boot/loader.conf, etc) in the simple 'x=y' format above? Given profiles could be grouped by name in that file, and then the name of the profile could be supplied as the argument to the vkernel, saving a lot of typing. Multiple vkernels with the same profile can then be created by specifying a class instead of explicit options every time, and we can ship with a default profile.
