Skip to content
This repository was archived by the owner on Mar 28, 2018. It is now read-only.

Create "check" facility to validate environment #341

Open
jodh-intel opened this issue Oct 21, 2016 · 0 comments
Open

Create "check" facility to validate environment #341

jodh-intel opened this issue Oct 21, 2016 · 0 comments

Comments

@jodh-intel
Copy link
Contributor

The clear-linux-check-config.sh script [1] allows a user to run it with the container argument to determine if their host system is capable of running a Clear Container.

However, that script needs to be manually downloaded.

We should either add a script to the repo (and to EXTRA_DIST) that just includes the CC tests, or add a new check command to the runtime itself that provides the same level of checking.

Additional to the checks already done by [1], we should add:

  • Check for KSM (/sys/kernel/mm/ksm/run == 1) (recommended).
  • Check for vhost and vhost_net kernel modules (required).

[1] - https://download.clearlinux.org/current/clear-linux-check-config.sh

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants