Skip to content

Commit 08c30d2

Browse files
authored
Fix image load in SRIOV SecondaryNetwork e2e test script (#7085)
Signed-off-by: Wenqi Qiu <[email protected]>
1 parent 0cd2eed commit 08c30d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/test-sriov-secondary-network-aws.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ function upload_and_load_image() {
366366

367367
# SSH into the node and load the image
368368
ssh -o StrictHostKeyChecking=no -i "$AWS_EC2_SSH_KEY_NAME" ubuntu@"$node_ip" << EOF
369-
sudo ctr images import /home/ubuntu/$(basename "$image_path")
370-
sudo ctr images ls
369+
sudo ctr -n=k8s.io images import /home/ubuntu/$(basename "$image_path")
370+
sudo crictl images | grep antrea
371371
# remove the tarball after loading
372372
sudo rm /home/ubuntu/$(basename "$image_path")
373373
EOF

0 commit comments

Comments
 (0)