Skip to content

Commit

Permalink
Fix Enterprise Linux Recipe-Steps tests to install info dependency pa…
Browse files Browse the repository at this point in the history
…ckage in the startup-script (#530)
  • Loading branch information
MahmoudNada0 authored Jan 26, 2024
1 parent 7fd6bfd commit 6ce976b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion e2e_tests/test_suites/guestpolicies/guest_policies_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,11 @@ while ($true) {
case "apt":
script = fmt.Sprintf("%s\n%s\n%s", utils.InstallOSConfigDeb(), waitForRestartLinux, scriptLinux)
case "yum":
script = fmt.Sprintf("%s\n%s\n%s", utils.InstallOSConfigEL(image), waitForRestartLinux, scriptLinux)
// A dependancy package for ed-1.1-3.3.el6.x86_64.rpm which is used in Enterprise-Linux Recipe steps tests
yumInstallInfoPackage := `
yum install -y info
`
script = fmt.Sprintf("%s\n%s\n%s\n%s", yumInstallInfoPackage, utils.InstallOSConfigEL(image), waitForRestartLinux, scriptLinux)
case "zypper":
script = fmt.Sprintf("%s\n%s\n%s", utils.InstallOSConfigSUSE(), waitForRestartLinux, scriptLinux)
case "googet":
Expand Down

0 comments on commit 6ce976b

Please sign in to comment.