From 9e14f0240e4720c76f0eb2648037514aac5b980c Mon Sep 17 00:00:00 2001 From: Gary Date: Mon, 23 Nov 2020 15:51:37 +0000 Subject: [PATCH] Add check for liveness on BOOT_HOST --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index f341963..7cf1b86 100644 --- a/Makefile +++ b/Makefile @@ -8,6 +8,7 @@ all: base packages files commands build-overlay base: @echo " * Building Base Image..." + @ping -qW 1 -c 1 $(BOOT_HOST) >/dev/null || ( echo " -- Unable to reach $(BOOT_HOST)" && exit 1 ) @mkdir -p tmp base @echo " -- Gathering base package info" @wget -q $(MIRROR)/x86_64/ -O tmp/alpine-packages.html