diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c index 6dfa4235..f01d1f89 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -179,6 +179,8 @@ env_config(void) sys = detect_container(); if (!sys) sys = detect_vm(); + + if (sys) setenv("RC_SYS", sys, 1); #ifdef PREFIX