On Wed, Dec 02, 2015 at 10:20:33PM -0800, Zac Medico wrote: > On 12/02/2015 03:49 PM, William Hubbs wrote: > > On Tue, Dec 01, 2015 at 03:28:44PM -0600, William Hubbs wrote: > > Here is where my thoughts are on this now. There will be a > > "-containers" keyword, which will expand to list all of the containers > > we can detect on the operating system OpenRC is running on -- for > > example, on Linux it might be: > > > > "-docker -lxc -openvz -rkt -systemd-nspawn -vserver" > > > > So any time you list -containers as a keyword it would expand > > appropriately. > > Sounds good. > > >> OpenRC currently doesn't do any detection of virtual machines, so maybe > >> that could be another expansion of this -- add a keyword "vm" and > >> keywords for the virtual machines. > > > > VM's will be a separate project that I will look at later. > > > > Thoughts? > > How about a bare-metal keyword?
In OpenRC, the keywords block services from running in the listed environments, so once I get the containers and vms implemented, bare metal would be something like: keyword -containers -vms the idea being that if it isn't a container or vm that I know how to detect, it is bare metal. William
signature.asc
Description: Digital signature