diff --git a/ibm/data_source_ibm_satellite_host_script.go b/ibm/data_source_ibm_satellite_host_script.go index 0e2faac5cb..c6e38b18b9 100644 --- a/ibm/data_source_ibm_satellite_host_script.go +++ b/ibm/data_source_ibm_satellite_host_script.go @@ -126,7 +126,11 @@ yum repolist all yum install container-selinux -y `) } else if strings.ToLower(hostProvider) == "google" { - lines[i] = "yum update -y" + lines[i] = fmt.Sprintf(`yum update --disablerepo=* --enablerepo="*" -y +yum repolist all +yum install container-selinux -y +yum install subscription-manager -y +`) } else { lines[i] = "subscription-manager refresh\nyum update -y\n" }