From e8c002c35526881c550b0a0506389fa6e424dea7 Mon Sep 17 00:00:00 2001 From: Gerrit Date: Fri, 3 May 2024 15:36:52 +0200 Subject: [PATCH] Pull sonic image when baking the partition. (#165) This makes sure everybody has the latest version. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 679dd0b3..46515100 100644 --- a/Makefile +++ b/Makefile @@ -80,7 +80,9 @@ partition: partition-bake .PHONY: partition-bake partition-bake: docker pull $(MINI_LAB_VM_IMAGE) - +ifeq ($(MINI_LAB_FLAVOR),sonic) + docker pull $(MINI_LAB_SONIC_IMAGE) +endif @if ! sudo $(CONTAINERLAB) --topo $(LAB_TOPOLOGY) inspect | grep -i leaf01 > /dev/null; then \ sudo --preserve-env $(CONTAINERLAB) deploy --topo $(LAB_TOPOLOGY) --reconfigure && \ ./scripts/deactivate_offloading.sh; fi