func (mdm *MdmRpmRhel7Mgr) EnvironmentSetup(state *types.ScaleIOFramework) (bool, error) {
	log.Infoln("EnvironmentSetup ENTER")
	aioErr := xplatform.GetInstance().Inst.IsInstalled("libaio")
	zipErr := xplatform.GetInstance().Inst.IsInstalled("zip")
	unzipErr := xplatform.GetInstance().Inst.IsInstalled("unzip")
	javaErr := xplatform.GetInstance().Inst.IsInstalled("java-1.8.0-openjdk")
	if aioErr != nil || zipErr != nil || unzipErr != nil || javaErr != nil {
		log.Infoln("Installing libaio1, zip, and java-1.8.0-openjdk")
		miscCmdline := "yum -y install zip unzip libaio java-1.8.0-openjdk"
		err := xplatform.GetInstance().Run.Command(miscCmdline, aiozipCheck, "")
		if err != nil {
			log.Errorln("Install Prerequisites Failed:", err)
			log.Infoln("EnvironmentSetup LEAVE")
			return false, err
		}
	} else {
		log.Infoln("libaio1, zip, and java-1.8.0-openjdk are already installed")
	}
	log.Infoln("EnvironmentSetup LEAVE")
	return false, nil
}
EnvironmentSetup for setting up the environment for ScaleIO
package rhel7
import (
	log "github.com/Sirupsen/logrus"
	xplatform "github.com/dvonthenen/goxplatform"
	mgr "github.com/codedellemc/scaleio-framework/scaleio-executor/executor/pkgmgr/mgr"
	types "github.com/codedellemc/scaleio-framework/scaleio-scheduler/types"
)
type MdmRpmRhel7Mgr struct {
	*mgr.MdmManager
}