Skip to content

Commit 5a2e411

Browse files
Revert "chore: temporarily enable linuxcontainers.org for testing (#524) (#531)
Revert "chore: temporarily enable linuxcontainers.org for testing (#524)" This reverts commit 5ad0f98.
1 parent b760596 commit 5a2e411

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

e2e/cluster/cluster.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,7 @@ func CreateProxy(in *Input) {
230230
Type: api.InstanceTypeContainer,
231231
Source: api.InstanceSource{
232232
Type: "image",
233-
Alias: "ubuntu/jammy",
234-
// Alias: "j",
233+
Alias: "j",
235234
},
236235
InstancePut: api.InstancePut{
237236
Profiles: []string{profile},
@@ -671,7 +670,6 @@ func PullImage(in *Input) {
671670

672671
for _, server := range []string{
673672
"https://images.lxd.canonical.com",
674-
"https://images.linuxcontainers.org",
675673
"https://cloud-images.ubuntu.com/releases",
676674
} {
677675
in.T.Logf("Pulling %q image from %s", in.Image, server)
@@ -680,11 +678,6 @@ func PullImage(in *Input) {
680678
in.T.Fatalf("Failed to connect to image server: %v", err)
681679
}
682680

683-
// temporary workaround for the unavailable cloud-images.ubuntu.com.
684-
if strings.Contains(server, "linuxcontainers") && in.Image == "j" {
685-
in.Image = "ubuntu/jammy"
686-
}
687-
688681
alias, _, err := remote.GetImageAlias(in.Image)
689682
if err != nil {
690683
in.T.Logf("Failed to get image alias %s on %s: %v", in.Image, server, err)

0 commit comments

Comments
 (0)