[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[atomic-devel] Determining if a host is an atomic host



I'm working on docker-machine integration for atomic host's. The
problem I'm facing is the fact that "atomic" isn't defined under
/etc/os-release, simply "fedora" or "centos".

At the moment the only viable way to determine if an OS is an atomic
host or not would be 'ls /ostree' or 'rpm-ostree status' (correct me
if I'm wrong).

Is there a possibility to add a description to /etc/os-release in
order to determine if this is an atomic host or not? Creating a
standardized way for scripts (Ansible, docker machine, etc.) to detect
if this is an atomic host or not?

I did try 'uname -r' as well to try and see if there was a
specifically named kernel version, but it's not either.

Best regards,
-- 

Charlie Drage
Red Hat - OSAS Team / Project Atomic
4096R / 0x9B3B446C
http://pgp.mit.edu/pks/lookup?op=get&search=0x622CDF119B3B446C


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]