@@ -230,8 +230,7 @@ func CreateProxy(in *Input) {
230
230
Type : api .InstanceTypeContainer ,
231
231
Source : api.InstanceSource {
232
232
Type : "image" ,
233
- Alias : "ubuntu/jammy" ,
234
- // Alias: "j",
233
+ Alias : "j" ,
235
234
},
236
235
InstancePut : api.InstancePut {
237
236
Profiles : []string {profile },
@@ -671,7 +670,6 @@ func PullImage(in *Input) {
671
670
672
671
for _ , server := range []string {
673
672
"https://images.lxd.canonical.com" ,
674
- "https://images.linuxcontainers.org" ,
675
673
"https://cloud-images.ubuntu.com/releases" ,
676
674
} {
677
675
in .T .Logf ("Pulling %q image from %s" , in .Image , server )
@@ -680,11 +678,6 @@ func PullImage(in *Input) {
680
678
in .T .Fatalf ("Failed to connect to image server: %v" , err )
681
679
}
682
680
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
-
688
681
alias , _ , err := remote .GetImageAlias (in .Image )
689
682
if err != nil {
690
683
in .T .Logf ("Failed to get image alias %s on %s: %v" , in .Image , server , err )
0 commit comments