Skip to content

Commit

Permalink
Pull sonic image when baking the partition.
Browse files Browse the repository at this point in the history
This makes sure everybody has the latest version.
  • Loading branch information
Gerrit91 committed May 3, 2024
1 parent c933855 commit a63b581
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a63b581

Please sign in to comment.