added support for Solaris containers (virtual machines), small variable fixes