Skip to content

Commit

Permalink
Disable zypper repos on suse step-by-step e2e tests (#26641)
Browse files Browse the repository at this point in the history
  • Loading branch information
alopezz committed Jun 12, 2024
1 parent 843e951 commit 751a8b9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,10 @@ func (is *stepByStepSuite) StepByStepSuseTest(VMclient *common.TestClient) {
fileManager := VMclient.FileManager
var err error

// Disable all existing non-datadog repos to avoid issues during refresh (which is hard to prevent zypper from doing spontaneously);
// we don't need them to install the Agent anyway
ExecuteWithoutError(nil, VMclient, "sudo rm /etc/zypp/repos.d/*.repo")

fileContent := fmt.Sprintf("[datadog]\n"+
"name = Datadog, Inc.\n"+
"baseurl = %s\n"+
Expand Down

0 comments on commit 751a8b9

Please sign in to comment.